MySQL++

Check-in [7955e40246]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Converted the plain-text ChangeLog file to Markdown format, adding only as much formatting as needed to avoid rendering problems in Vim's markdown mode and in Fossil's web rendering. Updated all source code and documentation input file references to the file to now use "ChangeLog.md". (References from Fossil wiki documents will be updated next.)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:7955e40246908221875e13b3410b6579b02fdd6d9b87fe0bc253000cc5fef0c4
User & Date: tangent 2018-07-26 15:25:06
Context
2018-07-26
15:31
Removed the Subversion revision numbers from the ChangeLog entries, since the Subversion repo it refers to is no longer available. check-in: 775aba61ff user: tangent tags: trunk
15:25
Converted the plain-text ChangeLog file to Markdown format, adding only as much formatting as needed to avoid rendering problems in Vim's markdown mode and in Fossil's web rendering. Updated all source code and documentation input file references to the file to now use "ChangeLog.md". (References from Fossil wiki documents will be updated next.) check-in: 7955e40246 user: tangent tags: trunk
07:13
Removed Wishlist file: a subset of its contents is now in the Fossil wiki and ticket trackers. Dropped items are those we probably will never get to. If they come up again, they can be added as tickets. check-in: dd35735f4f user: tangent tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to CREDITS.txt.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
..
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
MySQL++ was created by Kevin Atkinson during 1998.  From version
1.0 (released in June 1999) through 1.7.9 (May 2001), the primary
maintainer was Sinisa Milivojevic <sinisa@mysql.com>.  Neither Kevin
nor Sinisa are currently involved in MySQL++ development.  The current
maintainer is Warren Young <mysqlpp@etr-usa.com>, starting with
version 1.7.10 in August of 2004.

For a fuller account of the library's history, see the first chapter
of the user manual.  For the nitty-gritty details, see the ChangeLog
in the root package directory.  ChangeLog items since 1.7.9 that
aren't attributed to anyone else were done by Warren Young.


Other contributors of note since 1.7.10:

    Chris Frey <cdfrey@foursquare.net>: Lots of GCC warning fixes
    for the bleeding-edge compiler versions, Gentoo ebuild support,
................................................................................
        object (ie SQLQuery).

    Sinisa Milivojevic - For becoming the new offical maintainer.

    D. Hawkins and E. Loic for their autoconf + automake contribution.


See the ChangeLog for further credits, and details about the differences
between the many versions of this library.


Please do not email any of these people with general questions about
MySQL++. All of us who are still active in MySQL++ development read the
mailing list, so questions sent there do get to us:

    http://lists.mysql.com/plusplus

The mailing list is superior to private email because the answers are
archived for future questioners to find, and because you are likely to
get answers from more people.







|
|
|







 







|
|











1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
..
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
MySQL++ was created by Kevin Atkinson during 1998.  From version
1.0 (released in June 1999) through 1.7.9 (May 2001), the primary
maintainer was Sinisa Milivojevic <sinisa@mysql.com>.  Neither Kevin
nor Sinisa are currently involved in MySQL++ development.  The current
maintainer is Warren Young <mysqlpp@etr-usa.com>, starting with
version 1.7.10 in August of 2004.

For a fuller account of the library's history, see the first chapter of
the user manual.  For the nitty-gritty details, see the ChangeLog.md
file in the root package directory.  Change log items since 1.7.9 that
aren't attributed to anyone else were done by Warren Young.


Other contributors of note since 1.7.10:

    Chris Frey <cdfrey@foursquare.net>: Lots of GCC warning fixes
    for the bleeding-edge compiler versions, Gentoo ebuild support,
................................................................................
        object (ie SQLQuery).

    Sinisa Milivojevic - For becoming the new offical maintainer.

    D. Hawkins and E. Loic for their autoconf + automake contribution.


See the ChangeLog.md file for further credits and details about the
differences between the many versions of this library.


Please do not email any of these people with general questions about
MySQL++. All of us who are still active in MySQL++ development read the
mailing list, so questions sent there do get to us:

    http://lists.mysql.com/plusplus

The mailing list is superior to private email because the answers are
archived for future questioners to find, and because you are likely to
get answers from more people.

Name change from ChangeLog to ChangeLog.md.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161


































































































































3.2.3, 2016.12.29 (r2790)

    o Now using snprintf() instead of _snprintf() on Visual C++ 2015.

    o Cygwin changed its naming for the MySQL C API library since the
      last time we successfully tried building MySQL++ there.  Reworked
      the autoconf detection macro to make it less dependent on such
      individual platform differences.

      The macro is in fact now entirely side-effect-free, just setting
      MYSQL_C_* variables that the top-level Bakefile uses when and
      as it needs them, rather than expecting that major variables
      like CPPLFAGS and LIBS were overridden by the autoconf macro.
      This makes the autoconf case more like that of the non-autoconf
      Bakefile outputs.

    o Squished a Clang warning


3.2.2, 2015.03.18 (r2780)

    o The DBDriver::operator= would leak a live connection if you
      assigned a disconnected DBDriver to it.  Patch by Quentin Armitage.

    o Plugged a potential DBDriver instance leak in Connection ctor.
      Patch by Yury Alekseev.

    o Explicitly #including algorithm.h in examples/multiquery.cpp for
      std::max().

    o Added missing "break;" statements in Transaction ctor taking an
      isolation level parameter, which caused only the last one to do
      the right thing.  Problem noticed by Tony Whyman, fix by me.

    o The bootstrap script now checks for the existence of needed build
      tools before trying to use them.  This lets us emit a clearer
      error message than the shell will.  Original patch by Adrian
      Cornish.

    o Fixed a build problem related to std::min/max with Visual C++ 2013
      due to a change in the definitions provided by its header files.

    o Tracked several changes made to Connector/C made since 3.2.1.

    o Assorted documentation updates.

    o Generating HTML with UTF-8 encoding, not 8859-1


3.2.1, 2013.12.10 (r2756)

    o Connection copy ctor wasn't copying the "throw exceptions"
      flag.  The copy always had exceptions enabled.

    o The resetdb example would print a bogus message about logging in
      as '1'@'1' instead of showing the actual values passed on the
      command line.  This did not affect how it actually logged in.

    o Previous release tarball was missing a few text files present in
      the source repository.

    o Updated build paths for VC++ and MinGW to track a file layout
      change in Connector/C 6.1.2.


3.2.0, 2013.06.20 (r2747)

    o References to MySQL 5.1 have been replaced with 5.6, that
      being the current GA release.

    o All Windows builds now assume you're using Connector/C 6.1
      instead of having installed the MySQL server on your machine
      just to get development files.  If you are running a MySQL
      server on your development machine and don't want to install
      Connector/C just to make MySQL++ happy, see the README-*.txt
      file for your platform to get instructions on fixing the paths
      so the build system finds the development files under the MySQL
      server directory.

    o The generated VC++ 2008 project files now assume you want 64-bit
      executables.  (It is 2013 now, after all.)

      Since the VC++ 2005 project files continue to be configured for
      32-bit builds, the easiest way to get a 32-bit project in VC++
      2008+ is to import the VC++ *2005* project files, rather than
      adjust the build target settings of all 44 vc2008/*.vcproj
      files within the IDE.

      See README-Visual-C++.txt for more on this change.

    o Added Query::replacefrom(): like insertfrom() but it uses
      REPLACE statements instead of INSERT.  Patch by Adrian Cornish.

    o Added support for SQL "unsigned float" columns.  Patch by
      Leonardo Lang.

    o Added "abicheck" top-level build target, which runs the
      ISPRAS ABI checker tool (http://goo.gl/e19lD) against
      a predecided "ABI-stable" version of MySQL++, comparing it
      against the current version.  This should help avoid future
      unplanned ABI breakages, as happened between 3.0.9 and 3.1.0.

      We have chosen not to revert those changes that broke the ABI,
      but instead have chosen to accept the 3.1.0 ABI as the new
      stable ABI for the rest of the 3.x series.  Running the ABI
      checker is now part of the release process, so we should not
      change the ABI again until 4.0!

    o The Query::insert() and replace() overloads that take a pair
      of iterators now work with containers that only provide forward
      iterators.  Idea by Adrian Cornish.

    o Using libtool again on Autotools systems.  It gives us
      relocatable libraries, which is needed in some linking
      situations.  Patch by Adrian Cornish.

    o VC++ release builds now have optimization enabled.  This might
      also affect other toolchains that create separate Debug and
      Release builds, if Bakefile obeys the directive for those
      systems.  (Such as, perhaps, Xcode.)  Initial patch by Matthew
      Bradbury.

    o Fixed a crash in CommandLine mechanism when the usage message is
      called up for programs that have no "extra" parameter and
      corresponding usage appendage.  Initial patch by "Crazy Pete".

    o Query::storein() now tolerates empty result sets, due either to
      DBMS failure or passing a query that never returns results,
      such as INSERT.

    o Exposed DBDriver::result_empty() as Query::result_empty().  We
      did this primarily because it was needed as a helper for the
      previous fix, but it could also be useful more broadly.

    o Added -Wextra to the pedantic build flags.

    o Fixed the "escape" manipulator so it will work with Null<>
      wrapped types.  Patch by "Kemet".

    o ssqls2parse now depends on libmysqlpp.  (It wasn't getting
      relinked when you changed the library.)

    o The configure script's test for the existence of mysql_ssl_set()
      got broken by a change in the mysql_loc.m4 test, causing it to
      always return "no" even if the platform's MySQL C API library did
      have the function.  Therefore, the SslOption could never be set.
      Fixes this bug: stackoverflow.com/questions/7794408

    o Fixed a missing a "buried headers" ifdef wrapper for
      type_info.cpp.  Patch provided by Xavier Richez.

    o We now export the DBDriver class from the MySQL++ DLL when
      building on Windows.  Client programs can now access it directly,
      instead of being able to access only the fields and members
      exposed through Connection and Query.  Fix suggested by Xavier
      Richez.

    o MinGW builds no longer require that you manually create an import
      library for the MySQL C API DLL from a .def file we provide,
      which would inevitably get outdated.  We can now link directly to
      the DLL, and rely on the MinGW linker to figure out the imports.

    o Split the -l flags out of LDFLAGS in the userman's example
      Makefiles.  They're now in LDLIBS, which causes them to be
      put after -o $(EXE) by the default GNU make rules, where they
      should be.

    o Assorted documentation and build system improvements.

    o Assorted fixes for newer GCCs.


3.1.0, 2010.06.03 (r2670)

    o Default MySQL version now 5.1, having entered GA since 3.0.9.

    o Lots of platform updates tracked, lots of warnings from newer
      compilers squished.  Most by me, some by Adrian Cornish.

    o Added Query::insertfrom(), plus associated classes SQLStream,
      NoTransactions, and the InsertPolicy hierarchy.  Also adds
      examples/ssqls6.cpp, which shows how to use this new feature.
      Thanks for this feature go to Rick Gutleber, except for
      RowCountInsertPolicy, by me.

    o Added comparison operators to tiny_int<T>.  Thanks for this patch
      go to Edward Diener.

    o Added SQLTypeAdapter::is_null().  This lets you retrieve a
      nullable column from the DB, then re-insert a value from that
      column back into the DB via a template query without explicit
      checks for null-ness; it will do the right thing now.

    o Added -f flags to lib/*.pl header file generating scripts to
      allow overriding the default limit of 25 fields for tqueries
      and SSQLSes without having to edit the file, as in previous
      versions of MySQL++.  Also added --with-field-limit option to
      the configure script so you can give both -f options at once
      during the build process.  This latter is especially useful
      for automated binary package builders.

    o The file lib/querydef.h (generated by lib/querydef.pl) now
      defines the MYSQLPP_TQUERY_MAX_PARAMETERS macro, giving the
      maximum number of parameters the functions in the generated file
      allow for template queries.  Similarly, lib/ssqls.h (generated
      by lib/ssqls.pl) defines MYSQLPP_SSQLS_MAX_MEMBERS.

    o Added ConnectionPool::safe_grab(), which pings the grabbed
      connection before returning it.  If the ping fails, we remove
      the dead connection from the pool and try again.  This doesn't
      eliminate the possibility of returning a dead connection;
      there is no protection against race conditions.  It is merely
      a best-effort attempt.

    o Added ConnectionPool::remove(Connection*), which removes a
      connection from the pool.

    o Added ConnectionPool::exchange(), which wraps remove()
      and grab().  It works like a customer support counter in a
      store: "I'm sorry, but this Connection is defective.  Can I
      have another, please?"

    o Added a feature to Transaction, where it can send a SET
      TRANSACTION ISOLATION LEVEL query before it starts the
      transaction proper, affecting the isolation level and the scope
      of that change.

    o Added ScopedConnection class.  Initial version by Joel Fielder,
      lots of changes by me.  Using it instead of explicit safe_grab()
      and release() calls on the pool in examples/cpool.cpp.

    o Added FieldNames::operator[](size_type) overloads.  This is
      necessary to correctly overload the base class versions inherited
      from std::vector.

    o FieldNames wasn't doing field-by-name matches case insentitively,
      most likely since 3.0.0 when we changed it to derive from
      std::vector.  This caused SSQLS (at least) to be case sensitive.
      Fixed this and renamed the stock.sdate field in the SSQLS
      examples to stock.sDate to test this.

    o Added Query::replace(iter, iter), on the model of existing
      insert(iter, iter).  Thanks for this patch go to David Walthour.

    o Added Query::operator!(), overriding basic_ios version so that
      "if (!query)" does the right thing.  Fixes problem report in
      thread http://lists.mysql.com/plusplus/8594

    o Query copy ctor and assignment operator now perform deeper
      copies, so you can pass Query objects around in certain ways
      that used to cause crashes.  Thanks for this patch go to Steven
      Van Ingelgem.

    o Defined *_null variants for every sql_* typedef, wrapping
      all those earlier types in Null<>.  All example programs now use
      these types instead of explicit Null<>-wrapped types.

    o Created a C++ command line parsing mechanism for the examples
      today, and for programs coming in the future.  It uses the
      platform version of getopt() if available, substituting a
      public-domain implementation that gets built into MySQL++
      itself otherwise.  It's documented in the refman -- see
      the CommandLineBase class -- but it's in the newly created
      mysqlpp::internal namespace, which means we don't promise any
      sort of ABI or API stability for it.  You're welcome to use it
      in your own programs, but expect it to change without warning.

    o Added a few missing MYSQLPP_EXPORTs to operator<<()s for stream
      manipulators, to allow their use when MySQL++ is built as a DLL.

    o Added backticks around table and column identifiers in all
      code paths exercised by dtest.  There are some others remaining,
      particularly things like Row::field_list().  Thanks for this
      patch go to Adrian Cornish.

    o Added mysqlpp::NOW() which returns a value that, when inserted
      into a SQL query, results in a call to SQL's NOW() function.
      DateTime::now() -- added in 3.0.0 -- does the same thing,
      but this is shorter and matches the SQL syntax.

    o Calling DBDriver::disconnect() twice no longer calls
      mysql_close() twice.

    o Worked around a weakness on Windows that caused problems in code
      with a connect(), disconnect(), connect() call pattern, when
      also using a named pipe to connect to the DB.  (There never
      has been a problem with this on other platforms or with other
      IPC mechanisms.)

    o Initializing a SQLTypeAdapter with a floating-point value
      equal to infinity or NaN results in SQL null if the type
      is also nullable, or 0 otherwise.  Previously, we got an
      implementation-defined string, which could give invalid SQL,
      or could give 0, a different value from NaN, infinity, or
      SQL null.  This does collapse the notions of NaN and infinity,
      but the MySQL reference manual doesn't say how you're supposed
      to preserve these differences.

    o Removed the dependency of stadapter.h on sql_types.h, just to get
      sql_tinyint*.  #including tinyint.h instead, and using equivalent
      types to what sql_types.h defines.  This is necessary because
      sql_types.h should be one of the last things included from
      mysql++.h, so that it can define sql_* equivalents for everything
      else in MySQL++, which means all those other things need to be
      #included by that point.

    o The "find MySQL++" autoconf macro (config/mysql++.m4) now
      searches for the library in lib64 subdirectories everywhere it
      also looks in lib.  We did this for the C API finder macro way
      back in MySQL++ 2.2.0, and only neglected to do it for this
      macro because it's not used by MySQL++ itself, just provided
      as a courtesy to MySQL++ users that also use autoconf.

    o Also improved the "find C API" macro (config/mysql_loc.m4)
      so it, too, is more useful in third-party projects.

    o Moved private FieldNames::str_to_lwr() method out into its
      own module, in the new mysqlpp::internal namespace, so other
      modules can use it.  Also added an overload for this new global
      method taking std::string instead of char*.

    o userman build process can now find FOP when installed from
      the standard Ubuntu/Debian package repository.

    o No longer generating refman.pdf.  It's difficult to generate
      properly on some platforms, and isn't all that useful anyway
      compared to the HTML version, which builds properly everywhere.

    o Dropped custom.h backwards-compatibility header.  (Deprecated
      over a year ago in MySQL++ 3.0.0.)

    o Fixed a bad pointer access crash in Connection::set_option()
      triggered when the option set call fails.  Thanks for this
      patch go to Kevin Regan.

    o ReconnectOption behavior now knows about a fix in MySQL 5.1.6 and
      newer that lets you set it either before the connection is up,
      or after.  If you try to set this option when MySQL++ is built
      against earlier versions of the MySQL C API, it will refuse to
      set the option because it knows the option will be reset when
      the connection comes up.

    o No longer trying to make the C API library read from a "my"
      options file before connect.  It does that by default, and
      the file is supposed to be .my.cnf anyway.

    o Reworked the load_jpeg example code for clarity, extracting
      load_jpeg_file() routine as an implementation detail and
      making that use the C++ stringstream "slurp into string" idiom
      instead of allocating a C char buffer and copying that into
      a std::string.

    o Restored support for repeating query parameters.  Apparently
      you could say things like "stuff %0 morestuff %0" in v2.1,
      but this was broken by initial 1-parameter fixes in v2.2.
      This patch reportedly lets us have both things at once, and
      improves handling of 1-parameter template queries in general.
      Thanks for this patch go to Martin Gallwey.

    o Added examples/tquery4.cpp based on test code and feedback
      from Martin.

    o Put Comparable class in namespace mysqlpp, where it should always
      have been.  Aside from being just plain wrong, it caused a
      conflict with Boost if you used its Comparable class and hoist
      them both into the global namespace.  Thanks for this patch go
      to Michael Radzewitz.

    o Fixed all the known problems with the Xcode project files.

    o Skeletal support for SSQLS v2.  Doesn't do anything useful
      yet, it just got caught up in the need to release 3.1 as-is.

    o Various enhancements to the test suite.

    o Many, many documentation enhancements.


3.0.9, 2009.02.04 (r2442)

    o It is now possible to use Null<T> objects in const context.

    o Query was emitting thousands separators when used in some
      locales.  Thanks for the fix go to Tomaž Šolc.

    o Restored support for using Query::storein() with template
      queries.  Was mistakenly removed in the 3.0.0 development
      process.

    o GCC 4.4 build fixes.  Thanks for this go to Remi Collet.


3.0.8, 2008.11.27 (r2432) The "Thanksgiving" release

    o Fixed a VC++ build error introduced in 3.0.7 in the Sun CC fix.

    o Fixed the Makefile we generate from Makefile.simple for the
      devel RPM.  The recent Bakefile upgrade changed the output so
      our munger stopped munging.

    o Changed all instances of "CREDITS" in header comments to
      "CREDITS.txt".

    o Brought ebuild file up to date with what Gentoo has been
      using for 2.3.2.


3.0.7, 2008.11.21 (r2423)

    o Fixed bug where initting a Query with a query string and then
      appending more to it with operator <<() would start overwriting
      the beginning of the buffer.  Thanks for the fix go to Chris
      Frey.

    o Added String::empty(), to parallel std::string better.

    o Added SQLTypeAdapter ctor for Null<String>, to allow SSQLS with
      NULL BLOB columns.  Thanks for this patch go to Russell Robinson.

    o Passing on "throw exceptions" flag in Query::storein() to the
      temporary Row objects it creates.  (Should have done this
      all along.)

    o All MySQL++ classes with operator[]() and at() methods now
      throw the new BadIndex exception on out of range indices now,
      unconditionally.  Before, it was a mishmash of MySQL++-specific
      mechanisms, std::range_error, and unchecked access.

    o Fixed some bugs in load_jpeg and cgi_jpeg examples that prevented
      them from working correctly on Windows.

    o Squished some warnings and incompatibilities that caused
      difficulty with Solaris CC.

    o Several minor fixes to allow building on Cygwin again.

    o Dedicated VC++ 2008 support.  (Not just a clone of VC++ 2005
      project files in a different directory.)

    o Lots of documentation improvements.


3.0.6, 2008.08.16 (r2350)

    o Several fixes to allow thread-aware build on Solaris

    o More improvements to search for Fink version of C API library.

    o Various improvements to Windows installer (install.hta)


3.0.5, 2008.08.06 (r2332)

    o Replaced install.bat with new install.hta, which has a GUI and a
      lot of embeded logic for doing The Right Thing, which we couldn't
      do in a dumb batch file.

    o Several fixes to allow it to build on Solaris 10.

    o Fixed a bug in comparison of Null<T> to T: wouldn't always give
      the right result for one particular combination of argument
      values and order of parameters to operator <().  It wouldn't
      fail all the time, either; it depended on the way the system's
      memory allocator dealt with newly allocated RAM.  The bug was
      discovered during the Solaris 10 porting effort, but it is not
      a Solaris-specific bug.

    o Split Linux-specific material out of README-Unix.txt into
      README-Linux.txt, and created README-Solaris.txt.

    o Shipping a vc2008 directory.  Populated by bootstrap script with
      copies of vc2005 files when those are newer, with the idea being
      to update them by hand by running them through VC++2008 before
      release.

    o Several fixes to VS-only examples. They hadn't been updated to
      track several of the changes in MySQL++ v3, so they wouldn't
      build OOTB at all, crashed when you did get them building, and
      emitted a lot of warnings during the build.  Cleaned it all up.

    o Autoconf now explicitly checks whether we need to link to zlib
      to link to MySQL C API library.  It used to be required, but
      lately, MySQL has been shipping the library with zlib stuff
      embedded, causing multiply defined symbol errors on some systems.

    o configure script now looks in more locations for the MySQL C API
      library, adding default locations for Fink and Solaris.


3.0.4, 2008.07.02 (r2303)

    o Fixed a few bugs in SslOption that prevented it from actually
      working.  If you've been having SSL problems since upgrading
      to MySQL++ v3, this is why!  Thanks for these patches go to
      Petteri Kiiskinen.

    o Changed type of String's internal "size" typedefs so it'll
      build without errors on 64-bit systems where these ints are
      different sizes.

    o Many user manual improvements.


3.0.3, 2008.05.11 (r2284)

    o Fixed query well-formedness handling in Query::store() and use().
      It was quietly eating these errors, confusing them with the
      no-results case.

    o Fixed examples/cpool.cpp to build without thread support.

    o No longer hiding all stdint.h typedefs inside namespace mysqlpp.

    o Fixed mysqlpp::String comparisons of empty strings against
      nonempty strings; if the empty string was on the left hand side,
      it would succeed because it was only comparing against characters
      in the empty side, which matches everything.  (Fixes bug 11588.)


3.0.2, 2008.04.13 (r2275)

    o Increased float to string conversion precision from 7 to 9 and
      double from 16 to 17 digits.  Previous values weren't enough
      near the maximum values that each can hold.

    o Replaced Query's safe bool mechanism with an override of
      basic_ios::operator void*() to avoid a conflict between the
      two mechanisms.  As the base class version isn't virtual,
      this is arguably evil, but it should be harmless in typical use.
      Besides, testing Query in bool context usually isn't the right
      thing anyway: test the result set instead.

    o Made ConnectionPool::grab() virtual.

    o Overriding ConnectionPool::grab() and release() in
      examples/cpool.cpp to show how to do connection-in-use count
      limiting.  Also, added a few more output indicator states to
      allow one to better understand program flow.


3.0.1, 2008.03.23 (r2263)

    o String objects can now be compared to mysqlpp::null directly.

    o Added a template operator== and operator!= to String, syntactic
      sugar for the existing String::compare() methods.

    o String::compare() now returns 0 ("equal") when one of the
      strings is an uninitialized String() (no refcounted buffer)
      and the other is empty.  It used to consider any initialized
      string greater than an uninitted one.  An uninitialized String
      appears empty, though, so this was incorrect.

    o Made Connection::thread_aware(), thread_start() and thread_end()
      static methods, so they can be called before you create your
      first connection.  Ditto for DBDriver versions of these methods.

    o Calling Connection::thread_start() and thread_end() in
      examples/cpool.cpp, as appropriate.  Above changes were necessary
      to make this work sensibly.

    o Made ConnectionPool::release() virtual, so your pool subclass can
      override it.

    o Added ConnectionPool::size(), so a subclass can know the current
      number of extant connections.

    o No longer single-quoting NOW() call generated for default
      init of DateTime type when building queries from SSQLS objects
      in Query::insert(), replace() and update().  The template query
      and stream interfaces of Query treated NOW() correctly already.

    o Fixed a bug that left SSQLS::table_override_ uninitted if
      you used certain of the generated ctors or set() member
      functions instead of others used by the examples.  This could
      cause a crash any time you caused SSQLS.table() to be called,
      such as when passing the SSQLS to Query::insert().

    o Minor memset bug fixed in test/uds.cpp.  Patch by Dave Jones.


3.0.0, 2008.02.29 (r2236) The "Giant Leap Forward" release

    THIS IS NOT A DROP-IN REPLACEMENT FOR MySQL++ v2.x!

    You will have to recompile your program against this version
    of the library, and you will almost certainly have to make code
    changes as well.  Please see these sections in the user manual
    for information on migrating your code to this new version:

    http://tangentsoft.net/mysql++/doc/html/userman/breakages.html#api-3.0.0
    http://tangentsoft.net/mysql++/doc/html/userman/breakages.html#abi-3.0.0

    o Added ConnectionPool class, primarily to let multithreaded
      programs share a set of Connection objects safely in situations
      where it isn't acceptable to have a Connection per thread.

    o Created examples/cpool.cpp to demonstrate this new class.

    o Added RefCountedPointer template, which provides automatic
      memory management and data sharing.  It's not intended
      for use outside of MySQL++ itself, but it's the mechanism
      behind everything below where reference counting is mentioned.
      I created the initial version of it, but Jonathan Wakely almost
      completely rebuilt it, and Joseph Artsimovich provided helpful
      commentary and advice as well.

    o Many improvements to Specialized SQL Structures (SSQLS):

      - Renamed custom* to ssqls*.  There's still a custom.h which
        #includes ssqls.h for you, but it's only intended to ease
        the transition to the new name.  It will go away in a future
        release, probably as soon as v3.1.

      - SSQLSes are finally compatible with Null<>-wrapped types.  This
        feature is based loosely on the "Waba" patch posted to the
        mailing list back in the v2.0 days, but extended to allow
        Null<T> types for key fields.  (The Waba patch only allowed
        these types in non-key fields.)

      - It's no longer necessary to define a different SSQLS for each
        different field set you use in queries.  That is to say,
        you can define an SSQLS for an entire table and store just a
        subset of the table in it now, with the other fields keeping
        default values.  Removed examples/custom6.cpp, as custom1.cpp
        can now demonstrate the same thing, implicitly.

      - An SSQLS's field order no longer has to match the order of
        fields in the result set it is populated from.

      - As a result of previous, removed sql_create_c_order_* macros;
        they have no purpose now.

      - Removed order parameters from sql_create_complete_*, which now
        gives it the same functionality as sql_create_c_names_* so
        removed the latter, too.

      - Removed "basic" variants of SSQLS creation macros.  They've
        been unofficially deprecated by dint of being all but
        undocumented and unexemplified for a very long time now.

      - It's now possible to use mysqlpp::String, Date, DateTime, and
        Time types in the key field positions in an SSQLS as they
        now support the necessary comparison interfaces.

      - If you use a floating-point data type in one of the key field
        positions, it no longer uses exact comparison logic.  Instead,
        it now does [in]equality comparisons by testing whether the
        difference between two floating-point values is less than a
        configurable threshold defaulting to 0.00001.
    
      - You can now use 'bool' type in an SSQLS.

      - Renamed _table static member variable in each SSQLS to table_
        and made it private.  There are now public setter and getter
        methods, table().

      - Added per-instance table name overriding via instance_table()
        setter.  table() getter returns static version if this is not
        set, so it's still a global setting by default.

    o You can now use mysqlpp::null as a template query parameter to
      get a SQL null.

    o Replaced template ColData_Tmpl<T>:

      - Used to have typedef ColData_Tmpl<std::string> MutableColData.
        It was used only once within MySQL++ itself, and was never
        documented as a class for end users.  This one use within
        the library was a crock, so we just replaced this use with
        std::string and removed the typedef.

      - This left just one use of ColData_Tmpl<T>, instantiating it
        with the MySQL++ utility class const_string, basically a
        clone of std::string with all the mutating features removed.
        Folded the functionality of const_string into the template,
        renamed the result to String, and deleted the const_string
        class.  It'd be a complete std::string replacement -- with
        SQL-related enhancements -- if it were modifiable, but MySQL++
        doesn't need it to be modifiable.  Yet, it's still the closest
        thing MySQL++ has to its own string type; thus the name.

      - Replaced its internal buffer management with a much more
        clever reference counted scheme.  This shows its greatest
        advantage in the return from Row::operator[](), which for
        technical reasons must return by value, not by reference
        as is more common.  This lets you pass around Strings by
        value while having the efficiency of reference semantics.
        This can be important with large return values, like BLOBs.

      - Converting String to numeric types (ints, floats...) uses a
        new, cleaner system by Jonathan Wakely.  Unless you were
        abusing weaknesses in the old system, you won't see a
        difference.  It's just more robust and flexible.

    o Redesigned SQLString:

      - It used to derive from std::string, and while MySQL++'s
        internals did use it in place of std::string, these places
        didn't take advantage of the additional features offered
        by SQLString.  So, replaced all those uses with std::string.

      - All the remaining uses are MySQL++ public interfaces that
        need to be able to accept any of many different data types,
        and we want that data to be automatically converted to a
        SQL-compatible string form.  Because it no longer has the
        parentage to be a general-purpose string type and MySQL++ has
        a new contender for that role (String), renamed SQLString to
        SQLTypeAdapter to reflect its new, limited purpose.  ("STA"
        for short.)

      - Since we don't have the std::string base class to manage the
        string buffer any more, using the same reference counted
        buffer mechanism as String.  In addition to saving code by
        not creating yet another buffer management mechanism, it means
        objects of the two classes can share a buffer when you assign
        one to the other or pass one to the other's copy ctor.

      - Added many more conversion ctors.

      - STA interfaces using the 'char' data type now treat them as
        single-character strings instead of one-byte integers, as
        does the Standard C++ Library.

      - Added mysqlpp::tiny_int interfaces to STA to replace the
        former char interfaces for those needing one-byte integers.

    o As a result of the ColData -> String redesign, removed
      Row::raw_*().  Before String copies were efficient, this
      was helpful in accessing BLOB data efficiently.  It was also
      required back when ColData didn't deal correctly with embedded
      null characters, but that reason is gone now, too.

    o Row::operator[](const char*) no longer unconditionally throws the
      BadFieldName exception when you ask for a field that doesn't
      exist.  It will still throw it if exceptions are enabled, but if
      not, it'll just return an empty String.  This was necessary to
      make the SSQLS subset and field order independence features work.

    o Similarly, Result::field_num() returns -1 when exceptions are
      disabled and you ask for a field that doesn't exist.

    o You can now use the OptionalExceptions mechanism to disable
      exceptions on const MySQL++ objects.

    o Redesigned query result classes:

      - Instead of Result deriving from ResUse, the two derive from
        a common base class -- ResultBase -- containing the bits that
        are truly the same between them.  Before, Result inherited
        several methods that didn't really make sense for "store"
        query result sets.

      - Renamed Result to StoreQueryResult and ResUse to UseQueryResult
        so it's clearer what each is for.

      - Renamed ResNSel to SimpleResult.

      - Made all SimpleResult data members private and hid them behind
        const accessor functions of the same name.

      - The result set classes all used to be friends of Connection
        for various lame reasons.  Since they are created by Query,
        and Query has a good reason for a strong relationship with
        Connection, moved Connection access out of each result set
        class into the code in Query that creates that type of result
        set object.

      - StoreQueryResult now derives from vector<Row> in addition to
        ResultBase; it used to merely emulate a vector of Rows, poorly.
        It can now dispose of the MYSQL_RESULT at the end of object
        construction, because it creates all the Row objects up front
        instead of on the fly.  And as a result of *that*, operator[]
        returns by reference instead of by value, operator -> works
        correctly on iterators, all STL algorithms work, etc., etc.

      - IMPORTANT COMPATIBILITY BREAK: because we used fetch_row()
        stuff in Result previously, it was okay to index past the
        end of the result set: you'd just get a falsy Row when you
        did this, just as happens when doing the same thing in a
        "use" query.  The simple1 and simple2 examples did this,
        so it's likely that code exists that takes advantage of this
        misfeature.  New versions of these examples show how to index
        through a StoreQueryResult without running past its end.

      - ResUse used to delay creation of its FieldNames and FieldTypes
        objects until the point of need.  This had several implications
        for thread and exception safety that we fix by just creating
        them in the ctor.  If your code is multi-threaded and was
        avoiding certain usage patterns due to crashes, it's worth
        trying your preferred way again.

      - Result sets create a few data structures to hold information
        common to all rows in that set.  The row objects need access
        to these shared data structures, so on creation each gets
        a pointer back to the result set object that creates it.
        This was efficient, but required that a result set object
        outlive any row objects it creates.  Now these shared data
        structures are reference-counted, decoupling the lifetime of
        the child row objects from their result set parent.

      - Copy operations for result sets used to actually be "moves"
        before, for efficiency.  (MySQL++ itelf only copied result
        sets in returning them by value from the query execution
        methods of Query, so this was acceptable if you didn't do
        anything uncommon with these objects.)  Reference counted
        data structures allow us to have copy semantics now without
        sacrificing efficiency.

      - You can now use Query::storein() with an STL container of Row
        objects now, instead of having to use SSQLSes.  The lifetime
        issue guaranteed a crash if you tried this before.

      - Removed a bunch of unnecessary alias methods:

        - columns() -> num_fields()
        - names()   -> field_names()
        - rows()    -> num_rows()
        - types()   -> field_types()

      - Renamed several methods for grammar reasons:

        - fields(unsigned int)      -> field(unsigned int)
        - names(const std::string&) -> field_num(const std::string&)
        - names(int)                -> field_name(int)
        - types(int)                -> field_type(int)

      - Removed several "smelly" methods:

        - purge()
        - raw_result()
        - reset_names()
        - reset_field_names()
        - reset_types()
        - reset_field_types()

    o Field class used to just be a typedef for the corresponding C
      API class.  Now it's a real C++ class providing a more MySQL++
      sort of interface, plus good OO things like information hiding
      and implementation detail abstraction.  This changes several
      things about the interface.

    o Fields class was basically a specialized std::vector work-alike
      for dealing with the C API to get access to MYSQL_FIELD objects
      and present them as contained Field objects.  New Field type
      let us replace it with "typedef std::vector<Field> Fields"

    o Major improvements to the quoting and escaping mechanisms:

      - Replaced almost all of the type-specific interfaces in manip.h
        with a single version taking STA.  The compiler can convert
        almost anything to STA without losing any information we need
        for correct quoting and escaping.  This has the side benefit
        that we can now do correct quoting and escaping for more data
        types now, including plain C and C++ string types.

      - Fixed a bug in quote_double_only manipulator for String: was
        using single quotes by mistake.

      - Escaping and quoting only works in instances where MySQL++
        can tell you're building a SQL query and are using a data type
        that requires it.  This affects many things, but the one most
        likely to cause trouble is that inserting MySQL++'s quoting
        and escaping manipulators in non-Query ostreams is now a no-op.

      - Added escape_string() member functions to Query and
        SQLQueryParms::escape_string(), and removed the global function
        of the same name.  Because these are tied indirectly to a
        Connection object, this also has the effect that escaping is
        now aware of the current default character set used by the
        database server.  There's only one case where this isn't done
        now, and that's when we're disconnected from the server.

      - Previous two items form a trade-off: if your code was depending
        on MySQL++ to get SQL escaping and it no longer happens for
        what we consider a good reason, you can build a replacement
        mechanism using these new functions.  Quoting needs no special
        support in MySQL++.

      - Removed 'r' and 'R' template query parameter modifiers,
        which meant "always quote" and "always quote and escape"
        regardless of the data type of the parameter.  There are no
        corresponding manipulators (for good reason), so the removal
        restores symmetry.

    o Created DBDriver class from code previously in Connection and
      Query to almost completely wrap the low-level MySQL C API:

      - Connection creates a DBDriver object upon connection and
        passes a pointer to it down to Query objects it creates.
        In turn, they pass the pointer on to any of their children
        that need access to the C API.

      - Nothing outside DBDriver calls the C API directly now, though
        DBDriver leaks C API data structures quite a lot, so this
        feature doesn't constitute "database independence."  See the
        Wishlist for what must be done to get to that point.

    o Completely redesigned the connection option setting mechanism:

      - There's now just a single Connection::set_option() method that
        takes a pointer to the abstract Option base class, and there is
        an Option subclass for every connection option we understand.
        Thus, type errors are now caught at compile time instead of
        at run time.

      - Replaced Connection::enable_ssl() with SslOption class.

      - Enabling data compression and setting the connection timeout
        are no longer set via parameters to Connection interfaces.
        These are now set with CompressOption and ConnectTimeoutOption.

      - Similarly, removed client_flag parameters from Connection's
        ctor and connect() method and added corresponding Option
        subclasses.  There's about a dozen, so rather than list them
        here, look for similarly-named classes in lib/options.h.

    o Added Connection::count_rows() to execute "SELECT COUNT(*) FROM
      tablename" queries for you.

    o Moved Connection::affected_rows(), info() and insert_id() methods
      to class Query, as they relate to the most recently-executed
      query, not to the connection.

    o Several method name changes in Connection:

      - client_info()   -> client_version()
      - host_info()     -> ipc_info()
      - proto_info()    -> protocol_version()
      - server_info()   -> server_version()
      - stat()          -> status()

    o Removed Connection::api_version().  It does the same thing as
      client_version().

    o Lots of changes to Date, DateTime, and Time classes:

      - If you use the default constructor for DateTime and don't
        subsequently set its year, month, day, hour, minute or second
        data members to nonzero values, it becomes the SQL function
        "NOW()" in a query string.  You can also use DateTime::now()
        as syntactic sugar for this.

      - As a result of above, had to hide all of DateTime's data
        members behind accessor functions, to keep the state of the
        object consistent.  (If it's initialized as "now" and you
        give it an explicit year value, say, it is no longer "now",
        so the setter has to clear the now-flag.)  There are getters
        and setters for year, month, day, hour, minute and second,
        all named after the member.

      - Did the same for Date and Time for consistency, even though it
        isn't technically required.

      - The sql_timestamp typedef now aliases DateTime instead of Time.

      - Renamed template class DTbase<T> to Comparable<T>.  The fact
        that it's the common base class of all date and time classes
        is irrelevant; making subclasses comparable is what it does,
        so that's what it should be named after.

      - Added a DateTime ctor taking discrete year, month, day, hour,
        minute, and second values.

      - Implicit conversion from stringish types to the date and time
        types is no longer allowed.  This is part of the "Waba"
        Null<T> patch mentioned above; allowing implicit conversions
        would break this new feature.

      - Added operator std::string and str() methods to all of these
        classes.  Adding this to the existing operator << support, you
        now have several ways to convert these objects to string form.

      - Added time_t conversion to Date and Time classes.  DateTime
        already had it, since it's more legitimate to convert time_t
        to DateTime, but you could already "slice" it with something
        like Time(DateTime(time(0))) so there's no point pretending
        you can't get from time_t to Date or Time.  Might as well
        legitimize it.

    o Improved tiny_int class:
        
      - Turned it into a template parameterized on the value type so
        you can get both signed and unsigned TINYINTs

      - Changed the sql_tinyint and sql_tinyint_unsigned typedefs to
        use mysqlpp::tiny_int<VT> instead of raw chars

      - Added a bool conversion ctor and operator, and typedef'd it
        to sql_bool and sql_boolean to match MySQL server behavior

    o Added many more sql_* typedefs.  We now have a typedef for every
      type the MySQL server knows about, including those it supports
      just for compatibility with other database servers.

    o Changed the sql_*int* typedefs to use integer types of the same
      size as the MySQL server.  (Run test/inttypes.cpp to test it.)

    o Added copy ctor and assignment operator to Row.

    o Row::operator[]() takes int now instead of unsigned int.
      This finally (!) makes it possible to say row[0] without the
      compiler giving an ambiguous overload error.

    o Changed all uses of row.at(0) in the examples to row[0]

    o Added operator[] to all classes that only had at().

    o Query now automatically resets itself unless the query fails
      or you're using template queries.  In either case, the contents
      of the query's internal buffers are considered precious,
      either for debugging, or future queries.  Except when using
      template queries, this means you may be able to avoid calling
      Query::reset() entirely.  It's still safe to call reset()
      as before, just unnecessary most of the time.

    o Removed reset_query parameter from all Query methods.  It was
      almost completely broken before, and above change does what
      was really wanted to begin with.

    o Query::store_next() and Result::fetch_row() no longer throw
      the EndOfResults and EndOfResultSets exceptions; these are not
      exceptional conditions!  These methods simply return false now.

    o Removed examples/usequery.cpp: there's no essential difference
      between what it did and what examples/simple3.cpp does now as
      a result of the previous change.

    o Added Query::exec(void), paralleling Query::execute(void).

    o Removed Query::preview().  The most direct replacement is str(),
      which has always done the same thing.

    o You can now insert a Query object into an ostream to get a copy
      of the built query.  This means Query::str() is only necessary
      when using template queries.

    o Removed overloads of Query::execute(), store(), and use()
      that take const char*.  It was redundant because const char*
      converts implicitly to STA, for which overloads already exist.

    o Renamed Query::def to Query::template_defaults to make its
      purpose clearer.

    o Query::error() now returns const char*, not a std::string by
      value.  There's no point in making a copy of the error string.
      The method is now const as well, as it doesn't change the
      Query object.

    o Added Query::errnum(), which just wraps Connection::errnum().

    o Added error number parameters and accessor functions to BadQuery,
      ConnectionFailed and DBSelectionFailed exceptions, to preserve
      the state of Connection::errnum() at the point of the exception,
      so you don't have to rely on this value remaining unchanged
      during the exception throw process.  All places that use these
      exceptions now include this value where possible.  Thanks for the
      initial patch go to Jim Wallace.

    o Removed Lockable mechanism from Connection and Query; it was
      conceptually flawed.  See the new user manual chapter on
      threading for advice on using MySQL++ safely without locking.
      There is mutex locking now in ConnectionPool, but that's it.

    o Connection::query() now takes an optional query string, allowing
      the returned Query object to start off with a value.  Especially
      useful when the query string is static, either because it's
      a simple query or because it's a template.  You can now build
      chains like "if (conn.query("CREATE INDEX ...").exec()) { ..."

    o Added Connection::thread_aware(), thread_end(), thread_id()
      and thread_safe().  See user manual's threading chapter for
      explanations.

    o Renamed "success" data members in Connection, Query and
      SimpleResult (neé ResNSel) to "copacetic_", making them private
      if they weren't before.  This better reflects their actual
      use, which isn't to say that there has necessarily been actual
      success, but rather that everything's okay with the object.

    o Removed success() member functions from above classes.  All can
      be tested in bool context to get the same information.

    o Replaced all operator bool()s in MySQL++ classes with safer
      alternatives.  See http://www.artima.com/cppsource/safebool.html
      Thanks to Jonathan Wakely for much helpful commentary, advice,
      and code used in these mechanisms.

    o Decoupled Connection::copacetic_ from Connection::is_connected_.
      It is now possible for the object to be copacetic without being
      connected.  However, if it tries to connect and fails, then
      it is not copacetic.  If it is copacetic and not connected, it
      means we haven't even tried to connect yet, a useful distinction.

    o Collapsed Connection's host, port, and socket_name down into
      a new combined 'server' parameter which is parsed to determine
      what kind of connection you mean.  These interfaces are still
      compatible with v2.3 and earlier up through the port parameter.
      There are differences beyond this.

    o Added TCPConnection, UnixDomainSocketConnection and
      WindowsNamedPipeConnection subclasses for Connection giving
      simpler construction and connect() method interfaces for
      instances where you know what kind of connection you want at
      compile time.

    o Changed Connection::ping() return value from int to bool.

    o Renamed NullisNull to NullIsNull -- capital I -- and similar for
      NullisZero and NullisBlank.

    o It's now a compile-time error to try to convert a MySQL++
      representation of a SQL null to any other data type, rather
      than a run-time error as in previous versions.  Removed
      BadNullConversion exception as a result.

    o Way back in v1.7.x we used the BadQuery exception for all kinds
      of exceptional conditions, not just bad queries.  Replaced
      most of these in v2.0.0 with new dedicated exceptions, but a
      few remained:
      
      - Errors that occur during the processing of a "use" query after
        the query itself executes correctly now throw UseQueryError.
        It's not a "bad query", because the query executed
        successfully.  It just choked during subsequent processing,
        so it's a different exception.  Thanks for this patch go to
        Jim Wallace.

      - Replaced BadQuery exceptions thrown in Row constructor due
        to bad ctor parameters with new ObjectNotInitialized exception
        This is also Jim Wallace's work.

    o The examples now all use getopt() type command line options
      instead of positional options.  This makes it possible to
      pass options in any order, leave at their default options that
      used to be in the middle of the sequence, and offer different
      subsets of options for different programs.  Also allows for
      special internal-use options, like -D passed by dtest to let
      examples change their behavior when run under dtest to produce
      only predictable output.

    o Split old libutil functionality into two modules, one holding
      all the "print data" functions, and another holding all the
      command line parsing stuff.  This makes it easier for newbies
      to ignore the command line stuff, treating it like a black box.
      The wish to understand the "print data" routines is much more
      common, so the two needed to be disentangled.

    o Renamed examples' libutil to libexcommon.

    o Removed connect_to_db() libutil function.  It combined command
      line parsing, which users don't care about, with database
      connection establishment, which they do care about.  Now the
      examples just call out to libexcommon to parse the command
      line, and use the values they get back to explicitly make the
      connection, so it isn't hidden.

    o Removed cchar and uint typedefs.

    o Redesigned dbinfo example's output to be easier to read.

    o Fixed an output formatting bug created in 2.3.0 that caused the
      tabular output from examples to not line up.

    o Renamed examples/tquery.cpp to tquery1.cpp.  Created tquery2.cpp
      to demonstrate passing parameters via a SQLQueryParametrs object
      instead of discretely.  Created tquery3.cpp for testing unquoted
      template parameters, such as integers.

    o Renamed fieldinf1.cpp example to fieldinf.cpp, and simplified
      its output so it can be part of the dtest sequence.

    o Renamed examples/xaction.cpp to transaction.cpp.  It created too
      much cognotive dissonance whenever thinking about both it and
      lib/transaction.cpp.

    o Added examples/deadlock.cpp, to test handling of exceptions due
      to server-side transaction deadlock detection.  Also added
      code to resetdb to create a table needed to test this.
      Initial version created by Jim Wallace to test the value of
      all his BadQuery exception work, with reworking by me.

    o Greatly expanded dtest suite.  Primary change is that we now
      have a handful of unit tests, where in v2.3.2 we only tested
      a subset of the examples.  Still very low coverage ratio,
      but it's a big improvement.

    o Optimized #includes, especially in lib/*.h to reduce
      dependencies and thus compile time when one of these changes.

    o Fixed a typo in RPM filename generation that prevented -devel
      RPM from recognizing that the corresponding MySQL++ library
      RPM was installed.

    o RPM spec file improvements by Remi Collet.

    o Renamed NO_LONG_LONGS to MYSQLPP_NO_LONG_LONGS to avoid a risk
      of collision in the global macro namespace.
    
    o First cut at Xcode2 project support.  Testing needed!

    o Debug build of library on VC++ and Xcode have a _d suffix now
      so you can have both versions of the library installed without
      conflict.

    o Moved the VC++ 2003 project files into a new vs2003 subdirectory
      because there are so many of them.  Also created vs2005
      subdirectory for VC++ 2005 and 2008 compatible project files.
      2005 makes an even bigger mess of the directory containing
      the .sln file, so the incentive is bigger.  Plus, we have to
      disable several things to get VC++ 2003 to build MySQL++ now,
      so we need a special 2005+ version of the project files for a
      complete build, if the user has one of the newer compilers.

    o ...plus dozens of small bug fixes and internal enhancements,
      many documentation improvements, and expansion of support for
      newer operating systems and compilers.


2.3.2, 2007.07.11 (r1669)

    o Previous release's const_string change caused more problems
      than it fixed.  This release contains the real fix. :)

    o New Connection::set_option() handling deals with the multi
      statements option correctly again.  examples/multiquery now
      runs again as a result.

    o Added new unit testing script, called dtest.  See the
      HACKERS file for details.  (This tool caught the previous
      two problems!)

    o Squished a GCC pedantic warning.  Thanks for the patch go to
      Andrew Sayers.


2.3.1, 2007.07.10 (r1659) The "After the Fireworks" release

    o const_string objects now keep a copy of their data, not
      just a pointer to it.  This is less efficient, but necessary
      to allow SSQLS to work with BLOBs.  Without this, we were
      seeing segfaults due to accessing freed memory pointed to
      by the const_string, because the underlying object went
      out of scope.

    o Fixed many more potential embedded null handling problems
      in manip.h.

    o MySQL++ can now optionally reference MySQL C API headers as
      being in a mysql subdirectory, a common thing on *ix systems,
      by defining MYSQLPP_MYSQL_HEADERS_BURIED before #including
      mysql++.h.

    o Restored ColData_Tmpl<T>::get_string(), removed in v2.3.0,
      along with warnings in the docs saying why you don't want
      to use it, and what your alternatives are.

    o VC++ and MinGW builds now define the HAVE_MYSQL_SSL_SET
      macro, which lets you use the C API's SSL features.
      This assumes your C API library does actually have these
      features enabled, which is the case with the official binary
      releases on Windows.  (Builds on *ix systems continue to
      test for these features at configure time.)

    o Fixed simple examples-only Makefile generation, for RPMs.


2.3.0, 2007.07.02 (r1645)

    o Added Query::for_each() and Query::store_if() methods
      proposed by Joel Fielder, and added examples for each.

    o It's now possible to store BLOB data in an SSQLS.  It's not
      foolproof, so added a section to the user manual (5.9) to
      document the method.  Also, changed examples/cgi_jpeg to use
      this new mechanism, instead of the ugly "raw row data" method
      it used to use.

    o Revamped Connection::set_option() handling.  These options
      used to be queued up, and applied only just before actually
      establishing the connection.  This made error reporting less
      helpful because the diagnostic was separated from the cause.
      Plus, the error messages were misleading to begin with.  Now,
      set_option() takes effect immediately if the connection is not
      yet up (excepting one special option that can actually be set
      after the connection is up) and issues better diagnostics when
      it detects errors.

    o Connection::connect() used to set a few options in such a
      way that the user couldn't override them.  Now it's smart enough
      to set them with the desired default values only when we see
      that the user hasn't given them other values.

    o SQLString can now be initialized from a mysqlpp::null,
      giving a "NULL" string.  This is useful for template queries.
      Patch by Michael Hanselmann.

    o resetdb error message about mixing library and header version
      numbers is now more explicit.

    o Changed BadConversion exception's "what" message text to be
      more like the other exceptions.  The inconsistency lead one
      to incorrectly copy-paste code from another exception handler,
      expecting it to behave the same way.  Now it does.

    o Added Row::raw_size(), as a shortcut for Row::at().size().

    o ssqls-pretty now detects when it's being run from within
      the MySQL++ distribution tree and gives a different -I flag
      to the compiler, so that it picks up the distribution headers
      instead of those that may be on the system already.

    o The quote manipulator now works for char[] correctly.
      Thanks for this patch go to Andrew Sayers.  (It's always
      worked for char*, but C++ doesn't consider that to be the
      same type, so it used the generic quote handling path,
      which doesn't do anything for char[].)

    o Fixed a build bug on older Solaris versions where the
      test for the C API library was erroneously failing, stopping
      the configuration process.

    o Simplified mysql_shutdown() level argument detection.
      Already had to do a version number ifdef check for the
      Windows case, so there's really no point to doing it with
      autoconf on Unixy platforms.  Moved version number check
      into lib/connection.cpp, and nuked the separate autoconf and
      Windows tests.

    o Removed dependency of sql_types.h on myset.h and (indirectly)
      datetime.h.  Now we only define sql_* typedef aliases for those
      MySQL++ types if the headers are included before sql_types.h.

    o Fixed a typo in one of the storein_sequence() template
      overloads, which is apparently rarely (or never?) used, because
      no one reported the compiler error you'd get if you tried.

    o Fixed a few more embedded null handling problems.

    o ColData used to keep two copies of all data it held.
      Now it keeps just one.

    o Fixed install.bat script to track the unified Bakefile change
      and the lack of separate debug and release builds under MinGW.

    o Yet another STLport + Query memory leak fix.

    o Squished a warning in newer GCCs having to do with identifier
      shadowing.  Patch by Jonathan Wakely.

    o Fixed a null-termination bug in Query::parse().  If you
      somehow constructed a query string without a terminating null
      character, then tried to parse it as a template query, it could
      walk off the end of the string.  Patch by Worster Chen.

    o Removed MYSQLPP_EXPORT tag from FieldNames and FieldTypes
      class declarations, as this can cause problems in programs
      that use vector<string> in VC++.  It has to do with multiply
      defined templates, since these classes derive from that
      template, and VC++ can't resolve the conflict without help.
      Since these classes aren't actually used outside the library,
      this shouldn't cause a problem.  Patch by Nils Woetzel.

    o Partial fix to Doxygen PDF build on RHEL4 and 5.  Needs
      hand-coaxing to complete successfully on RHEL4, and doesn't
      yet work at all on RHEL5.

    o Shortened the "no*" options to the bootstrap script, so that
      the usage message fits on a single line.

    o Added "nodoc" bootstrap script option, for disabling the
      documentation build during the dist target build.  Allows for
      building binary RPMs on CentOS 5.0, where doc building is
      currently broken.

    o Removed the updel example program.  It was kind of silly,
      and if you were to rewrite it today, you'd use for_each() anyway.

    o Lots of documentation improvements.


2.2.3, 2007.04.17 (r1538) The "Tax Day" release

    o Previous version left examples/vstudio/* out of the tarball
      by accident.

    o Improved generation of RPM temporary build directory path
      name generation.  Was using a hacked variant of the Fedora
      Packaging Guidelines' second best choice.  Now we're using
      the choice they recommend most highly, without changes.

    o Removed unnecessary resources from vstudio/wforms example.

    o Minor URL fix in refman


2.2.2, 2007.04.13 (r1526) The "Nervousmaking Friday the 13th" release

    o More small fixes to embedded null handling in Query.

    o Fixed a bug in single-parameter template query handling.

    o Added tquery example, to demonstrate proper use of template
      queries.  Previously, resetdb was the only exemplar, and
      it wasn't really suited for that.  This example also tests
      the previous item.

    o Added examples/vstudio/mfc, allowing us to improve the way
      we demonstrate Unicode handling.  Old way wasn't realistic.
      On *ix, people will depend on the terminal code to handle
      UTF-8.  On Windows, users are almost certain to be writing
      a GUI program, which requires different Unicode handling
      than the old examples showed.

    o Removed explicit Unicode conversion stuff from command line
      examples, and reworked the Unicode chapter in the user
      manual.
    
    o Added examples/vstudio/wforms to show integration with
      C++/CLI and Windows Forms.  Documented this in README.vc.

    o Rewrote load_file and cgi_image examples to be more
      useful, renaming them to load_jpeg and cgi_jpeg along
      the way.  Also, resetdb now creates a second table in the
      sample database for these two examples' use.  Also, added
      examples/logo.jpg to the distribution as sample data for
      these examples.

    o Limited the ostream base class casting stuff in Query to
      VC++ 2003, which is the only platform that really needed it.
      VC++ 2005 emits a warning with that hack in place, and on
      other platforms it's just replicating work that the compiler
      does already.

    o Added library version information to main library target
      so that systems that version shared libraries work as
      expected.  Thanks for this patch go to Jack Eidsness.

    o Merged much of the diffs between Remi Collet's RPM spec file
      into the official one.

    o Reorganized the doc subdir a bit.  Generated HTML is now all
      under doc/html instead of scattered under other subdirs,
      and renamed doc/README.mysql++ to doc/README.manuals.

    o Improvements to top-level manual building make targets:
      manuals now only rebuild at need, it's easier to request
      a rebuild of all manuals, and we force a rebuild attempt
      before building the distribution tarball so we don't ship
      outdated manuals.

    o Added ability to run examples under gdb using exrun,
      using same mechanism as we currently have for valgrind.
      Thanks for this patch go to Michael Hanselmann.

    o Added "Important Underlying C API Limitations" chapter to the
      user manual, to cover problems we keep seeing on the
      mailing list that are the result of ignorance of the way
      libmysqlclient behaves, not bugs MySQL++ is really in a
      position to fix.


2.2.1, 2007.02.28 (r1433)

    o Fixed the new localtime() alternative selection code
      for VS2003 and various uses of STLport.

    o No longer inserting a null character into the query stream
      on calling one of the preview() functions.  This was harmless
      in v2.1, which used C strings more extensively, but began
      causing problems in v2.2 due to its wider use of C++ strings.

    o Fixed a bug in the Connection copy ctor where it didn't
      completely initialize the object.

    o Optimized Query::preview_char() a bit.  Patch by Jonathan
      Wakely.

    o Reordered directory list used by autconf when locating the
      MySQL C API library.  The list is now ordered with the
      most likely locations for the library first, so we're less
      distracted by incorrect libraries.  This fixes a specific
      build error under RHEL4 with recent versions of MySQL 5.0.


2.2.0, 2007.01.23 (r1417)

    o ColData, const_string, and SQLString can now be constructed
      with an explicit length parameter.  Furthermore, Query
      class's execute(), store() and use() call chains terminate
      in a version taking an explicit length parameter, instead
      of one taking a simple C string.  Together, this means
      that it's now easier to handle data from the SQL server
      containing nulls.  The library is almost certainly not yet
      capable of handling embedded nulls in all cases, but this
      is a big first step towards that.

    o Can now construct a DateTime object from a time_t, and
      convert a DateTime back to a time_t.  Patch by Korolyov Ilya.

    o Changed the way we're handling exported functions in the
      Windows DLL case so that it works more reliably under MinGW.

    o Added proper copy semantics to Connection, so that you get a
      new connection with the same parameters, not just a bitwise
      copy of the object.

    o Using an explicitly thread-safe variant of localtime() for
      time conversions where one is available.

    o Removed ListInsert template from myset.h.  This wasn't used
      within the library, and was never documented, so I'm betting
      that no one actually uses it.

    o Result::copy() was not copying the exception flag in
      all cases.  Fix by Steven Van Ingelgem.

    o Added exrun shell script and exrun.bat files to distribution,
      to avoid linkage errors when running the examples while
      you still have an older version of MySQL++ installed.

    o Renamed MYSQLPP_LIB_VERSION to MYSQLPP_HEADER_VERSION, as
      what it really encodes is the version number in the mysql++.h
      file you're using, not the actual library version number.

    o Added mysqlpp::get_library_version(), which returns the
      library version number at build time.  Between this and
      the header version constant, you can check that you're not
      mixing MySQL++ header and library versions.

    o resetdb example uses these new version number affordances to
      double-check that you're not mixing libraries and headers
      from different versions.  This happens easily unless you
      take care of it (such as by using exrun) when you have one
      version of MySQL++ installed and you're trying to build and
      test a new version without blowing away the old one first
      or overwriting it.

    o No longer using recursive Makefiles on Unixy platforms
      or split lib + examples project files on VC++.  Everything is
      handled by a single top-level Makefile or project file, which
      is simpler for the end user, and makes better dependency
      management possible.

    o When looking for the MySQL C library on systems using
      autoconf, looking in .../lib64 wherever we are also looking
      in .../lib.

    o RPM build process no longer depends on Bakefile.  It means
      you have to build the examples when building an RPM even
      though they're never used within the RPM, but it's a better
      tradeoff in my opinion.

    o Updated include and library paths on Windows to reflect
      changes in the most recent MySQL installers.

    o Merged lib/defs.h and lib/platform.h into new file,
      lib/common.h.  Just cleans up the library internals.

    o Fixed build errors on Windows due to recent changes in MySQL.

    o Fixed a few memory leaks and double-deletes in Query class.

    o Fixed compatibility with STLPort's string implementation.
      Patch by dengxy at cse.buaa.edu.cn.

    o Fixed a compatibility problem between Set<> template and
      SSQLS.  Patch by Korolyov Ilya.

    o Fixed build bug in SQLQueryParms due to a character
      signedness issue on PowerPC with GCC.  Patch by Michael
      Hanselmann.

    o ~Transaction() can no longer throw exceptions.  It'll just
      quietly eat them, to avoid program termination.  Fix
      suggested by Alex Burton.

    o Fixed thread safety testing in autoconf case, accidentally
      broken during v2.1.0 development cycle.

    o Using Doxygen 1.5.1 to generate documentation.


2.1.1, 2006.04.04 (r1289)

    o MinGW and Cygwin will now build and link to mysqlpp DLLs.

    o Fixed bug in Query, causing it to initialize the "throw
      exceptions" flag incorrectly.  Thanks for this patch go to
      Joel Fielder.

    o Added -v flag for custom.pl script, which turns off the
      multiply-defined static variable fix.  Needed for VS 2003,
      which doesn't support variadic macros.  Also, added
      a diagnostic to detect the need for the -v flag, and
      suppressed the test for this feature in examples/util.cpp.


2.1.0, 2006.03.24 (r1269)

    o Converted automake and makemake files to their equivalents in
      Bakefile format.

    o Added the Transaction class, which makes it easy to use
      transaction sets in MySQL++.

    o Added xaction example to test new Transaction class.

    o Resetdb example now creates its example table using the
      InnoDB storage engine, in order to test the new transaction
      support.  Resetdb also declares the table as using UTF-8
      text; this doesn't change anything, but it does correctly
      document what we're doing.

    o Added sql_types.h header, containing C++ typedefs
      corresponding to each MySQL column type.  Using those new
      types in the type_info module, and in the SSQLS examples.

    o Replaced the way we were handling the template query
      version of Query member functions, to allow an arbitrary
      number of template query parameters.  By default, we
      now support 25 parameters, up from the old limit of 12.
      It's now possible to change just one number, run a script,
      and have a new limit.

    o Connection class does a better job of returning error
      messages if you call certain member functions that depend
      on a connection to the server before the connection is
      established.

    o Updated libmysqlclient.def for newer versions of MySQL.  (Fixes
      build errors having to do with mysql_more_results() and
      mysql_next_result().

    o Replaced final use of strcpy() with strncpy().

    o custom.pl now runs without complaint in strict mode, with
      warnings turned on.  Thanks for this patch go to "Waba".

    o Fixed a bug in custom.pl where incorrect code would be
      generated for some SSQLS set() methods.  Thanks for this
      patch go to "Waba".

    o SSQLS structures now support long and unsigned long fields.
      Thanks for this patch go to "Waba".

    o It's now possible to put SSQLS definitions in a header
      file used by multiple modules in a program without
      getting multiple static member definition errors.  See the
      documentation for details.  Thanks for this patch go to
      Viktor Stark.

    o Moved the definition of the 'stock' SSQLS out of the
      custom*.cpp example files and into a new stock.h file.
      Also, #including that file in the util module to test out
      the new SSQLS multiple static definition fix.

    o Using all of the digits of precision guaranteed by the
      IEEE 754 spec when stringizing floating point numbers
      to build queries.  Previously, we would use the platform
      default, which can be as few as 6 digits.

    o Removed lib/compare.h.  Not used within the library, never
      documented, and nobody seems to want to defend it.


2.0.7, 2005.11.23 (r1147)

    o Added explicit mysqlpp namespace qualifiers to generated code in
      custom*.h so you can use SSQLS in places where it doesn't make
      sense to say "using namespace mysqlpp" before the declaration.
      Also updated some of the examples to not have this "using"
      declaration to make it clear to users that it isn't needed, if you
      want to use explicit namespace qualifiers as well.  Thanks for
      this patch to Chris Frey.

    o Removed an apparently useless unlock() call from ResUse; there is
      no nearby lock() call, so if this unlock() is in fact necessary,
      it shouldn't be here anyway, because the two calls should be
      nearby each other.  Thanks for this patch to Chris Frey.

    o Fixed Query ostream initialization bug affecting SunPro CC (at
      least).  While this bug violates the Standard, it doesn't affect
      many real compilers because they don't enforce this rule.  Fixed
      by Chris Frey.

    o Previously, we only used the C99 style "long long" support when
      building under GNU CC.  This is now the default.  This should
      allow the code to work under SunPro CC.

    o Added another dynamic cast needed for proper Query ostream
      subclass overloading under VC++.  (7.1 at least...)

    o Detecting whether MySQL is built with SSL support on platforms
      using autotools.  Needed on some old Sun systems, for instance.
      Thanks for this patch to Ovidiu Bivolaru.

    o Fixed a potential memory bug in ColData's conversion to SQL null.

    o Many minor packaging tweaks.  (README clarifications, file
      permission fixes, better adherence to GNU packaging standards,
      etc.)

    
2.0.6, 2005.09.28 (r1123)

    o Fixed makemake.bat so it works on cmd.exe, not just 4NT.

    o Documentation fixes.


2.0.5, 2005.09.13 (r1114)

    o Visual C++ build now requires GNU make.  It is tested to work
      with either the Cygwin or the MinGW versions.  The previous
      version of MySQL++ used nmake.  This change enabled the
      following features:

        o Debug and Release versions are both built into
          separate subdirectories.

        o Dependency tracking for release version works
          correctly now.  (Previously dependencies worked
          only for debug version.)

        o 'make clean' removes release version binaries
          in addition to debug versions.

    o MinGW makemake support updated to support new release/debug
      subdirectory system.  This is probationary support, since
      this code currently can't be built as a DLL.  As a result,
      it is no more useful than the Cygwin version, for licensing
      reasons.

    o Several fixes to allow building on Solaris 8.  These fixes may
      also help on other SVR4-derived systems.

    o Removed Borland C++ makemake support, because this version
      of the library does not work completely, and there seems
      to be almost no user interest in fixing it.
      
    o Clarified "Handling SQL Nulls" section of user manual's
      Tutorial chapter.


2.0.4, 2005.08.29 (r1076)

    o Made mysql_shutdown() second parameter autoconf check less
      sensitive to compiler pedantry.

    o VC++ library Makefile is now smart enough to re-create the
      import library, if it is deleted while leaving the DLL alone.

    o Added libmysqlclient.def to tarball.

    o Reworked most of the top-level README* files.

    o Renamed LGPL file to LICENSE.


2.0.3, 2005.08.25 (r1060)

    o Visual C++ makemake system updated to build both debug and
      release versions of library DLL.

    o Fixed bug in simple1 example that caused crashes on Windows.

    o Doing UTF-8 to ANSI text translation in simple examples now.

    o Previous two releases built libmysqlpp with wrong soname on
      autotools-based systems.  Fixed.


2.0.2, 2005.08.18 (r1050)

    o Fixes to makemake system for cmd.exe.

    o Fixed the case where the system's C++ library includes an slist
      implementation in namespace std.


2.0.1, 2005.08.17 (r1046)

    o Added new simple1 example, showing how to retrieve just one
      column from a table.  Old simple1 is now called simple2, and
      simple2 is likewise shifted to simple3.

    o Added custom6 example, showing how to do the same thing with
      SSQLS.

    o Updated user manual to cover new examples.

    o Was accidentally shipping Subversion crap with tarball.  Fixed.


2.0.0, 2005.08.16 (r1031) The "Excess Hair Removal" release

    THIS IS NOT A DROP-IN REPLACEMENT FOR MySQL++ v1.7!

    At minimum, you will have to recompile your program against
    this library.  You may also have to make code changes.
    Please see the "Incompatible Library Changes" chapter of
    the user manual for a guide to migrating your code to this
    new version:

        http://tangentsoft.net/mysql++/doc/html/userman/breakages.html

    o The library's shared object file name (soname) scheme has
      changed.  (This mainly affects POSIX systems.)
      
      The soname for the last 1.7.x releases of MySQL++ was
      libmysqlpp.so.4, meaning the fourth version of the library's
      application binary interface (ABI).  (The first ABI version
      in this scheme was that provided by 1.7.9.)  MySQL++
      2.0.0's soname is libmysqlpp.so.2.0.0.  Since the dynamic
      linker setup on some systems will create a symlink to
      that file called libmysqlpp.so.2, it's possible that this
      library could be confused with that for MySQL++ 1.7.19
      through .21, which also used this number.  Do not install
      this library on a system which still has binaries linked
      against that version of the library!

      The new scheme is {ABI}.{feature}.{bug fix}.  That is,
      the first number changes whenever we break the library's
      binary interface; the second changes when adding features
      that do not break the ABI; and the last changes when the
      release contains only internal bug fixes.  This means
      that we will probably end up with MySQL++ 3.0 and 4.0 at
      some point, so there will be further soname conflicts.
      Hopefully we can put these ABI changes off long enough
      to avoid any real problems.

    o autoconf now installs headers into $prefix/include/mysql++,
      instead of $prefix/include.  If you were using the
      --includedir configure script option to get this behavior
      before, you no longer need it.

    o Linux binary RPMs will henceforth include only the
      libmysqlpp.so.X.Y.Z file, and create any short names
      required, to allow multiple versions to be installed at
      once.  Currently, you cannot install two MySQL++ library
      RPMs at once, because they both have /usr/lib/libmysqlpp.so.X,
      for instance.

    o Replaced the Visual C++ and Borland C++ project files with
      a new "makemake" system, which creates Makefiles specific
      to a particular toolchain.  This new mechanism also supports
      MinGW and generic GCC-on-*ix.  This was done partly to reduce
      the number of places we have to change when changing the
      file names in MySQL++ or adding new ones, and partly so we're
      not tied to one particular version of each of these tools.

    o VC++ Makefiles create a DLL version of the library only
      now, so there's no excuse for LGPL violations now.
      This same mechanism should make DLL builds under other
      Windows compilers easy.

    o Added Connection::enable_ssl(), which enables encrypted
      connections to the database server using SSL.

    o Connection::create_db() and drop_db() now return true on
      success, not false.

    o Connection::create_db() and drop_db() use Query::exec()
      now, for efficiency, rather than Query::execute().

    o Removed Connection::infoo().  Apparently just there to
      save you from a typo when calling the info() method, since
      it was a mere alias.

    o Renamed Connection::real_connect() to connect(), gave
      several more of its parameters defaults, and removed old
      connect() function.  Then changed user manual and examples
      to use new APIs.

    o Replaced Connection::read_option() with new set_option()
      mechanism.  The name change matches the method's purpose
      better.  Functional changes are that it returns true on
      success instead of 0, it supports a broader set of options
      than read_option() did, and it enforces the correct option
      argument type.

    o You can now call Connection::set_option() before the
      connection is established, which will simply queue the option
      request up until the connection comes up.  If you use this
      feature, you should use exceptions, because that's the only
      way an option setting failure can be signalled in this case.

    o Removed query-building functions (exec*(), store*(),
      use()) from class Connection, and moved all the implementation
      code to class Query.  Query no longer delegates the final
      step of sending the query to the database server to
      Connection().

    o Added Connection::enable_ssl(), for turning on SSL support on
      a connection.

    o Extracted exception disabling mechanism out of the many
      classes that had the feature into a new OptionalExceptions
      base class, which all classes having this feature now
      derive from.  Also, removed all per-method exception
      handling flags.  Finally, added NoExceptions class.  With
      all of these changes, there is now a common way to disable
      exceptions with fine granularity on all objects that
      support the feature.

    o All custom MySQL++ exceptions now derive from the new
      Exceptions class.  This regularizes the exception interface
      and allows you to use a single catch() block if you want.

    o The "throw exceptions" flag is passed from parent to child
      in all situations now.  (Or if not, please report it as
      a bug.) This fulfills a promise made in the v1.7.9 user
      manual, with the cost being that some programs will see
      new exceptions thrown that they're not expecting.

    o Added a bunch of new exception types: BadOption,
      ConnectionFailed, DBSelectionFailed, EndOfResults,
      EndOfResultSets, LockFailed, and ObjectNotInitialized.
      Some of these replace the use of BadQuery, which in v1.7.x
      was a kind of generic exception, thrown when something more
      specific wasn't available.  Beware, this means that programs
      may start crashing after recompiling them under v2.0 due to
      uncaught exceptions, if they were only trying to catch BadQuery.

      There are additional instances where the library will
      throw new exceptions.  One is when calling a method that
      forces the internals to use an out-of-bounds index on a
      vector; previously, this would just make the program
      likely to crash.  Another is that the library uses the
      BadFieldName exception -- created in v1.7.30 -- in more
      apropos situations.

    o Renamed SQLQueryNEParms to BadParamCount, to match naming
      style of other concrete exception types.

    o Extracted lock()/unlock() functions from Connection and
      Query classes into a new Lockable interface class.  Locking
      is implemented in terms of a different class hierarchy, Lock,
      which allows multiple locking strategies with a single ABI.

    o Removed ResUse::eof().  It's based on a deprecated MySQL
      C API feature, and it isn't needed anyway.

    o Removed arrow operator (->) for iterator returned by Fields,
      Result and Row containers.  It was inherently buggy, because
      a correct arrow operator must return the address of an
      object, but the underlying element access functions in these
      classes (e.g. at()) return objects by value, of necessity.
      Therefore, this operator could only return the address of
      a temporary, which cannot be safely dereferenced.

    o Returned Row subscripting to something more like the
      v1.7.9 scheme: there are two operator[] overloads, one for an
      integer (field by index) and another for const char* (field
      by name).  lookup_by_name() has been removed.  Because row[0]
      is ambiguous again, added Row::at() (by analogy with STL
      sequence containers), which always works.

    o Collapsed two of the Row::value_list*() overloads into
      two other similar functions using default parameters.
      This changes the API, but the removed functions aren't
      used within the library, and I doubt they are used outside,
      either.

    o Merged RowTemplate into Row.

    o Merged SQLQuery class into Query class.

    o Query is now derived from std::ostream instead of
      std::stringstream, and we manage our own internal string
      buffer.

    o Moved SQLParseElement and SQLQueryParms into their own
      module, qparms.

    o Added multiple result set handling to Query.  MySQL 4.1
      and higher allow you to give multiple SQL statements in a
      single "store" call, which requires extensions to MySQL++
      so you can iterate through the multiple result sets.  Also,
      stored procedures in MySQL 5.0 reportedly return multiple
      result sets.  Thanks for the initial patch go to Arnon Jalon;
      I reworked it quite a bit.

    o Query::storein*() now supports more varieties of the
      nonstandard slist comtainer.  (Singly-linked version of
      STL std::list.)

    o Template query mechanism and user manual had several
      mismatches.  Made manual match actual behavior, or
      made library match documented behavior, as apropriate.
      Initial patch by Jürgen MF Gleiss, with corrections and
      enhancements by Warren Young.

    o Collapsed mysql_* date and time base classes' methods and
      data into the subclasses.  Also, DateTime no longer derives
      from Date and Time; you could get away with that in the
      old hierarchy, but now it creates an inheritance diamond,
      and allows unsupported concepts like comparing a Time to
      a DateTime.

    o Removed "field name" form of Row::field_list().  It was
      pretty much redundant -- if you have the field names, why
      do you need a list of field names?

    o ColData can convert itself to bool now.  Thanks for this
      patch go to Byrial Jensen.

    o Removed simp_list_b type; wasn't being used, and doesn't
      look to be useful for end-user code.

    o Several methods that used to take objects by value now
      do so by const reference, for efficiency.

    o Several variable and function renamings so that MySQL++
      isn't needlessly tied to MySQL.  Even if we never make
      the library work with other database servers, there's
      little point in tying this library to MySQL blindly.

    o Renamed all private data members of MySQL++ classes to
      have trailing underscores.

    o 'private' section follows 'public' section in all classes
      now.

    o Removed mysql++.hh and sqlplus.hh backwards-compatibility
      headers.

    o Added copy ctors to Date/Time classes so that they will
      work in SSQLS under GCC 4.0.0.  Without these, the compiler
      couldn't make the conversion from raw MySQL row data.

    o Fixed a bunch of GCC 4.0 pedantic warnings: added virtual
      dtors to all base classes, calling base class ctors from leaf
      classes, etc.

    o All warnings fixed under VC++ at warning level 3.  (Mostly
      harmless signedness and integer conversion stuff.)

    o Updated LGPL license/copyright comments at the top of
      several files to use FSF's new physical address.

    o Relicensed user manual under a close variant of the Linux
      Documentation Project License, as it's designed for
      documentation, which the LGPL is not.  Permission for this
      received from Kevin Atkinson and MySQL AB.

    o Added ABI and API breakages chapter to user manual.  It
      is basically a subset of this ChangeLog, with only the
      information an end-user must know when migrating between
      versions.

    o Reworked user manual's DocBook code quite a bit after
      reading Bob Stayton's book "DocBook XSL" 3/e.  Better handling
      of stylesheets, taking advantage of some superior DocBook
      features, prettier output (especially the HTML version), etc.

    o Rewrote doc/userman/README to make it clearer how to get
      started contributing to the user manual.  It's essentially a
      "getting started with DocBook" guide now!

    o Lots of small text improvements to user and reference
      manuals.  Aside from the obvious tracking of library changes,
      made a bunch of minor style and clarity improvements.

    o Added CSS stylesheets for userman and refman to
      make the HTML versions of each a) not ugly; and b) match
      tangentsoft.net.  (Yes, some may say that these are incompatible
      goals....)

    o Standardized exception handling code in the examples that
      use it.

    o Fixed a potential memory leak due to exceptions thrown from
      ResUse.  Thanks for this patch go to Chris Frey.

    o Using new "no exceptions" feature of library in simple1
      example, so it is now truly simple.

    o simple1 example no longer depends as much on util module, so
      that all of the important code is in one place.  Makes
      learning MySQL++ a little less intimidating.

    o Added new simple2 and usequery examples, to demonstrate
      the proper way to handle a "use" query, with exceptions
      disabled, and not, respectively.  Added them to the user
      manual, in the appropriate place.

    o Refactored the "print stock table" example functions
      again, to make code using them clearer.

    o UTF-8 to UCS-2 handling in examples is now automatic on
      Windows.

    o Removed debug code from Windows Unicode output examples
      that slipped into previous release.

    o resetdb example is now clearer, and more robust in the
      face of database errors.

    o Simplified connect_to_db() in examples' util module.

    o Added sample autoconf macro for finding MySQL++ libraries, for
      people to use in their own autotools-based projects.

    o Lots and lots of minor cleanups not worth mentioning
      individually...


1.7.40, 2005.05.26 (r719)

    o Multiple item form of insert() now works if you're using the
      SQLQuery class, or its derivative, Query.  Thanks to Mark
      Meredino for this patch.

    o Fixed a bug in const_string::compare(), in which MySQL++
      would walk off the end of the shorter of the two strings.
      All was well if the two were the same length.

    o ResUse::operator=() now fully updates the object, so it's more
      like the behavior of the full ctor.

    o All source files now contain a license and copyright statement
      somewhere within them.

    o Optimized mysql++.h a bit: it now #includes only the minimum set
      of files required, and there is now an idempotency guard.
      This improves compile times a smidge, but mainly it was
      done to clean up the generated #include file graph in the
      reference manual.  Before, it was a frightful tangle because
      we #included everything except custom*.h.

    o Constness fix in MySQL++ date/time classes to avoid compiler
      warnings with SSQLS.  Thanks to Wolfram Arnold for this patch.

    o Fixed some compiler warnings in custom*.h.  Thanks to Chris Frey
      for this patch.

    o Added "Submitting Patches" and "Maintaining a Private CVS
      Repository" sections to the HACKERS file.  Thanks to Chris
      Frey for the source material for these sections.  The HACKERS
      file was improved in several other ways at the same time.

    o PDF version of user manual no longer has links to the reference
      manual.  They were ugly, and they were broken anyway due to the
      way we move the PDFs after generating them.  If you want
      interlinked manuals, use the HTML version.

    o PDF version of user manual now has hard page breaks between
      chapters.

    o Removed complic1 example.  Wasn't pulling its own weight.
      Everything it is supposed to demonstrate is shown in other
      examples already.

    o Refactored print_stock_table() in examples/util module to be
      four functions, and made all the examples use various of
      these functions where appropriate.  Before, several of
      the examples had one-off stock table printing code because
      print_stock_table() wasn't exactly the right thing, for one
      reason or another.  One practical problem with this is that
      some of the examples missed out on the recent Unicode updates;
      now such a change affects all examples the same way.

    o Since so many of the examples rely on the util module, the user
      manual now covers it.  The simple1 example in the user manual
      didn't make much sense before, in particular, because it's
      really just a driver for the util module.

    o Added custom5 example.  It shows how to use the equal_list()
      functionality of SSQLS.  Thanks to Chris Frey for the original
      version of this program.  (I simplified it quite a bit after
      accepting it.)

    o New user manual now covers the value_list(), equal_list() and
      field_list() stuff that the old manual covered but which was
      left out in previous versions of the new manaul.  Most of the
      examples are the same, but the prose is almost completely new.
      This new section includes the custom5 example.

    o Every declaration in MySQL++ is now documented in the reference
      manual, or explicitly treated as "internal only".

    o Improved docs for MySQL++'s mechanism to map between MySQL
      server types and C++ types.  Initial doc patch by Chris Frey,
      which I greatly reworked.

    o Improved a lot of existing reference manual documentation while
      adding the new stuff.

    o Expanded greatly on the exception handling discussion in the user
      manual.

    o Added all-new "Quoting and Escaping" section to the user
      manual's Tutorial chapter.  Moved some existing comments on
      quoting and escaping around and added some new ones to other
      sections as a result.

    o Added all-new "Handling SQL Nulls" section to the user manual's
      Tutorial chapter.

    o Many improvements to the Overview section of the user manual.

    o Row::operator[] reference now explains the right and wrong way to
      use the values it returns.  This is in response to a mailing list
      post where someone was incorrectly using this feature and getting
      a bunch of dangling pointers.

    o Updated Doxyfile so 1.3.19.1 parses it without warnings.  Still
      works with versions back to 1.2.18, at least.  (These are
      the versions shipped with Fedora Core 3 and Red Hat Linux 9,
      respectively.)

    o Using a superior method to make Doxygen ignore certain sections
      of the source code.  Between this change and the fact that
      everything not so ignored is documented, Doxygen no longer
      generates any warnings.

    o Lots of code style updates.  Everything should now be consistently
      formatted.


1.7.35, 2005.05.05 (r601) The "Cinco de Mayo" release

    o Added a "how to use Unicode with MySQL++" chapter to the user
      manual.  (Too bad "Cinco de Mayo" doesn't have any accented
      characters.  That would be just _too_ precious.)

    o VC++ examples now use the Unicode Win32 APIs, so they can display
      Unicode data from MySQL++.

    o Added an optional conversion function to examples/util.cpp to
      handle the conversion from UTF-8 to UCS-2 on Win32.

    o Moved "brief history of MySQL++" from intro section of refman to
      intro section of userman.

    o Lots of small bits of documentation polishing.
    
    o Made some minor constness fixes.  Thanks to Erwin van Eijk
      for this patch.

    o Made some warning fixes for GCC 4.0.  Not all warnings are
      fixed, because some of the needed changes would break the ABI.
      Thanks to Chris Frey for this patch.

    o Added lib/Doxyfile to distribution.
    

1.7.34, 2005.04.30 (r573)

    o Added a multiple-insert method for Query, which lets you insert
      a range of records from an STL container (or the whole thing,
      if you like) in a single SQL query.  This is faster, and it
      reduces coding errors due to less repetition.  Thanks to Mark
      Meredino for the patch.

    o Reference and user manual now get rebuilt automatically when
      required.  (E.g. on 'make dist', or explicitly now through 'make
      docs'.)

    o Made it easier to change the maximum number of SSQLS data members
      in generated custom-macros.h file.  It used to be hard-coded in
      several places in lib/custom.pl; now it's a variable at the top of
      the file.

    o Changed default SSQLS data member limit to 25, which is what it
      has been documented as for a long time now.  It was actually 26
      within custom.pl.

    o Fixed a regression in previous version.

    o Trimmed some fat from the distribution packages.

    o Some more small doucmentation improvements.


1.7.33, 2005.04.29 (r555)

    o Worked around an overloaded operator lookup bug in VC++ 7.1
      that caused SSQLS insert, replace and update queries to get
      mangled.  (Symptom was that custom2 and custom3 examples didn't
      work right.)  Thanks to Mark Meredino for digging up the
      following, which explains the problem and gives the solution:

      http://groups-beta.google.com/group/microsoft.public.vc.stl/browse_thread/thread/9a68d84644e64f15

    o Some VC++ warning fixes.

    o Major documentation improvements:
    
        o Using DocBook for user manual and Doxygen for reference
          manual.  The former now references the latter where
          useful.

        o Split out HACKERS and CREDITS files from main README,
          and improved remaining bits of README.

        o Moved the text from the old v1.7.9 LaTeX-based
          documentation over into the new systems, and reworked
          it to more closely resemble English.

        o Added a lot of new material to documentation, and
          simplified a lot of what already existed.

        o Documentation is now being built in HTML and PDF forms.

    o ebuild file updated to take advantage of recent configure script
      features.  Thanks to Chris Frey for this patch.



1.7.32, 2005.03.10 (r479)

    o Example building may now be skipped with --disable-examples
      configure script flag.

    o Changed stock items added in resetdb.  One is now UTF-8 encoded,
      to show that basic use of Unicode with MySQL++ is easy, yet not
      foolproof.  (See formatting of table on systems where cout isn't
      UTF-8 aware!)  Other stock items now follow a theme, for your
      amusement.  :)

    o custom3 example now changes UTF-8 item's name to the 7-bit ASCII
      equivalent.  Previously, this example would fix a spelling error
      in the table.

    o resetdb example now says 'why' when it is unable to create the
      sample database.

    o Small formatting change to print_stock_table(), used by several
      examples.

    o Was issuing a VC++-specific warning-disable pragma when built by
      any Windows compiler.  Fixed.
    

1.7.31, 2005.03.05 (r462) The "Inevitable Point-one Followup" release

    o Check for threads support must now be explicitly requested via
      configure script's new --enable-thread-check flag.

    o Fix for contacting MySQL server on a nonstandard port number.
      Thanks to Chris Frey for this patch.

    o Example programs using standard command line format now accept a
      fourth optional parameter, a port number for the server.  Thanks
      to Chris Frey for this patch.

    o One more g++ 3.4 pedantic warning fix by Chris Frey.

    o Exception handling in resetdb is no longer nested, because you'd
      get a segfault on some systems when an exception was thrown from
      one of the inner try blocks.

    o Improvements to Connection class's handling of locking mechanism.
      Concept based on patches by Rongjun Mu.

    o Implemented the declared-but-never-defined Query::lock().  Thanks
      to Rongjun Mu for this patch.
    
    o Cleaned up some unclear if/else blocks in connection.cpp by
      adding explicit braces, correct indenting and putting normal
      code path in the if side instead of the else.


1.7.30, 2005.02.28 (r443) The "Power of Round Numbers" release

    o bootstrap script now accepts a 'pedantic' argument, which sets a
      bunch of CFLAGS that make g++ very picky about the code it
      accepts without warnings.
      
    o Fixed a bunch of things that generated warnings with g++ in
      pedantic mode. Only two warnings remain, having to do with
      floating point comparisons.  (See Wishlist for plans on how to
      deal with these.)  Thanks to Chris Frey for this patch.

    o Split long tests out of configure.in into M4 files in new config
      subdir.  This makes configure.in easier to read.

    o Added preliminary thread support.  Currently, this just means that
      we detect the required compiler and linker thread flags, and link
      against the proper thread-safe libraries.  THERE MAY BE
      UN-THREAD-SAFE CODE IN MYSQL++ STILL!

    o Standard C++ exceptions are the default now.  Old pre-Standard
      exception stuff removed.

    o Row::lookup_by_name() will throw the new BadFieldName exception if
      you pass a bad field name.  Thanks for this patch to Chris Frey.

    o Row::operator[] will throw a Standard C++ out of bounds exception
      by way of std::vector::at() if you pass it a bad index.  Thanks
      for this patch to Chris Frey.

    o Setting Connection::is_connected flag to false on close().
      Previously, is_connected() would continue to return true after
      close() was called.

    o All number-to-string conversion ctors in SQLString class now use
      ostringstream to do the conversion.  Previously, we used
      snprintf(), which isn't available on all systems.  Also, we used a
      C99 format specifier for the "long long" conversion, which is also
      not available on all systems.  This new ostringstream code should
      be platform-independent, finally.


1.7.28, 2005.02.04 (r403)

    o --with-mysql* flags to configure script now try the given
      directory explicitly, and only if that fails do they try
      variations, like tacking '/lib' and such onto it to try and find
      the MySQL includes and libraries.  Thanks to Matthew Walton for
      the patch.

    o Finally removed sql_quote.h's dependence on custom.h, by moving
      the one definition it needed from custom.h to deps.h.  This will
      help portability to compilers that can't handle the SSQLS macros,
      by making that part of the library truly optional.


1.7.27, 2005.01.12 (r395)

    o configure check for libmysqlclient now halts configuration if the
      library isn't found.  Previously, it would just be flagged as
      missing, and MySQL++ would fail to build.

    o Added sql_string.cpp to VC++ and BCBuilder project files.

    o Removed Totte Karlsson's 'populate' example, which never made it
      into the distribution anyway.

    o Removed last vestiges of 'dummy.cpp'.

    o Renamed *.cc to *.cpp in BCBuilder project files.

    o Worked around a BCBuilder C++ syntax processing bug in row.h.


1.7.26, 2004.12.17 (r382)

    o Moved all of the SQLString definitions out of the header and into
      a new .cpp file, reformatted it all, and made the integer
      conversion functions use snprintf() or _snprintf() instead of
      sprintf().  Also, widened some of the buffers for 64-bit systems.

    o Using quoted #include form for internal library headers, to avoid
      some problems with file name clashes.  (The headers should still
      be installed in their own separate directory for best results,
      however.)  Thanks to Chris Frey and Evan Wies for the patch and
      the discussion that lead to it.

    o Removed unnecessary semicolons on namespace block closures.
      Thanks to Evan Wies for this patch.

    o Fixed namespace handling in the legacy headers mysql++.hh and
      sqlplus.hh.  Thanks to Chris Frey for this patch.

    o #including iostream instead of ostream in lib/null.h for
      broader C++ compatibility.  (This may allow MySQL++ to work on GCC
      2.95.2 again, but this is unconfirmed.)

    o Detecting proper mysql_shutdown() argument handling automatically
      in platform.h for the Windows compiler case instead of making the
      user edit the file.  Thanks to Evan Wies for this patch.
    
    o Fixed examples/Makefile.simple to use new *.cpp file naming.

    o Fix to Gentoo ebuild file's exception configure switch handling.
      Thanks to Chris Frey for this patch.

    o Rebuilding lib/custom*.h intelligently now, to avoid unnecessary
      recompiles after running bootstrap script.


1.7.25, 2004.12.09 (r360)

    o Yet more fixes to the --with-mysql-lib and --with-mysql-include
      flags.

    o Added DLLEXPORT stuff to platform.h, hopefully so that someone
      can figure out how to make VC++ make a DLL version of MySQL++.

    o Renamed *.cc to *.cpp.

    o Made 'set -> myset' change in VC++ project files.

    o Some style changes (mostly whitespace) in header files.


1.7.24, 2004.12.08 (r343)

    o Fixed the --with-mysql-lib and --with-mysql-include flags'
      behavior, and extended their search ability to handle one other
      common case.  (Fixed by Steve Roberts)

    o Fixes to put freestanding functions in namespace mysqlpp.  (They
      weren't in the namespace, while all the class member functions
      were.)  This required bumping the ABI version number to 4.
      
    o Renamed set module to myset, to avoid conflicts with Standard C++
      Library's set.h when MySQL++ headers were installed into one of
      the standard system include directories.

    o Renamed all the idempotency guards to make them consistent in
      style and unique to MySQL++.

    o Reformatted all of lib/*.cc.


1.7.23, 2004.11.20 (r333)

    o Query::reset() now empties the stored query string.  If you
      subsequently stored a longer query in the object, you'd overwrite
      the previous query, but otherwise the longer part of the previous
      one would stick out past the new query.

    o We now look to the NO_LONG_LONGS macro only to decide whether to
      fake 64-bit integer support using 32-bit integers.

    o 64-bit integer support under Visual C++ may be working now, using
      that platform's __int64_t type.  This has not been tested.

    o Removed 64-bit integer support for Codewarrior on Mac OS 9 and
      earlier.  OS X uses GCC, so it requires no special support.

    o Added MinGW detection in platform.h.
    
    o If you pass a flag (-X) to the examples that take the standard
      parameters (resetdb, simple1, etc.), it prints a usage message.
    
    o Better error handling in resetdb example, where errors are the
      most critical.  (If that one runs without errors, the others
      probably will, too, and you have to run that one first.)

    o resetdb now reports success, rather than succeeding silently.

    o Removed the code in sample1 example that duplicated util module's
      print_stock_table(), and called that function instead.

    o Moved the preview() calls in the example programs to before the
      query execution calls, because execution modifies the query.

    o All examples that take the standard command line parameters now 
      exit when connect_to_db() fails in one of the ways that don't
      throw an exception, rather than bulling onward until the next
      MySQL database call fails because the connection isn't up.

    o dbinfo example now takes the standard command line parameters.

    o Much better output formatting in dbinfo example.

    o Calling reset() where appropriate in the various example programs.
      Before, the programs may have worked, but not for the right
      reason.  This lead some people to believe that calling reset()
      was not necessary.

    o Fixed an incorrect use of row["string"] in complic1 example.

    o Lots of code style improvements to the examples.

    o Some VC++ type warnings squished.  Some remain.
    

1.7.22, 2004.11.17 (r302)

    o Applied patches by Zahroof Mohammed to allow it to build under GCC
      3.4.2.  Tested on MinGW and Fedora Core 3 systems.

    o Removed all the forward declarations in defs.h, and added
      forward declarations where necessary in individual header files.
      #including defs.h in fewer locations as a result.

    o Legacy headers sqlplus.hh and mysql++.hh now declare they are
      using namespace mysqlpp, to allow old code to compile against the
      new library without changes.

    o Removed query_reset parameter from several class Query member
      functions.  In the implementation, these parameters were always
      overridden!  No sense pretending that we pay attention to these
      parameters.  This changes the ABI version to 3.

    o #including custom.h in sql_query.h again...it's necessary on GCC
      3.4.
    
    o bootstrap script runs lib/config.pl after configure.  This is
      just a nicety for those running in 'maintainer mode'.


1.7.21, 2004.11.05 (r273)

    o Generating a main mysql++ RPM containing just the library files
      and basic documentation, and the -devel package containing
      everything else.

    o Devel package contains examples now, along with a new Makefile
      that uses the system include and library files, rather than the
      automake-based Makefile.am we currently have which uses the files
      in the mysql++ source directory.

    o Renamed sqlplusint subdirectory in the package to lib.

    o Removed the obsolete lib/README file.

    o lib/sql_query.h no longer #includes custom.h, simplifying
      build-time dependencies and shortening compile times.


1.7.20, 2004.11.03 (r258)

    o Collapsed all numbered *.hh headers into a single *.h file.  For
      example, the contents of row1.hh, row2.hh and row3.hh are now in
      row.h.

    o While doing the previous change, broke several circular
      dependencies.  (The numbered file scheme was probably partly done
      to avoid this problem.)  The practical upshot of most of these
      changes is that some functions are no longer inline.

    o Removed define_short.hh and everything associated with it.  The
      library now uses the short names exclusively (e.g. Row instead of
      MysqlRow).

    o Put all definitions into namespace mysqlpp.  For most programs,
      simply adding a 'using namespace mysqlpp' near the top of the
      program will suffice to convert to this version.

    o Once again, the main include file was renamed, this time to
      mysql++.h.  Hopefully this is the last renaming!

    o mysql++.hh still exists.  It emits a compiler warning that the
      file is obsolete, then it #includes mysql++.h for you.

    o sqlplus.hh is back, being a copy of the new mysql++.hh.  Both of
      these files may go away at any time.  They exist simply to help
      people transition to the new file naming scheme.

    o Renamed mysql++-windows.hh to platform.h, and added code to it to
      handle #inclusion of config.h on autotools-based systems
      intelligently.  This fixes the config.h error when building under
      Visual C++.

    o There is now only one place where conditional inclusion of
      winsock.h happens: platform.h.

    o Beautified the example programs.


1.7.19, 2004.10.25 (r186)

    o Fixed an infinite loop in the query mechanism resulting from the
      strstream change in the previous version.  There is an overloaded
      set of str() member functions that weren't a problem when query
      objects were based on strstream.
     
    o Query mechanism had a bunch of const-incorrectness: there were
      several function parameters and functions that were const for
      the convenience of other parts of the code, but within these
      functions the constness was const_cast away!  This was evil
      and wrong; now there are fewer const promises, and only one is
      still quietly broken within the code.  (It's in the SQLQuery
      copy ctor implementation; it should be harmless.)

    o Removed operator=() in Query and SQLQuery classes.  It cannot take
      a const argument for the same reason we have to cast away const
      in the SQLQuery copy ctor.  It's tolerable to do this in the copy
      ctor, but intolerable in an operator.  Since the copy ctor is good
      enough for all code within the library and within my own code, I'm
      removing the operator.

    o Above changes required bumping the ABI to version 2.

    o Visual C++ projects now look for MySQL build files in c:\mysql,
      since that's the default install location.  (Previously, it was
      c:\program files\mysql.)


1.7.18, 2004.10.01 (r177)

    o Changed all the strstream (and friends) stuff to stringstream type
      classes.  Let there be much rejoicing.

    o Query object now lets you use store() even when the SQL query
      cannot return a result, such as a DROP TABLE command.  This is
      useful for sending arbitrary SQL to the server.  Thanks to
      Jose Mortensen for the patch.

    o Quote fix in configure.in, thanks to David Sward.

    o Renamed undef_short file to undef_short.hh.

    o Gentoo ebuild file is actually being shipped with the tarball,
      instead of just sitting in my private CVS tree since 1.7.14 was
      current.  Ooops....


1.7.17, 2004.09.16 (r170)

    o Reverted one of the VC++ warning fix changes from 1.7.16 that
      caused crashes on Linux.

    o Added a configure test that conditionally adds the extra 'level'
      parameter to mysql_shutdown() that was added in MySQL 4.1.3 and
      5.0.1.


1.7.16, 2004.09.13 (r160)

    o Building VC++ version with DLL version of C runtime libraries, and
      at warning level 3 with no warnings emitted.

    o VC++ build no longer attempts to fake "long long" support.  See
      the Wishlist for further thoughts on this.


1.7.15, 2004.09.02 (r144)

    o Renamed Configure file to common.am, to avoid file name conflict
      with configure script on case-sensitive file systems.

    o Added ebuild file and ebuild target to top-level Makefile for
      Gentoo systems.  Thanks to Chris Frey for this.

    o Small efficiency improvements to BadQuery exception handling.
      Initial idea by Chris Frey, improvements by Warren Young.


1.7.14, 2004.08.26 (r130)

    o Builds with Visual C++ 7.1.

    o Fixed a bug in custom macro generation that caused problems with
      GCC 3.4.  (X_cus_value_list ctor definition was broken.)


1.7.13, 2004.08.23 (r92)

    o Removed USL CC support.  (System V stock system compiler.)  Use
      GCC on these platforms instead.

    o Added examples/README, explaining how to use the examples, and
      what they all do.

    o Most of the example programs now accept command line arguments for
      host name, user name and password, like resetdb does.

    o Renamed sinisa_ex example to dbinfo.

    o Several Standard C++ syntax fixes to quash errors emitted by
      GCC 3.4 and Borland C++ Builder 6.  Thanks to Steffen Schumacher
      and Totte Karlsson for their testing and help with these.

    o Added proper #includes for BCBuilder, plus project files for same.
      Thanks to Totte Karlsson for these.


1.7.12, 2004.08.19 (r63)

    o Many Standard C++ fixes, most from the GCC 3.4 patch by
      Rune Kleveland.

    o Added Wishlist file to distribution.

    o Fixed a problem in the bootstrap script that caused complaints
      from the autotools on some systems.

    o RPM building is working properly now.

    o Fixed the idempotency guard in datetime1.hh.


1.7.11, 2004.08.17 (r50)

    o Renamed mysql++, defs and define_short files, adding .hh to the
      end of each.  (They're header files!)  This shouldn't impact
      library users, since these are hopefully used internal to the
      library only.

    o Removed sqlplus.hh file.  Use mysql++.hh instead.
    
    o Added mysql++.spec, extracted from contributed 1.7.9 source RPM, 
      and updated it significantly.  Also, added an 'rpm' target to
      Makefile.am to automate the process of building RPMs.

    o Added bootstrap and LGPL files to distribution tarball.

    o Added pre-1.7.10 history to this file.

    o Removed .version file.  Apparently it's something required by old
      versions of libtool.


1.7.10, 2004.08.16 (r27)

    o Maintenance taken over by Warren Young (mysqlpp at etr dash usa
      dot com.) See http://lists.mysql.com/plusplus/3326 for details.

    o Applied many of the GCC 3.x patches submitted for 1.7.9 over
      the years.  This allows it to build on everything from 3.0 to
      3.3.3, at least.  Because so many patches are rolled up in one
      big jump, it's difficult to describe all the changes and where
      they came from.  Mostly they're Standard C++ fixes, as GCC
      has become more strict in the source code that it will accept.

    o MysqlRow used to overload operator[] for string types as well as
      integers so you could look up a field by its name, rather than by
      its index.  GCC 3.3 says this is illegal C++ due to ambiguities in
      resolving which overload should be used in various situations.
      operator[] is now overloaded only for one integer type, and a
      new member function lookup_by_name() was added to maintain the old
      by-field-name functionality.

    o Fixed another operator overloading problem in SSQLS macro
      generation with GCC 3.3.

    o The _table member of SSQLS-defined structures is now const char*,
      so you can assign to it from a const char* string.

    o Got autoconf/automake build system working with current versions
      of those tools again.  Removed the generated autotools files from
      CVS.

    o Renamed library file from libsqlplus to libmysqlpp.


1.7.9 (May 1 2001) Sinisa Milivojevic <sinisa@mysql.com>

    * Fixed a serious bug in Connection constructor when reading MySQL
    * options
    * Improved copy constructor and some other methods in Result /
    * ResUse
    * Many other minor improvements
    * Produced a complete manual with chapter 5 included
    * Updated documentation, including a Postscript format

1.7.8 (November 14 2000) Sinisa Milivojevic <sinisa@mysql.com>

    * Introduced a new, standard way of dealing with C++ exceptions.
    * MySQL++ now supports two different methods of tracing exceptions.
    * One is by the fixed type (the old one) and one is standard C++
    * type by the usage of what() method. A choice of methods has to be
    * done in building a library. If configure script is run with
    * -enable-exception option , then new method will be used. If no
    * option is provided, or -disable-exception is used, old MySQL++
    * exceptions will be enforced. This innovation is a contribution of
    * Mr. Ben Johnson <ben@blarg.net>
    * MySQL++ now automatically reads at connection all standard MySQL
    * configuration files
    * Fixed a bug in sql_query::parse to enable it to parse more then 99
    * char's
    * Added an optional client flag in connect, which will enable usage
    * of this option, e.g. for getting matched and not just affected
    * rows. This change does not require any changes in existing
    * programs
    * Fixed some smaller bugs
    * Added better handling of NULL's. Programmers will get a NULL
    * string in result set and should use is_null() method in ColData to
    * check if value is NULL
    * Further improved configuration
    * Updated documentation, including a Postscript format

1.7.6 (September 22 2000) Sinisa Milivojevic <sinisa@mysql.com>

    * This release contains some C++ coherency improvements and scripts
    * enhacements
    * result_id() is made available to programmers to fetch
    * LAST_INSERT_ID() value
    * Connection constroctur ambiguity resolved, thanks to marc@mit.edu
    * Improved cnnfigure for better finding out MySQL libraries and
    * includes
    * Updated documentation, including a Postscript format

1.7.5 (July 30 2000) Sinisa Milivojevic <sinisa@mysql.com>

    * This release has mainl bug fixes  and code improvements
    * A bug in FieldNames::init has been fixed, enabling a bug free
    * usage of this class with in what ever a mixture of cases that is
    * required
    * Changed behaviour of ResUse, Result and Row classes, so that they
    * could be re-used as much as necessary, without any memory leaks,
    * nor with any re-initializations necessary
    * Fixed all potential leaks that could have been caused by usage of
    * delete instead of delete[] after memory has been allocated with
    * new[]
    * Deleted all unused classes and macros. This led to a reduction of
    * library size to one half of the original size. This has
    * furthermore brought improvements in compilation speed
    * Moved all string manipulation from system libraries to
    * libmysqlclient, thus enabling uniformity of code and usage of 64
    * bit integers on all platforms, including Windows, without
    * reverting to conditional compilation. This changes now requires
    * usage of mysql 3.23 client libraries, as mandatory
    * Changed examples to reflect above changes
    * Configuration scripts have been largely changed and further
    * changes shall appear in consecutive sub-releases. This changes
    * have been done and shall be done by our MySQL developer Thimble
    * Smith <tim@mysql.com>
    * Changed README, TODO and text version of manual. Other versions of
    * manual have not been updated
    * Fixed .version ``bug''. This is only partially fixed and version
    * remains 1.7.0 due to some problems in current versions of libtool.
    * This shall be finally fixed in a near future
    * Several smaller fixes and improvements
    * Added build.sh script to point to the correct procedure of
    * building of this library. Edit it to add configure options of your
    * choice

1.7 (May17 2000) Sinisa Milivojevic <sinisa@mysql.com>

    * This is mainly a release dealing with bug fixes, consistency
    * improvements and easier configure on some platforms
    * A bug in fetch_row() method of ResUse class has been fixed. Beside
    * changes that existed in a distributed patch, some additional error
    * checking has been introduced
    * A bug in escape manipulator has been fixed that could cause an
    * error if all characters had to be escaped
    * An inconsistency in column indexing has been fixed. Before this
    * version, column names in row indexing with strings, i.e.
    * row[<string>] , has been case sensitive, which was inconsistent
    * with MySQL server handling of column names
    * An inconsistency in conversion from strings to integers or floats
    * has been fixed. In prior version a space found in data would cause
    * a BadConversion exception. This has been fixed, but 100%
    * consistency with MySQL server has not been targeted, so that other
    * non-numeric characters in data will still cause BadConversion
    * exception or error. As this API is used in applications, users
    * should provide feedback if full compatibility with MySQL server is
    * desired, in which case BadConversion exception or error would be
    * abolished in some of future versions
    * A new method in ColData class has been introduced. is_null()
    * method returns a boolean to denote if a column in a row is NULL.
    * Finally, as of this release, testing for NULL values is possible.
    * Those are columns with empty strings for which is_null() returns
    * true.
    * Some SPARC Solaris installations had C++ exception problems with
    * g++ 2.95.2 This was a bug that was fixed in GNU gcc, as from
    * release 2.95 19990728. This version was thoroughly tested and is
    * fully functional on SPARC Solaris 2.6 with the above version of
    * gcc.
    * A 'virtual destructor ' warning for Result class has been fixed
    * Several new functions for STL strings have been added. Those
    * functions (see string_util.hh) add some of the functionality
    * missing in existing STL libraries
    * Conversion for 64 bit integers on FreeBSD systems has been added.
    * On those systems _FIX_FOR_BSD_ should be defined in CXXFLAGS prior
    * to configuring. Complete conversion to the usage of functions for
    * integer conversion found in mysqlclient library is planned for one
    * of the next releases
    * A completely new, fully dynamic, dramatic and fully mutable result
    * set has been designed and will be implemented in some of 2.x
    * releases
    * Several smaller fixes and improvements, including defaulting
    * exceptions to true, instead of false, as of this version
    * An up-to-date and complete Postscript version of documentation is
    * included in this distribution
    * Large chunks of this manual are changed, as well as README and
    * TODO files.

1.6 (Feb 3 2000) Sinisa Milivojevic <sinisa@mysql.com>

    * This is a major release as it includes new features and major
    * rewrites
    * Automatic quoting and escaping with streams. It works
    * automatically , depending on the column type. It will work with <<
    * on all ostream derived types. it is paricularly handy with query
    * objects and strstreams. Automatic quoting and escaping on cout,
    * cerr and clog stream objects is intentionally left out, as quoting
    * / escaping on those stream objects is not necessary. This feature
    * can be turned of by setting global boolean dont_quote_auto to
    * true.
    * Made some major changes in code, so that now execute method should
    * be used only with SSQL and template queries, while for all other
    * query execution of UPDATE's, INSERT's, DELETE's, new method exec()
    * should be used. It is also faster.
    * New method get_string is inroduced for easier handling / casting
    * ColData into C++ strings.
    * Major rewrite of entire code, which led to it's reduction and
    * speed improvement. This also led to removal of several source
    * files.
    * Handling of binary data is introduced. No application program
    * changes are required. One of new example programs demonstrates
    * handling of binary data
    * Three new example programs have been written and thoroughly
    * tested. Their intention is to solve some problems addressed by
    * MySQL users.
    * Thorough changes is Makefile system has been made
    * Better configuration scripts are written, thanks to D.Hawkins
    * <dhawkins@cdrgts.com>
    * Added several bug fixes
    * Changed Manual and Changelog

1.5 (Dec 1 1999) Sinisa Milivojevic <sinisa@mysql.com>

    * Fixed bug in template queries, introduced in 1.4 (!)
    * Fixed connect bug
    * Fixed several bug in type_info classes
    * Added additional robustness in classes
    * Added additional methods for SQL type info
    * Changed Changelog and README

1.4 (Nov 25 1999) Sinisa Milivojevic <sinisa@mysql.com>

    * Fixed bug in store and storein methods
    * Fixed one serious memory leak
    * Fixed a very serious bug generated by gcc 2.95.xx !!
    * Added robustness in classes, so that e.g. same query and row
    * objects can be re-used
    * Changed sinisa_ex example to reflect and demonstrate this
    * stability
    * Changed Changelog and README
    * Few other bug fixes and small improvements and speed-ups

1.3 (Nov 10 1999) Sinisa Milivojevic <sinisa@mysql.com>

    * Fixed several erronous definitions
    * Further changed source to be 2.95.2 compatible
    * Expunged unused statements, especially dubious ones, like use of
    * pointer_tracker
    * Corrected bug in example file fieldinf1
    * Finally fixed mysql_init in Connection constructor, which provided
    * much greater stability !
    * Added read and get options, so that clients, like mysqlgui can use
    * it
    * Changed Changelog and README
    * Many other bug fixes.

1.2 (Oct 15 1999) Sinisa Milivojevic <sinisa@mysql.com>

    * First offical release. Version 1.0 and 1.1 were releases by Sinisa
    * before I (Kevin Atkinson) made him the offical maintainer,
    * Many manual fixes.
    * Changed README and Changelog
    * Changed source to be compilable by gcc 2.95.xx, tribute to Kevin
    * Atkinson <kevinatk@home.com>
    * Added methods in Connection class which are necessary for
    * fullfilling administrative functions with MySQL
    * Added many bug fixes in code pertaining to missing class
    * initializers , as notified by Michael Rendell <michael@cs.mun.ca>
    * Sinisa Milivojevic <sinisa@mysql.com> is now the offical
    * maintainer.

1.1 (Aug 2 1999) Sinisa Milivojevic <sinisa@mysql.com>

    * Added several bug fixes
    * Fixed memory leak problems and variables overlapping problems.
    * Added automake and autoconf support by loic@ceic.com
    * Added Makefile for manual
    * Added support for cygwin
    * Added example sinisa_ex (let modesty prevail) which used to crash
    * a lot when memory allocation, memory leak and overlap problems
    * were present. Smooth running of this example proves that all those
    * bugs are fixed
    * Corrected bugs in sql_query.cc regarding delete versus delete[]
    * and string length in manip.cc
    * Changed manual
    * Changed README
    * Many other smaller things

1.0 (June 9 1999) Michael Widenius <monty@monty.pp.sci.fi>

    * Added patches from Orion Poplawski <orion@bvt.com> to support the
    * UnixWare 7.0 compiler

.64.1.1a (Sep 27 1998)

    * Fixed several bugs that caused my library to fail to compile with
    * egcs 1.1. Hopefully it will still compile with egcs 1.0 however I
    * have not been able to test it with egcs 1.0.
    * Removed some problem causing debug output in sql++pretty.

.64.1a (Aug 1 1998)

    * Added an (almost) full guide to using Template Queries.
    * Fixed it so the SQLQuery will throw an exception when all the
    * template parameters are not provided.
    * Proofread and speedchecked the manual (it really needed it).
    * Other minor document fixes.

.64.0.1a (July 31 1998)

    * Reworked the Class Reference section a bit.
    * Minor document fixes
    * Added more examples for SSQLS.
    * Changed the syntax of equal_list for SSQLS from equal_list (cchar
    * *, Manip, cchar *) to (cchar *, cchar *, Manip).
    * Added set methods to SSQLS. These new methods do the same thing as
    * there corresponding constructors.
    * Added methods for creating a mysql_type_info from a C++ type_info.

.64.a (July 24 1998)

    * Changed the names of all the classes so they no longer have to
    * have Mysql in the begging of it. However if this creates a problem
    * you can define a macro to only use the old names instead.
    * The Specialized SQL Structures (formally known as Custom Mysql
    * Structures) changed from mysql_ to sql_.
    * Added the option of using exceptions thoughout the API.
    * ColData (formally known as MysqlStrings) will now throw an
    * exception if there is a problem in the conversion.
    * Added a null adapter.
    * Added Mutable Result Sets
    * Added a very basic runtime type identification for SQL types
    * Changed the document format from POD to LYX .
    * Am now using a modified version of Perceps to extract the class
    * information directly from the code to make my life easier.
    * Added an option of defining a macro to avoid using the automatic
    * conversion with binary operators.
    * Other small fixed I probully forgot to mentune.

.63.1.a

    * Added Custom Mysql Structures.
    * Fixed the Copy constructor of class Mysql
    * Started adding code so that class Mysql lets it children now when
    * it is leaving
    * Attempted to compile it into a library but still need help. As
    * default it will compile as a regular program.
    * Other small fixes.

.62.a (May 3 1998)

    * Added Template Queries
    * Created s separate SQLQuery object that is independent of an SQL
    * connection.
    * You no longer have to import the data for the test program as the
    * program creates the database and tables it needs.
    * Many small bug fixes.

.61.1.a (April 28 1998)

    * Cleaned up the example code in test.cc and included it in the
    * manual.
    * Added an interface layout plan to the manual.
    * Added a reverse iterator.
    * Fixed a bug with row.hh (It wasn't being included because of a
    * typo).

.61.0.a

    * Major interface changes. I warned you that the interface may
    * change while it is in pre-alpha state and I wasn't kidding.
    * Created a new and Separate Query Object. You can no longer execute
    * queries from the Mysql object instead you have to create a query
    * object with Mysql::query() and use it to execute queries.
    * Added the comparison operators to MysqlDate, MysqlTime and
    * MysqlDateTime. Fixed a few bugs in the MysqlDate... that effected
    * the stream output and the conversion of them to strings.
    * Reflected the MysqlDate... changes in the manual.
    * Added a new MysqlSet object and a bunch of functions for working
    * with mysql set strings.

.60.3a (April 24 1998)

    * Changed strtoq and strtouq to strtoll and strtull for metter
    * compatibility Minor Manual fix.
    * Changed makefile to make it more compatible with Solaris (Thanks
    * Chris H)
    * Fixed bug in comparison functions so that they would compare in he
    * right direction.
    * Added some items to the to do list be sure to have a look.



































































































































|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
# Change Log

## 3.2.3, 2016.12.29 (r2790)

*   Now using `snprintf()` instead of `_snprintf()` on Visual C++ 2015.

*   Cygwin changed its naming for the MySQL C API library since the last
    time we successfully tried building MySQL++ there.  Reworked the
    autoconf detection macro to make it less dependent on such
    individual platform differences.

    The macro is in fact now entirely side-effect-free, just setting
    MYSQL_C_* variables that the top-level Bakefile uses when and as it
    needs them, rather than expecting that major variables like CPPLFAGS
    and LIBS were overridden by the autoconf macro.  This makes the
    autoconf case more like that of the non-autoconf Bakefile outputs.

*   Squished a Clang warning


## 3.2.2, 2015.03.18 (r2780)

*   The DBDriver::operator= would leak a live connection if you
    assigned a disconnected DBDriver to it.  Patch by Quentin Armitage.

*   Plugged a potential DBDriver instance leak in Connection ctor.
    Patch by Yury Alekseev.

*   Explicitly #including algorithm.h in examples/multiquery.cpp for
    std::max().

*   Added missing "break;" statements in Transaction ctor taking an
    isolation level parameter, which caused only the last one to do
    the right thing.  Problem noticed by Tony Whyman, fix by me.

*   The bootstrap script now checks for the existence of needed build
    tools before trying to use them.  This lets us emit a clearer
    error message than the shell will.  Original patch by Adrian
    Cornish.

*   Fixed a build problem related to std::min/max with Visual C++ 2013
    due to a change in the definitions provided by its header files.

*   Tracked several changes made to Connector/C made since 3.2.1.

*   Assorted documentation updates.

*   Generating HTML with UTF-8 encoding, not 8859-1


## 3.2.1, 2013.12.10 (r2756)

*   Connection copy ctor wasn't copying the "throw exceptions"
    flag.  The copy always had exceptions enabled.

*   The resetdb example would print a bogus message about logging in
    as '1'@'1' instead of showing the actual values passed on the
    command line.  This did not affect how it actually logged in.

*   Previous release tarball was missing a few text files present in
    the source repository.

*   Updated build paths for VC++ and MinGW to track a file layout
    change in Connector/C 6.1.2.


## 3.2.0, 2013.06.20 (r2747)

*   References to MySQL 5.1 have been replaced with 5.6, that
    being the current GA release.

*   All Windows builds now assume you're using Connector/C 6.1
    instead of having installed the MySQL server on your machine
    just to get development files.  If you are running a MySQL
    server on your development machine and don't want to install
    Connector/C just to make MySQL++ happy, see the README-*.txt
    file for your platform to get instructions on fixing the paths
    so the build system finds the development files under the MySQL
    server directory.

*   The generated VC++ 2008 project files now assume you want 64-bit
    executables.  (It is 2013 now, after all.)

    Since the VC++ 2005 project files continue to be configured for
    32-bit builds, the easiest way to get a 32-bit project in VC++
    2008+ is to import the VC++ *2005* project files, rather than
    adjust the build target settings of all 44 vc2008/*.vcproj
    files within the IDE.

    See README-Visual-C++.txt for more on this change.

*   Added Query::replacefrom(): like insertfrom() but it uses
    REPLACE statements instead of INSERT.  Patch by Adrian Cornish.

*   Added support for SQL "unsigned float" columns.  Patch by
    Leonardo Lang.

*   Added "abicheck" top-level build target, which runs the
    ISPRAS ABI checker tool (http://goo.gl/e19lD) against
    a predecided "ABI-stable" version of MySQL++, comparing it
    against the current version.  This should help avoid future
    unplanned ABI breakages, as happened between 3.0.9 and 3.1.0.

    We have chosen not to revert those changes that broke the ABI,
    but instead have chosen to accept the 3.1.0 ABI as the new
    stable ABI for the rest of the 3.x series.  Running the ABI
    checker is now part of the release process, so we should not
    change the ABI again until 4.0!

*   The Query::insert() and replace() overloads that take a pair
    of iterators now work with containers that only provide forward
    iterators.  Idea by Adrian Cornish.

*   Using libtool again on Autotools systems.  It gives us
    relocatable libraries, which is needed in some linking
    situations.  Patch by Adrian Cornish.

*   VC++ release builds now have optimization enabled.  This might
    also affect other toolchains that create separate Debug and
    Release builds, if Bakefile obeys the directive for those
    systems.  (Such as, perhaps, Xcode.)  Initial patch by Matthew
    Bradbury.

*   Fixed a crash in CommandLine mechanism when the usage message is
    called up for programs that have no "extra" parameter and
    corresponding usage appendage.  Initial patch by "Crazy Pete".

*   Query::storein() now tolerates empty result sets, due either to
    DBMS failure or passing a query that never returns results,
    such as INSERT.

*   Exposed `DBDriver::result_empty()` as `Query::result_empty()`.  We
    did this primarily because it was needed as a helper for the
    previous fix, but it could also be useful more broadly.

*   Added -Wextra to the pedantic build flags.

*   Fixed the "escape" manipulator so it will work with Null<>
    wrapped types.  Patch by "Kemet".

*   ssqls2parse now depends on libmysqlpp.  (It wasn't getting
    relinked when you changed the library.)

*   The configure script's test for the existence of `mysql_ssl_set()`
    got broken by a change in the mysql_loc.m4 test, causing it to
    always return "no" even if the platform's MySQL C API library did
    have the function.  Therefore, the SslOption could never be set.
    Fixes this bug: stackoverflow.com/questions/7794408

*   Fixed a missing a "buried headers" ifdef wrapper for
    type_info.cpp.  Patch provided by Xavier Richez.

*   We now export the DBDriver class from the MySQL++ DLL when
    building on Windows.  Client programs can now access it directly,
    instead of being able to access only the fields and members
    exposed through Connection and Query.  Fix suggested by Xavier
    Richez.

*   MinGW builds no longer require that you manually create an import
    library for the MySQL C API DLL from a .def file we provide,
    which would inevitably get outdated.  We can now link directly to
    the DLL, and rely on the MinGW linker to figure out the imports.

*   Split the -l flags out of LDFLAGS in the userman's example
    Makefiles.  They're now in LDLIBS, which causes them to be
    put after -o $(EXE) by the default GNU make rules, where they
    should be.

*   Assorted documentation and build system improvements.

*   Assorted fixes for newer GCCs.


## 3.1.0, 2010.06.03 (r2670)

*   Default MySQL version now 5.1, having entered GA since 3.0.9.

*   Lots of platform updates tracked, lots of warnings from newer
    compilers squished.  Most by me, some by Adrian Cornish.

*   Added Query::insertfrom(), plus associated classes SQLStream,
    NoTransactions, and the InsertPolicy hierarchy.  Also adds
    examples/ssqls6.cpp, which shows how to use this new feature.
    Thanks for this feature go to Rick Gutleber, except for
    RowCountInsertPolicy, by me.

*   Added comparison operators to `tiny_int<T>`.  Thanks for this patch
    go to Edward Diener.

*   Added `SQLTypeAdapter::is_null()`.  This lets you retrieve a
    nullable column from the DB, then re-insert a value from that
    column back into the DB via a template query without explicit
    checks for null-ness; it will do the right thing now.

*   Added `-f` flags to `lib/*.pl` header file generating scripts to
    allow overriding the default limit of 25 fields for tqueries
    and SSQLSes without having to edit the file, as in previous
    versions of MySQL++.  Also added --with-field-limit option to
    the configure script so you can give both -f options at once
    during the build process.  This latter is especially useful
    for automated binary package builders.

*   The file lib/querydef.h (generated by lib/querydef.pl) now
    defines the MYSQLPP_TQUERY_MAX_PARAMETERS macro, giving the
    maximum number of parameters the functions in the generated file
    allow for template queries.  Similarly, lib/ssqls.h (generated
    by lib/ssqls.pl) defines MYSQLPP_SSQLS_MAX_MEMBERS.

*   Added `ConnectionPool::safe_grab()`, which pings the grabbed
    connection before returning it.  If the ping fails, we remove
    the dead connection from the pool and try again.  This doesn't
    eliminate the possibility of returning a dead connection;
    there is no protection against race conditions.  It is merely
    a best-effort attempt.

*   Added `ConnectionPool::remove(Connection*)`, which removes a
    connection from the pool.

*   Added `ConnectionPool::exchange()`, which wraps `remove()`
    and `grab()`.  It works like a customer support counter in a
    store: "I'm sorry, but this `Connection` is defective.  Can I
    have another, please?"

*   Added a feature to Transaction, where it can send a SET
    TRANSACTION ISOLATION LEVEL query before it starts the
    transaction proper, affecting the isolation level and the scope
    of that change.

*   Added ScopedConnection class.  Initial version by Joel Fielder,
    lots of changes by me.  Using it instead of explicit safe_grab()
    and release() calls on the pool in examples/cpool.cpp.

*   Added `FieldNames::operator[](size_type)` overloads.  This is
    necessary to correctly overload the base class versions inherited
    from std::vector.

*   FieldNames wasn't doing field-by-name matches case insentitively,
    most likely since 3.0.0 when we changed it to derive from
    std::vector.  This caused SSQLS (at least) to be case sensitive.
    Fixed this and renamed the stock.sdate field in the SSQLS
    examples to stock.sDate to test this.

*   Added Query::replace(iter, iter), on the model of existing
    insert(iter, iter).  Thanks for this patch go to David Walthour.

*   Added `Query::operator!()`, overriding `basic_ios` version so that
    `if (!query)` does the right thing.  Fixes problem report in
    thread http://lists.mysql.com/plusplus/8594

*   Query copy ctor and assignment operator now perform deeper
    copies, so you can pass Query objects around in certain ways
    that used to cause crashes.  Thanks for this patch go to Steven
    Van Ingelgem.

*   Defined `*_null` variants for every `sql_* typedef`, wrapping
    all those earlier types in `Null<>`.  All example programs now use
    these types instead of explicit `Null<>-wrapped` types.

*   Created a C++ command line parsing mechanism for the examples
    today, and for programs coming in the future.  It uses the
    platform version of getopt() if available, substituting a
    public-domain implementation that gets built into MySQL++
    itself otherwise.  It's documented in the refman -- see
    the CommandLineBase class -- but it's in the newly created
    mysqlpp::internal namespace, which means we don't promise any
    sort of ABI or API stability for it.  You're welcome to use it
    in your own programs, but expect it to change without warning.

*   Added a few missing `MYSQLPP_EXPORT` qualifiers to `operator<<()`
    overloads for stream manipulators to allow their use when MySQL++
    is built as a DLL.

*   Added backticks around table and column identifiers in all
    code paths exercised by dtest.  There are some others remaining,
    particularly things like Row::field_list().  Thanks for this
    patch go to Adrian Cornish.

*   Added mysqlpp::NOW() which returns a value that, when inserted
    into a SQL query, results in a call to SQL's NOW() function.
    DateTime::now() -- added in 3.0.0 -- does the same thing,
    but this is shorter and matches the SQL syntax.

*   Calling DBDriver::disconnect() twice no longer calls
    mysql_close() twice.

*   Worked around a weakness on Windows that caused problems in code
    with a connect(), disconnect(), connect() call pattern, when
    also using a named pipe to connect to the DB.  (There never
    has been a problem with this on other platforms or with other
    IPC mechanisms.)

*   Initializing a SQLTypeAdapter with a floating-point value
    equal to infinity or NaN results in SQL null if the type
    is also nullable, or 0 otherwise.  Previously, we got an
    implementation-defined string, which could give invalid SQL,
    or could give 0, a different value from NaN, infinity, or
    SQL null.  This does collapse the notions of NaN and infinity,
    but the MySQL reference manual doesn't say how you're supposed
    to preserve these differences.

*   Removed the dependency of stadapter.h on `sql_types.h` just to get
    `sql_tinyint*`.  We now `#include "tinyint.h"` instead, and use
    equivalent types to what `sql_types.h` defines.  This is necessary
    because `sql_types.h` should be one of the last things included from
    `mysql++.h`, so that it can define `sql_*` equivalents for
    everything else in MySQL++, which means all those other things need
    to be included by that point.

*   The "find MySQL++" autoconf macro (config/mysql++.m4) now
    searches for the library in lib64 subdirectories everywhere it
    also looks in lib.  We did this for the C API finder macro way
    back in MySQL++ 2.2.0, and only neglected to do it for this
    macro because it's not used by MySQL++ itself, just provided
    as a courtesy to MySQL++ users that also use autoconf.

*   Also improved the "find C API" macro (`config/mysql_loc.m4`)
    so it, too, is more useful in third-party projects.

*   Moved private `FieldNames::str_to_lwr()` method out into its
    own module, in the new mysqlpp::internal namespace, so other
    modules can use it.  Also added an overload for this new global
    method taking std::string instead of char*.

*   userman build process can now find FOP when installed from
    the standard Ubuntu/Debian package repository.

*   No longer generating refman.pdf.  It's difficult to generate
    properly on some platforms, and isn't all that useful anyway
    compared to the HTML version, which builds properly everywhere.

*   Dropped custom.h backwards-compatibility header.  (Deprecated
    over a year ago in MySQL++ 3.0.0.)

*   Fixed a bad pointer access crash in `Connection::set_option()`
    triggered when the option set call fails.  Thanks for this
    patch go to Kevin Regan.

*   ReconnectOption behavior now knows about a fix in MySQL 5.1.6 and
    newer that lets you set it either before the connection is up,
    or after.  If you try to set this option when MySQL++ is built
    against earlier versions of the MySQL C API, it will refuse to
    set the option because it knows the option will be reset when
    the connection comes up.

*   No longer trying to make the C API library read from a "my"
    options file before connect.  It does that by default, and
    the file is supposed to be .my.cnf anyway.

*   Reworked the `load_jpeg` example code for clarity, extracting
    load_jpeg_file() routine as an implementation detail and
    making that use the C++ stringstream "slurp into string" idiom
    instead of allocating a C char buffer and copying that into
    a std::string.

*   Restored support for repeating query parameters.  Apparently
    you could say things like "stuff %0 morestuff %0" in v2.1,
    but this was broken by initial 1-parameter fixes in v2.2.
    This patch reportedly lets us have both things at once, and
    improves handling of 1-parameter template queries in general.
    Thanks for this patch go to Martin Gallwey.

*   Added examples/tquery4.cpp based on test code and feedback
    from Martin.

*   Put Comparable class in namespace mysqlpp, where it should always
    have been.  Aside from being just plain wrong, it caused a
    conflict with Boost if you used its Comparable class and hoist
    them both into the global namespace.  Thanks for this patch go
    to Michael Radzewitz.

*   Fixed all the known problems with the Xcode project files.

*   Skeletal support for SSQLS v2.  Doesn't do anything useful
    yet, it just got caught up in the need to release 3.1 as-is.

*   Various enhancements to the test suite.

*   Many, many documentation enhancements.


## 3.0.9, 2009.02.04 (r2442)

*   It is now possible to use Null<T> objects in const context.

*   Query was emitting thousands separators when used in some
    locales.  Thanks for the fix go to Tomaž Šolc.

*   Restored support for using Query::storein() with template
    queries.  Was mistakenly removed in the 3.0.0 development
    process.

*   GCC 4.4 build fixes.  Thanks for this go to Remi Collet.


## 3.0.8, 2008.11.27 (r2432) The "Thanksgiving" release

*   Fixed a VC++ build error introduced in 3.0.7 in the Sun CC fix.

*   Fixed the Makefile we generate from Makefile.simple for the
    devel RPM.  The recent Bakefile upgrade changed the output so
    our munger stopped munging.

*   Changed all instances of "CREDITS" in header comments to
    "CREDITS.txt".

*   Brought ebuild file up to date with what Gentoo has been
    using for 2.3.2.


## 3.0.7, 2008.11.21 (r2423)

*   Fixed bug where initting a Query with a query string and then
    appending more to it with operator <<() would start overwriting
    the beginning of the buffer.  Thanks for the fix go to Chris
    Frey.

*   Added String::empty(), to parallel std::string better.

*   Added SQLTypeAdapter ctor for Null<String>, to allow SSQLS with
    NULL BLOB columns.  Thanks for this patch go to Russell Robinson.

*   Passing on "throw exceptions" flag in Query::storein() to the
    temporary Row objects it creates.  (Should have done this
    all along.)

*   All MySQL++ classes with operator[]() and at() methods now
    throw the new BadIndex exception on out of range indices now,
    unconditionally.  Before, it was a mishmash of MySQL++-specific
    mechanisms, std::range_error, and unchecked access.

*   Fixed some bugs in `load_jpeg` and `cgi_jpeg` examples that
    prevented them from working correctly on Windows.

*   Squished some warnings and incompatibilities that caused
    difficulty with Solaris CC.

*   Several minor fixes to allow building on Cygwin again.

*   Dedicated VC++ 2008 support.  (Not just a clone of VC++ 2005
    project files in a different directory.)

*   Lots of documentation improvements.


## 3.0.6, 2008.08.16 (r2350)

*   Several fixes to allow thread-aware build on Solaris

*   More improvements to search for Fink version of C API library.

*   Various improvements to Windows installer (install.hta)


## 3.0.5, 2008.08.06 (r2332)

*   Replaced install.bat with new install.hta, which has a GUI and a
    lot of embeded logic for doing The Right Thing, which we couldn't
    do in a dumb batch file.

*   Several fixes to allow it to build on Solaris 10.

*   Fixed a bug in comparison of Null<T> to T: wouldn't always give
    the right result for one particular combination of argument
    values and order of parameters to operator <().  It wouldn't
    fail all the time, either; it depended on the way the system's
    memory allocator dealt with newly allocated RAM.  The bug was
    discovered during the Solaris 10 porting effort, but it is not
    a Solaris-specific bug.

*   Split Linux-specific material out of README-Unix.txt into
    README-Linux.txt, and created README-Solaris.txt.

*   Shipping a vc2008 directory.  Populated by bootstrap script with
    copies of vc2005 files when those are newer, with the idea being
    to update them by hand by running them through VC++2008 before
    release.

*   Several fixes to VS-only examples. They hadn't been updated to
    track several of the changes in MySQL++ v3, so they wouldn't
    build OOTB at all, crashed when you did get them building, and
    emitted a lot of warnings during the build.  Cleaned it all up.

*   Autoconf now explicitly checks whether we need to link to zlib
    to link to MySQL C API library.  It used to be required, but
    lately, MySQL has been shipping the library with zlib stuff
    embedded, causing multiply defined symbol errors on some systems.

*   configure script now looks in more locations for the MySQL C API
    library, adding default locations for Fink and Solaris.


## 3.0.4, 2008.07.02 (r2303)

*   Fixed a few bugs in SslOption that prevented it from actually
    working.  If you've been having SSL problems since upgrading
    to MySQL++ v3, this is why!  Thanks for these patches go to
    Petteri Kiiskinen.

*   Changed type of String's internal "size" typedefs so it'll
    build without errors on 64-bit systems where these ints are
    different sizes.

*   Many user manual improvements.


## 3.0.3, 2008.05.11 (r2284)

*   Fixed query well-formedness handling in Query::store() and use().
    It was quietly eating these errors, confusing them with the
    no-results case.

*   Fixed examples/cpool.cpp to build without thread support.

*   No longer hiding all stdint.h typedefs inside namespace mysqlpp.

*   Fixed mysqlpp::String comparisons of empty strings against
    nonempty strings; if the empty string was on the left hand side,
    it would succeed because it was only comparing against characters
    in the empty side, which matches everything.  (Fixes bug 11588.)


## 3.0.2, 2008.04.13 (r2275)

*   Increased float to string conversion precision from 7 to 9 and
    double from 16 to 17 digits.  Previous values weren't enough
    near the maximum values that each can hold.

*   Replaced Query's safe bool mechanism with an override of
    basic_ios::operator void*() to avoid a conflict between the
    two mechanisms.  As the base class version isn't virtual,
    this is arguably evil, but it should be harmless in typical use.
    Besides, testing Query in bool context usually isn't the right
    thing anyway: test the result set instead.

*   Made ConnectionPool::grab() virtual.

*   Overriding ConnectionPool::grab() and release() in
    examples/cpool.cpp to show how to do connection-in-use count
    limiting.  Also, added a few more output indicator states to
    allow one to better understand program flow.


## 3.0.1, 2008.03.23 (r2263)

*   String objects can now be compared to mysqlpp::null directly.

*   Added a template operator== and operator!= to String, syntactic
    sugar for the existing String::compare() methods.

*   String::compare() now returns 0 ("equal") when one of the
    strings is an uninitialized String() (no refcounted buffer)
    and the other is empty.  It used to consider any initialized
    string greater than an uninitted one.  An uninitialized String
    appears empty, though, so this was incorrect.

*   Made `Connection::thread_aware()`, `thread_start()` and
    `thread_end()` static methods, so they can be called before you create
    your first connection.  Ditto for DBDriver versions of these
    methods.

*   Calling `Connection::thread_start()` and `thread_end()` in
    `examples/cpool.cpp`, as appropriate.  Above changes were necessary
    to make this work sensibly.

*   Made ConnectionPool::release() virtual, so your pool subclass can
    override it.

*   Added ConnectionPool::size(), so a subclass can know the current
    number of extant connections.

*   No longer single-quoting NOW() call generated for default
    init of DateTime type when building queries from SSQLS objects
    in Query::insert(), replace() and update().  The template query
    and stream interfaces of Query treated NOW() correctly already.

*   Fixed a bug that left `SSQLS::table_override_` uninitted if
    you used certain of the generated ctors or `set()` member
    functions instead of others used by the examples.  This could
    cause a crash any time you caused `SSQLS.table()` to be called,
    such as when passing the SSQLS to `Query::insert()`.

*   Minor memset bug fixed in `test/uds.cpp`.  Patch by Dave Jones.


## 3.0.0, 2008.02.29 (r2236) The "Giant Leap Forward" release

**WARNING:** THIS IS NOT A DROP-IN REPLACEMENT FOR MySQL++ v2.x!

You will have to recompile your program against this version of the
library, and you will almost certainly have to make code changes as
well.  Please see thee [API][apib3] and [ABI breakages][abib3] sections
in the user manual for information on migrating your code to this new
version.

[apib3]: https://tangentsoft.com/mysqlpp/doc/html/userman/breakages.html#api-3.0.0
[abib3]: https://tangentsoft.com/mysqlpp/doc/html/userman/breakages.html#abi-3.0.0

*   Added ConnectionPool class, primarily to let multithreaded
    programs share a set of Connection objects safely in situations
    where it isn't acceptable to have a Connection per thread.

*   Created examples/cpool.cpp to demonstrate this new class.

*   Added RefCountedPointer template, which provides automatic
    memory management and data sharing.  It's not intended
    for use outside of MySQL++ itself, but it's the mechanism
    behind everything below where reference counting is mentioned.
    I created the initial version of it, but Jonathan Wakely almost
    completely rebuilt it, and Joseph Artsimovich provided helpful
    commentary and advice as well.

*   Many improvements to Specialized SQL Structures (SSQLS):

    - Renamed `custom* to ssqls*`.  There's still a custom.h which
      #includes ssqls.h for you, but it's only intended to ease
      the transition to the new name.  It will go away in a future
      release, probably as soon as v3.1.

    - SSQLSes are finally compatible with Null<>-wrapped types.  This
      feature is based loosely on the "Waba" patch posted to the
      mailing list back in the v2.0 days, but extended to allow
      Null<T> types for key fields.  (The Waba patch only allowed
      these types in non-key fields.)

    - It's no longer necessary to define a different SSQLS for each
      different field set you use in queries.  That is to say,
      you can define an SSQLS for an entire table and store just a
      subset of the table in it now, with the other fields keeping
      default values.  Removed examples/custom6.cpp, as custom1.cpp
      can now demonstrate the same thing, implicitly.

    - An SSQLS's field order no longer has to match the order of
      fields in the result set it is populated from.

    - As a result of previous, removed `sql_create_c_order_*` macros;
      they have no purpose now.

    - Removed order parameters from `sql_create_complete_*`, which now
      gives it the same functionality as `sql_create_c_names_*` so
      removed the latter, too.

    - Removed "basic" variants of SSQLS creation macros.  They've
      been unofficially deprecated by dint of being all but
      undocumented and unexemplified for a very long time now.

    - It's now possible to use mysqlpp::String, Date, DateTime, and
      Time types in the key field positions in an SSQLS as they
      now support the necessary comparison interfaces.

    - If you use a floating-point data type in one of the key field
      positions, it no longer uses exact comparison logic.  Instead,
      it now does [in]equality comparisons by testing whether the
      difference between two floating-point values is less than a
      configurable threshold defaulting to 0.00001.
    
    - You can now use 'bool' type in an SSQLS.

    - Renamed `_table` static member variable in each SSQLS to `table_`
      and made it private.  There are now public setter and getter
      methods, `table()`.

    - Added per-instance table name overriding via `instance_table()`
      setter.  `table()` getter returns static version if this is not
      set, so it's still a global setting by default.

*   You can now use mysqlpp::null as a template query parameter to
    get a SQL null.

*   Replaced template `ColData_Tmpl<T>`:

    - Used to have `typedef ColData_Tmpl<std::string> MutableColData`.
      It was used only once within MySQL++ itself, and was never
      documented as a class for end users.  This one use within the
      library was a crock, so we just replaced this use with std::string
      and removed the typedef.

    - This left just one use of `ColData_Tmpl<T>`, instantiating it
      with the MySQL++ utility class const_string, basically a
      clone of std::string with all the mutating features removed.
      Folded the functionality of const_string into the template,
      renamed the result to String, and deleted the const_string
      class.  It'd be a complete std::string replacement -- with
      SQL-related enhancements -- if it were modifiable, but MySQL++
      doesn't need it to be modifiable.  Yet, it's still the closest
      thing MySQL++ has to its own string type; thus the name.

    - Replaced its internal buffer management with a much more
      clever reference counted scheme.  This shows its greatest
      advantage in the return from Row::operator[](), which for
      technical reasons must return by value, not by reference
      as is more common.  This lets you pass around Strings by
      value while having the efficiency of reference semantics.
      This can be important with large return values, like BLOBs.

    - Converting String to numeric types (ints, floats...) uses a
      new, cleaner system by Jonathan Wakely.  Unless you were
      abusing weaknesses in the old system, you won't see a
      difference.  It's just more robust and flexible.

*   Redesigned SQLString:

    - It used to derive from std::string, and while MySQL++'s
      internals did use it in place of std::string, these places
      didn't take advantage of the additional features offered
      by SQLString.  So, replaced all those uses with std::string.

    - All the remaining uses are MySQL++ public interfaces that
      need to be able to accept any of many different data types,
      and we want that data to be automatically converted to a
      SQL-compatible string form.  Because it no longer has the
      parentage to be a general-purpose string type and MySQL++ has
      a new contender for that role (String), renamed SQLString to
      SQLTypeAdapter to reflect its new, limited purpose.  ("STA"
      for short.)

    - Since we don't have the std::string base class to manage the
      string buffer any more, using the same reference counted
      buffer mechanism as String.  In addition to saving code by
      not creating yet another buffer management mechanism, it means
      objects of the two classes can share a buffer when you assign
      one to the other or pass one to the other's copy ctor.

    - Added many more conversion ctors.

    - STA interfaces using the 'char' data type now treat them as
      single-character strings instead of one-byte integers, as
      does the Standard C++ Library.

    - Added `mysqlpp::tiny_int` interfaces to STA to replace the
      former char interfaces for those needing one-byte integers.

*   As a result of the ColData -> String redesign, removed
    Row::raw_*().  Before String copies were efficient, this
    was helpful in accessing BLOB data efficiently.  It was also
    required back when ColData didn't deal correctly with embedded
    null characters, but that reason is gone now, too.

*   `Row::operator[](const char*)` no longer unconditionally throws the
    `BadFieldName` exception when you ask for a field that doesn't
    exist.  It will still throw it if exceptions are enabled, but if
    not, it'll just return an empty `String`.  This was necessary to
    make the SSQLS subset and field order independence features work.

*   Similarly, `Result::field_num()` returns -1 when exceptions are
    disabled and you ask for a field that doesn't exist.

*   You can now use the OptionalExceptions mechanism to disable
    exceptions on const MySQL++ objects.

*   Redesigned query result classes:

    - Instead of Result deriving from ResUse, the two derive from
      a common base class -- ResultBase -- containing the bits that
      are truly the same between them.  Before, Result inherited
      several methods that didn't really make sense for "store"
      query result sets.

    - Renamed Result to StoreQueryResult and ResUse to UseQueryResult
      so it's clearer what each is for.

    - Renamed ResNSel to SimpleResult.

    - Made all SimpleResult data members private and hid them behind
      const accessor functions of the same name.

    - The result set classes all used to be friends of Connection
      for various lame reasons.  Since they are created by Query,
      and Query has a good reason for a strong relationship with
      Connection, moved Connection access out of each result set
      class into the code in Query that creates that type of result
      set object.

    - StoreQueryResult now derives from vector<Row> in addition to
      ResultBase; it used to merely emulate a vector of Rows, poorly.
      It can now dispose of the MYSQL_RESULT at the end of object
      construction, because it creates all the Row objects up front
      instead of on the fly.  And as a result of *that*, operator[]
      returns by reference instead of by value, operator -> works
      correctly on iterators, all STL algorithms work, etc., etc.

    - IMPORTANT COMPATIBILITY BREAK: because we used `fetch_row()`
      stuff in Result previously, it was okay to index past the
      end of the result set: you'd just get a falsy Row when you
      did this, just as happens when doing the same thing in a
      "use" query.  The simple1 and simple2 examples did this,
      so it's likely that code exists that takes advantage of this
      misfeature.  New versions of these examples show how to index
      through a StoreQueryResult without running past its end.

    - ResUse used to delay creation of its FieldNames and FieldTypes
      objects until the point of need.  This had several implications
      for thread and exception safety that we fix by just creating
      them in the ctor.  If your code is multi-threaded and was
      avoiding certain usage patterns due to crashes, it's worth
      trying your preferred way again.

    - Result sets create a few data structures to hold information
      common to all rows in that set.  The row objects need access
      to these shared data structures, so on creation each gets
      a pointer back to the result set object that creates it.
      This was efficient, but required that a result set object
      outlive any row objects it creates.  Now these shared data
      structures are reference-counted, decoupling the lifetime of
      the child row objects from their result set parent.

    - Copy operations for result sets used to actually be "moves"
      before, for efficiency.  (MySQL++ itelf only copied result
      sets in returning them by value from the query execution
      methods of Query, so this was acceptable if you didn't do
      anything uncommon with these objects.)  Reference counted
      data structures allow us to have copy semantics now without
      sacrificing efficiency.

    - You can now use Query::storein() with an STL container of Row
      objects now, instead of having to use SSQLSes.  The lifetime
      issue guaranteed a crash if you tried this before.

    - Removed a bunch of unnecessary alias methods:

      - columns() -> num_fields()
      - names()   -> field_names()
      - rows()    -> num_rows()
      - types()   -> field_types()

    - Renamed several methods for grammar reasons:

      - fields(unsigned int)      -> field(unsigned int)
      - names(const std::string&) -> field_num(const std::string&)
      - names(int)                -> field_name(int)
      - types(int)                -> field_type(int)

    - Removed several "smelly" methods:

      - purge()
      - raw_result()
      - reset_names()
      - reset_field_names()
      - reset_types()
      - reset_field_types()

*   Field class used to just be a typedef for the corresponding C
    API class.  Now it's a real C++ class providing a more MySQL++
    sort of interface, plus good OO things like information hiding
    and implementation detail abstraction.  This changes several
    things about the interface.

*   Fields class was basically a specialized std::vector work-alike
    for dealing with the C API to get access to MYSQL_FIELD objects
    and present them as contained Field objects.  New Field type
    let us replace it with "typedef std::vector<Field> Fields"

*   Major improvements to the quoting and escaping mechanisms:

    - Replaced almost all of the type-specific interfaces in manip.h
      with a single version taking STA.  The compiler can convert
      almost anything to STA without losing any information we need
      for correct quoting and escaping.  This has the side benefit
      that we can now do correct quoting and escaping for more data
      types now, including plain C and C++ string types.

    - Fixed a bug in `quote_double_only` manipulator for String: was
      using single quotes by mistake.

    - Escaping and quoting only works in instances where MySQL++
      can tell you're building a SQL query and are using a data type
      that requires it.  This affects many things, but the one most
      likely to cause trouble is that inserting MySQL++'s quoting
      and escaping manipulators in non-Query ostreams is now a no-op.

    - Added `escape_string()` member functions to Query and
      `SQLQueryParms::escape_string()`, and removed the global function
      of the same name.  Because these are tied indirectly to a
      Connection object, this also has the effect that escaping is
      now aware of the current default character set used by the
      database server.  There's only one case where this isn't done
      now, and that's when we're disconnected from the server.

    - Previous two items form a trade-off: if your code was depending
      on MySQL++ to get SQL escaping and it no longer happens for
      what we consider a good reason, you can build a replacement
      mechanism using these new functions.  Quoting needs no special
      support in MySQL++.

    - Removed 'r' and 'R' template query parameter modifiers,
      which meant "always quote" and "always quote and escape"
      regardless of the data type of the parameter.  There are no
      corresponding manipulators (for good reason), so the removal
      restores symmetry.

*   Created DBDriver class from code previously in Connection and
    Query to almost completely wrap the low-level MySQL C API:

    - Connection creates a DBDriver object upon connection and
      passes a pointer to it down to Query objects it creates.
      In turn, they pass the pointer on to any of their children
      that need access to the C API.

    - Nothing outside DBDriver calls the C API directly now, though
      DBDriver leaks C API data structures quite a lot, so this
      feature doesn't constitute "database independence."  See the
      Wishlist for what must be done to get to that point.

*   Completely redesigned the connection option setting mechanism:

    - There's now just a single `Connection::set_option()` method that
      takes a pointer to the abstract Option base class, and there is
      an Option subclass for every connection option we understand.
      Thus, type errors are now caught at compile time instead of
      at run time.

    - Replaced `Connection::enable_ssl()` with SslOption class.

    - Enabling data compression and setting the connection timeout
      are no longer set via parameters to Connection interfaces.
      These are now set with CompressOption and ConnectTimeoutOption.

    - Similarly, removed `client_flag` parameters from Connection's
      ctor and connect() method and added corresponding Option
      subclasses.  There's about a dozen, so rather than list them
      here, look for similarly-named classes in lib/options.h.

*   Added `Connection::count_rows()` to execute `SELECT COUNT(*) FROM
    tablename` queries for you.

*   Moved `Connection::affected_rows()`, `info()` and `insert_id()` methods
    to class Query, as they relate to the most recently-executed
    query, not to the connection.

*   Several method name changes in Connection:

    - `client_info()`   -> `client_version()`
    - `host_info()`     -> `ipc_info()`
    - `proto_info()`    -> `protocol_version()`
    - `server_info()`   -> `server_version()`
    - `stat()`          -> `status()`

*   Removed `Connection::api_version()`.  It does the same thing as
    `client_version()`.

*   Lots of changes to Date, DateTime, and Time classes:

    - If you use the default constructor for DateTime and don't
      subsequently set its year, month, day, hour, minute or second
      data members to nonzero values, it becomes the SQL function
      "NOW()" in a query string.  You can also use DateTime::now()
      as syntactic sugar for this.

    - As a result of above, had to hide all of DateTime's data
      members behind accessor functions, to keep the state of the
      object consistent.  (If it's initialized as "now" and you
      give it an explicit year value, say, it is no longer "now",
      so the setter has to clear the now-flag.)  There are getters
      and setters for year, month, day, hour, minute and second,
      all named after the member.

    - Did the same for Date and Time for consistency, even though it
      isn't technically required.

    - The `sql_timestamp` typedef now aliases DateTime instead of Time.

    - Renamed template class DTbase<T> to Comparable<T>.  The fact
      that it's the common base class of all date and time classes
      is irrelevant; making subclasses comparable is what it does,
      so that's what it should be named after.

    - Added a DateTime ctor taking discrete year, month, day, hour,
      minute, and second values.

    - Implicit conversion from stringish types to the date and time
      types is no longer allowed.  This is part of the "Waba"
      Null<T> patch mentioned above; allowing implicit conversions
      would break this new feature.

    - Added operator std::string and str() methods to all of these
      classes.  Adding this to the existing operator << support, you
      now have several ways to convert these objects to string form.

    - Added `time_t` conversion to Date and Time classes.  DateTime
      already had it, since it's more legitimate to convert time_t
      to DateTime, but you could already "slice" it with something
      like Time(DateTime(time(0))) so there's no point pretending
      you can't get from time_t to Date or Time.  Might as well
      legitimize it.

*   Improved `tiny_int` class:
      
    - Turned it into a template parameterized on the value type so
      you can get both signed and unsigned TINYINTs

    - Changed the `sql_tinyint` and `sql_tinyint_unsigned` typedefs to
      use `mysqlpp::tiny_int<VT>` instead of raw chars

    - Added a bool conversion ctor and operator, and typedef'd it
      to sql_bool and sql_boolean to match MySQL server behavior

*   Added many more `sql_*` typedefs.  We now have a typedef for every
    type the MySQL server knows about, including those it supports
    just for compatibility with other database servers.

*   Changed the `sql_*int*` typedefs to use integer types of the same
    size as the MySQL server.  (Run test/inttypes.cpp to test it.)

*   Added copy ctor and assignment operator to Row.

*   Row::operator[]() takes int now instead of unsigned int.
    This finally (!) makes it possible to say row[0] without the
    compiler giving an ambiguous overload error.

*   Changed all uses of row.at(0) in the examples to row[0]

*   Added operator[] to all classes that only had at().

*   Query now automatically resets itself unless the query fails
    or you're using template queries.  In either case, the contents
    of the query's internal buffers are considered precious,
    either for debugging, or future queries.  Except when using
    template queries, this means you may be able to avoid calling
    Query::reset() entirely.  It's still safe to call reset()
    as before, just unnecessary most of the time.

*   Removed `reset_query` parameter from all Query methods.  It was
    almost completely broken before, and above change does what
    was really wanted to begin with.

*   `Query::store_next()` and `Result::fetch_row()` no longer throw
    the EndOfResults and EndOfResultSets exceptions; these are not
    exceptional conditions!  These methods simply return false now.

*   Removed examples/usequery.cpp: there's no essential difference
    between what it did and what examples/simple3.cpp does now as
    a result of the previous change.

*   Added Query::exec(void), paralleling Query::execute(void).

*   Removed Query::preview().  The most direct replacement is str(),
    which has always done the same thing.

*   You can now insert a Query object into an ostream to get a copy
    of the built query.  This means Query::str() is only necessary
    when using template queries.

*   Removed overloads of Query::execute(), store(), and use()
    that take const char*.  It was redundant because const char*
    converts implicitly to STA, for which overloads already exist.

*   Renamed Query::def to `Query::template_defaults` to make its
    purpose clearer.

*   `Query::error()` now returns const `char*`, not a `std::string` by
    value.  There's no point in making a copy of the error string.
    The method is now `const` as well, as it doesn't change the
    `Query` object.

*   Added Query::errnum(), which just wraps Connection::errnum().

*   Added error number parameters and accessor functions to BadQuery,
    ConnectionFailed and DBSelectionFailed exceptions, to preserve
    the state of Connection::errnum() at the point of the exception,
    so you don't have to rely on this value remaining unchanged
    during the exception throw process.  All places that use these
    exceptions now include this value where possible.  Thanks for the
    initial patch go to Jim Wallace.

*   Removed Lockable mechanism from Connection and Query; it was
    conceptually flawed.  See the new user manual chapter on
    threading for advice on using MySQL++ safely without locking.
    There is mutex locking now in ConnectionPool, but that's it.

*   Connection::query() now takes an optional query string, allowing
    the returned Query object to start off with a value.  Especially
    useful when the query string is static, either because it's
    a simple query or because it's a template.  You can now build
    chains like "if (conn.query("CREATE INDEX ...").exec()) { ..."

*   Added `Connection::thread_aware()`, `thread_end()`, `thread_id()`
    and thread_safe().  See user manual's threading chapter for
    explanations.

*   Renamed "success" data members in Connection, Query and
    SimpleResult (neé ResNSel) to "copacetic_", making them private
    if they weren't before.  This better reflects their actual
    use, which isn't to say that there has necessarily been actual
    success, but rather that everything's okay with the object.

*   Removed success() member functions from above classes.  All can
    be tested in bool context to get the same information.

*   Replaced all operator bool()s in MySQL++ classes with safer
    alternatives.  See http://www.artima.com/cppsource/safebool.html
    Thanks to Jonathan Wakely for much helpful commentary, advice,
    and code used in these mechanisms.

*   Decoupled `Connection::copacetic_` from `Connection::is_connected_`.
    It is now possible for the object to be copacetic without being
    connected.  However, if it tries to connect and fails, then
    it is not copacetic.  If it is copacetic and not connected, it
    means we haven't even tried to connect yet, a useful distinction.

*   Collapsed `Connection`'s host, port, and socket name down into
    a new combined `server` parameter which is parsed to determine
    what kind of connection you mean.  These interfaces are still
    compatible with v2.3 and earlier up through the port parameter.
    There are differences beyond this.

*   Added TCPConnection, UnixDomainSocketConnection and
    WindowsNamedPipeConnection subclasses for Connection giving
    simpler construction and connect() method interfaces for
    instances where you know what kind of connection you want at
    compile time.

*   Changed Connection::ping() return value from int to bool.

*   Renamed NullisNull to NullIsNull -- capital I -- and similar for
    NullisZero and NullisBlank.

*   It's now a compile-time error to try to convert a MySQL++
    representation of a SQL null to any other data type, rather
    than a run-time error as in previous versions.  Removed
    BadNullConversion exception as a result.

*   Way back in v1.7.x we used the BadQuery exception for all kinds
    of exceptional conditions, not just bad queries.  Replaced
    most of these in v2.0.0 with new dedicated exceptions, but a
    few remained:
    
    - Errors that occur during the processing of a "use" query after
      the query itself executes correctly now throw UseQueryError.
      It's not a "bad query", because the query executed
      successfully.  It just choked during subsequent processing,
      so it's a different exception.  Thanks for this patch go to
      Jim Wallace.

    - Replaced BadQuery exceptions thrown in Row constructor due
      to bad ctor parameters with new ObjectNotInitialized exception
      This is also Jim Wallace's work.

*   The examples now all use getopt() type command line options
    instead of positional options.  This makes it possible to
    pass options in any order, leave at their default options that
    used to be in the middle of the sequence, and offer different
    subsets of options for different programs.  Also allows for
    special internal-use options, like -D passed by dtest to let
    examples change their behavior when run under dtest to produce
    only predictable output.

*   Split old libutil functionality into two modules, one holding
    all the "print data" functions, and another holding all the
    command line parsing stuff.  This makes it easier for newbies
    to ignore the command line stuff, treating it like a black box.
    The wish to understand the "print data" routines is much more
    common, so the two needed to be disentangled.

*   Renamed examples' libutil to libexcommon.

*   Removed `connect_to_db()` `libutil` function.  It combined command
    line parsing, which users don't care about, with database
    connection establishment, which they do care about.  Now the
    examples just call out to libexcommon to parse the command
    line, and use the values they get back to explicitly make the
    connection, so it isn't hidden.

*   Removed cchar and uint typedefs.

*   Redesigned dbinfo example's output to be easier to read.

*   Fixed an output formatting bug created in 2.3.0 that caused the
    tabular output from examples to not line up.

*   Renamed examples/tquery.cpp to tquery1.cpp.  Created tquery2.cpp
    to demonstrate passing parameters via a SQLQueryParametrs object
    instead of discretely.  Created tquery3.cpp for testing unquoted
    template parameters, such as integers.

*   Renamed fieldinf1.cpp example to fieldinf.cpp, and simplified
    its output so it can be part of the dtest sequence.

*   Renamed examples/xaction.cpp to transaction.cpp.  It created too
    much cognotive dissonance whenever thinking about both it and
    lib/transaction.cpp.

*   Added examples/deadlock.cpp, to test handling of exceptions due
    to server-side transaction deadlock detection.  Also added
    code to resetdb to create a table needed to test this.
    Initial version created by Jim Wallace to test the value of
    all his BadQuery exception work, with reworking by me.

*   Greatly expanded dtest suite.  Primary change is that we now
    have a handful of unit tests, where in v2.3.2 we only tested
    a subset of the examples.  Still very low coverage ratio,
    but it's a big improvement.

*   Optimized #includes, especially in `lib/*.h` to reduce
    dependencies and thus compile time when one of these changes.

*   Fixed a typo in RPM filename generation that prevented -devel
    RPM from recognizing that the corresponding MySQL++ library
    RPM was installed.

*   RPM spec file improvements by Remi Collet.

*   Renamed `NO_LONG_LONGS` to `MYSQLPP_NO_LONG_LONGS` to avoid a risk
    of collision in the global macro namespace.
    
*   First cut at Xcode2 project support.  Testing needed!

*   Debug build of library on VC++ and Xcode have a `_d` suffix now
    so you can have both versions of the library installed without
    conflict.

*   Moved the VC++ 2003 project files into a new vs2003 subdirectory
    because there are so many of them.  Also created vs2005
    subdirectory for VC++ 2005 and 2008 compatible project files.
    2005 makes an even bigger mess of the directory containing
    the .sln file, so the incentive is bigger.  Plus, we have to
    disable several things to get VC++ 2003 to build MySQL++ now,
    so we need a special 2005+ version of the project files for a
    complete build, if the user has one of the newer compilers.

*   ...plus dozens of small bug fixes and internal enhancements,
    many documentation improvements, and expansion of support for
    newer operating systems and compilers.


## 2.3.2, 2007.07.11 (r1669)

*   Previous release's `const_string` change caused more problems
    than it fixed.  This release contains the real fix. :)

*   New `Connection::set_option()` handling deals with the multi
    statements option correctly again.  examples/multiquery now
    runs again as a result.

*   Added new unit testing script, called dtest.  See the
    HACKERS file for details.  (This tool caught the previous
    two problems!)

*   Squished a GCC pedantic warning.  Thanks for the patch go to
    Andrew Sayers.


## 2.3.1, 2007.07.10 (r1659) The "After the Fireworks" release

*   `const_string` objects now keep a copy of their data, not
    just a pointer to it.  This is less efficient, but necessary
    to allow SSQLS to work with BLOBs.  Without this, we were
    seeing segfaults due to accessing freed memory pointed to
    by the const_string, because the underlying object went
    out of scope.

*   Fixed many more potential embedded null handling problems
    in manip.h.

*   MySQL++ can now optionally reference MySQL C API headers as
    being in a mysql subdirectory, a common thing on *ix systems,
    by defining MYSQLPP_MYSQL_HEADERS_BURIED before #including
    mysql++.h.

*   Restored `ColData_Tmpl<T>::get_string()`, removed in v2.3.0,
    along with warnings in the docs saying why you don't want
    to use it, and what your alternatives are.

*   VC++ and MinGW builds now define the `HAVE_MYSQL_SSL_SET`
    macro, which lets you use the C API's SSL features.
    This assumes your C API library does actually have these
    features enabled, which is the case with the official binary
    releases on Windows.  (Builds on *ix systems continue to
    test for these features at configure time.)

*   Fixed simple examples-only Makefile generation, for RPMs.


## 2.3.0, 2007.07.02 (r1645)

*   Added `Query::for_each()` and `Query::store_if()` methods
    proposed by Joel Fielder, and added examples for each.

*   It's now possible to store BLOB data in an SSQLS.  It's not
    foolproof, so added a section to the user manual (5.9) to
    document the method.  Also, changed examples/cgi_jpeg to use
    this new mechanism, instead of the ugly "raw row data" method
    it used to use.

*   Revamped `Connection::set_option()` handling.  These options
    used to be queued up, and applied only just before actually
    establishing the connection.  This made error reporting less
    helpful because the diagnostic was separated from the cause.
    Plus, the error messages were misleading to begin with.  Now,
    set_option() takes effect immediately if the connection is not
    yet up (excepting one special option that can actually be set
    after the connection is up) and issues better diagnostics when
    it detects errors.

*   Connection::connect() used to set a few options in such a
    way that the user couldn't override them.  Now it's smart enough
    to set them with the desired default values only when we see
    that the user hasn't given them other values.

*   SQLString can now be initialized from a mysqlpp::null,
    giving a "NULL" string.  This is useful for template queries.
    Patch by Michael Hanselmann.

*   resetdb error message about mixing library and header version
    numbers is now more explicit.

*   Changed BadConversion exception's "what" message text to be
    more like the other exceptions.  The inconsistency lead one
    to incorrectly copy-paste code from another exception handler,
    expecting it to behave the same way.  Now it does.

*   Added `Row::raw_size()`, as a shortcut for Row::at().size().

*   ssqls-pretty now detects when it's being run from within
    the MySQL++ distribution tree and gives a different -I flag
    to the compiler, so that it picks up the distribution headers
    instead of those that may be on the system already.

*   The quote manipulator now works for char[] correctly.
    Thanks for this patch go to Andrew Sayers.  (It's always
    worked for char*, but C++ doesn't consider that to be the
    same type, so it used the generic quote handling path,
    which doesn't do anything for char[].)

*   Fixed a build bug on older Solaris versions where the
    test for the C API library was erroneously failing, stopping
    the configuration process.

*   Simplified `mysql_shutdown()` level argument detection.
    Already had to do a version number ifdef check for the
    Windows case, so there's really no point to doing it with
    autoconf on Unixy platforms.  Moved version number check
    into lib/connection.cpp, and nuked the separate autoconf and
    Windows tests.

*   Removed dependency of `sql_types.h` on myset.h and (indirectly)
    datetime.h.  Now we only define sql_* typedef aliases for those
    MySQL++ types if the headers are included before sql_types.h.

*   Fixed a typo in one of the `storein_sequence()` template
    overloads, which is apparently rarely (or never?) used, because
    no one reported the compiler error you'd get if you tried.

*   Fixed a few more embedded null handling problems.

*   ColData used to keep two copies of all data it held.
    Now it keeps just one.

*   Fixed install.bat script to track the unified Bakefile change
    and the lack of separate debug and release builds under MinGW.

*   Yet another STLport + Query memory leak fix.

*   Squished a warning in newer GCCs having to do with identifier
    shadowing.  Patch by Jonathan Wakely.

*   Fixed a null-termination bug in Query::parse().  If you
    somehow constructed a query string without a terminating null
    character, then tried to parse it as a template query, it could
    walk off the end of the string.  Patch by Worster Chen.

*   Removed `MYSQLPP_EXPORT` tag from FieldNames and FieldTypes
    class declarations, as this can cause problems in programs
    that use vector<string> in VC++.  It has to do with multiply
    defined templates, since these classes derive from that
    template, and VC++ can't resolve the conflict without help.
    Since these classes aren't actually used outside the library,
    this shouldn't cause a problem.  Patch by Nils Woetzel.

*   Partial fix to Doxygen PDF build on RHEL4 and 5.  Needs
    hand-coaxing to complete successfully on RHEL4, and doesn't
    yet work at all on RHEL5.

*   Shortened the `no*` options to the bootstrap script, so that
    the usage message fits on a single line.

*   Added "nodoc" bootstrap script option, for disabling the
    documentation build during the dist target build.  Allows for
    building binary RPMs on CentOS 5.0, where doc building is
    currently broken.

*   Removed the updel example program.  It was kind of silly,
    and if you were to rewrite it today, you'd use for_each() anyway.

*   Lots of documentation improvements.


## 2.2.3, 2007.04.17 (r1538) The "Tax Day" release

*   Previous version left `examples/vstudio/*` out of the tarball
    by accident.

*   Improved generation of RPM temporary build directory path
    name generation.  Was using a hacked variant of the Fedora
    Packaging Guidelines' second best choice.  Now we're using
    the choice they recommend most highly, without changes.

*   Removed unnecessary resources from vstudio/wforms example.

*   Minor URL fix in refman


## 2.2.2, 2007.04.13 (r1526) The "Nervousmaking Friday the 13th" release

*   More small fixes to embedded null handling in Query.

*   Fixed a bug in single-parameter template query handling.

*   Added tquery example, to demonstrate proper use of template
    queries.  Previously, resetdb was the only exemplar, and
    it wasn't really suited for that.  This example also tests
    the previous item.

*   Added examples/vstudio/mfc, allowing us to improve the way
    we demonstrate Unicode handling.  Old way wasn't realistic.
    On *ix, people will depend on the terminal code to handle
    UTF-8.  On Windows, users are almost certain to be writing
    a GUI program, which requires different Unicode handling
    than the old examples showed.

*   Removed explicit Unicode conversion stuff from command line
    examples, and reworked the Unicode chapter in the user
    manual.
    
*   Added examples/vstudio/wforms to show integration with
    C++/CLI and Windows Forms.  Documented this in README.vc.

*   Rewrote `load_file` and `cgi_image` examples to be more
    useful, renaming them to load_jpeg and cgi_jpeg along
    the way.  Also, resetdb now creates a second table in the
    sample database for these two examples' use.  Also, added
    examples/logo.jpg to the distribution as sample data for
    these examples.

*   Limited the ostream base class casting stuff in Query to
    VC++ 2003, which is the only platform that really needed it.
    VC++ 2005 emits a warning with that hack in place, and on
    other platforms it's just replicating work that the compiler
    does already.

*   Added library version information to main library target
    so that systems that version shared libraries work as
    expected.  Thanks for this patch go to Jack Eidsness.

*   Merged much of the diffs between Remi Collet's RPM spec file
    into the official one.

*   Reorganized the doc subdir a bit.  Generated HTML is now all
    under doc/html instead of scattered under other subdirs,
    and renamed doc/README.mysql++ to doc/README.manuals.

*   Improvements to top-level manual building make targets:
    manuals now only rebuild at need, it's easier to request
    a rebuild of all manuals, and we force a rebuild attempt
    before building the distribution tarball so we don't ship
    outdated manuals.

*   Added ability to run examples under gdb using exrun,
    using same mechanism as we currently have for valgrind.
    Thanks for this patch go to Michael Hanselmann.

*   Added "Important Underlying C API Limitations" chapter to the
    user manual, to cover problems we keep seeing on the
    mailing list that are the result of ignorance of the way
    libmysqlclient behaves, not bugs MySQL++ is really in a
    position to fix.


## 2.2.1, 2007.02.28 (r1433)

*   Fixed the new localtime() alternative selection code
    for VS2003 and various uses of STLport.

*   No longer inserting a null character into the query stream
    on calling one of the preview() functions.  This was harmless
    in v2.1, which used C strings more extensively, but began
    causing problems in v2.2 due to its wider use of C++ strings.

*   Fixed a bug in the Connection copy ctor where it didn't
    completely initialize the object.

*   Optimized `Query::preview_char()` a bit.  Patch by Jonathan
    Wakely.

*   Reordered directory list used by autconf when locating the
    MySQL C API library.  The list is now ordered with the
    most likely locations for the library first, so we're less
    distracted by incorrect libraries.  This fixes a specific
    build error under RHEL4 with recent versions of MySQL 5.0.


## 2.2.0, 2007.01.23 (r1417)

*   `ColData`, `const_string`, and `SQLString` can now be constructed
    with an explicit length parameter.  Furthermore, Query
    class's `execute()`, `store()` and `use()` call chains terminate
    in a version taking an explicit length parameter, instead
    of one taking a simple C string.  Together, this means
    that it's now easier to handle data from the SQL server
    containing nulls.  The library is almost certainly not yet
    capable of handling embedded nulls in all cases, but this
    is a big first step towards that.

*   Can now construct a DateTime object from a `time_t`, and
    convert a DateTime back to a time_t.  Patch by Korolyov Ilya.

*   Changed the way we're handling exported functions in the
    Windows DLL case so that it works more reliably under MinGW.

*   Added proper copy semantics to Connection, so that you get a
    new connection with the same parameters, not just a bitwise
    copy of the object.

*   Using an explicitly thread-safe variant of localtime() for
    time conversions where one is available.

*   Removed ListInsert template from myset.h.  This wasn't used
    within the library, and was never documented, so I'm betting
    that no one actually uses it.

*   Result::copy() was not copying the exception flag in
    all cases.  Fix by Steven Van Ingelgem.

*   Added exrun shell script and exrun.bat files to distribution,
    to avoid linkage errors when running the examples while
    you still have an older version of MySQL++ installed.

*   Renamed `MYSQLPP_LIB_VERSION` to `MYSQLPP_HEADER_VERSION`, as
    what it really encodes is the version number in the `mysql++.h`
    file you're using, not the actual library version number.

*   Added `mysqlpp::get_library_version()`, which returns the
    library version number at build time.  Between this and
    the header version constant, you can check that you're not
    mixing MySQL++ header and library versions.

*   resetdb example uses these new version number affordances to
    double-check that you're not mixing libraries and headers
    from different versions.  This happens easily unless you
    take care of it (such as by using exrun) when you have one
    version of MySQL++ installed and you're trying to build and
    test a new version without blowing away the old one first
    or overwriting it.

*   No longer using recursive Makefiles on Unixy platforms
    or split lib + examples project files on VC++.  Everything is
    handled by a single top-level Makefile or project file, which
    is simpler for the end user, and makes better dependency
    management possible.

*   When looking for the MySQL C library on systems using
    autoconf, looking in .../lib64 wherever we are also looking
    in .../lib.

*   RPM build process no longer depends on Bakefile.  It means
    you have to build the examples when building an RPM even
    though they're never used within the RPM, but it's a better
    tradeoff in my opinion.

*   Updated include and library paths on Windows to reflect
    changes in the most recent MySQL installers.

*   Merged lib/defs.h and lib/platform.h into new file,
    lib/common.h.  Just cleans up the library internals.

*   Fixed build errors on Windows due to recent changes in MySQL.

*   Fixed a few memory leaks and double-deletes in Query class.

*   Fixed compatibility with STLPort's string implementation.
    Patch by dengxy at cse.buaa.edu.cn.

*   Fixed a compatibility problem between Set<> template and
    SSQLS.  Patch by Korolyov Ilya.

*   Fixed build bug in SQLQueryParms due to a character
    signedness issue on PowerPC with GCC.  Patch by Michael
    Hanselmann.

*   ~Transaction() can no longer throw exceptions.  It'll just
    quietly eat them, to avoid program termination.  Fix
    suggested by Alex Burton.

*   Fixed thread safety testing in autoconf case, accidentally
    broken during v2.1.0 development cycle.

*   Using Doxygen 1.5.1 to generate documentation.


## 2.1.1, 2006.04.04 (r1289)

*   MinGW and Cygwin will now build and link to mysqlpp DLLs.

*   Fixed bug in Query, causing it to initialize the "throw
    exceptions" flag incorrectly.  Thanks for this patch go to
    Joel Fielder.

*   Added -v flag for custom.pl script, which turns off the
    multiply-defined static variable fix.  Needed for VS 2003,
    which doesn't support variadic macros.  Also, added
    a diagnostic to detect the need for the -v flag, and
    suppressed the test for this feature in examples/util.cpp.


## 2.1.0, 2006.03.24 (r1269)

*   Converted automake and makemake files to their equivalents in
    Bakefile format.

*   Added the Transaction class, which makes it easy to use
    transaction sets in MySQL++.

*   Added xaction example to test new Transaction class.

*   Resetdb example now creates its example table using the
    InnoDB storage engine, in order to test the new transaction
    support.  Resetdb also declares the table as using UTF-8
    text; this doesn't change anything, but it does correctly
    document what we're doing.

*   Added `sql_types.h` header, containing C++ typedefs
    corresponding to each MySQL column type.  Using those new
    types in the type_info module, and in the SSQLS examples.

*   Replaced the way we were handling the template query
    version of Query member functions, to allow an arbitrary
    number of template query parameters.  By default, we
    now support 25 parameters, up from the old limit of 12.
    It's now possible to change just one number, run a script,
    and have a new limit.

*   Connection class does a better job of returning error
    messages if you call certain member functions that depend
    on a connection to the server before the connection is
    established.

*   Updated libmysqlclient.def for newer versions of MySQL.  (Fixes
    build errors having to do with mysql_more_results() and
    mysql_next_result().

*   Replaced final use of strcpy() with strncpy().

*   custom.pl now runs without complaint in strict mode, with
    warnings turned on.  Thanks for this patch go to "Waba".

*   Fixed a bug in custom.pl where incorrect code would be
    generated for some SSQLS set() methods.  Thanks for this
    patch go to "Waba".

*   SSQLS structures now support long and unsigned long fields.
    Thanks for this patch go to "Waba".

*   It's now possible to put SSQLS definitions in a header
    file used by multiple modules in a program without
    getting multiple static member definition errors.  See the
    documentation for details.  Thanks for this patch go to
    Viktor Stark.

*   Moved the definition of the 'stock' SSQLS out of the
    custom*.cpp example files and into a new stock.h file.
    Also, #including that file in the util module to test out
    the new SSQLS multiple static definition fix.

*   Using all of the digits of precision guaranteed by the
    IEEE 754 spec when stringizing floating point numbers
    to build queries.  Previously, we would use the platform
    default, which can be as few as 6 digits.

*   Removed lib/compare.h.  Not used within the library, never
    documented, and nobody seems to want to defend it.


## 2.0.7, 2005.11.23 (r1147)

*   Added explicit mysqlpp namespace qualifiers to generated code in
    custom*.h so you can use SSQLS in places where it doesn't make
    sense to say "using namespace mysqlpp" before the declaration.
    Also updated some of the examples to not have this "using"
    declaration to make it clear to users that it isn't needed, if you
    want to use explicit namespace qualifiers as well.  Thanks for
    this patch to Chris Frey.

*   Removed an apparently useless unlock() call from ResUse; there is
    no nearby lock() call, so if this unlock() is in fact necessary,
    it shouldn't be here anyway, because the two calls should be
    nearby each other.  Thanks for this patch to Chris Frey.

*   Fixed Query ostream initialization bug affecting SunPro CC (at
    least).  While this bug violates the Standard, it doesn't affect
    many real compilers because they don't enforce this rule.  Fixed
    by Chris Frey.

*   Previously, we only used the C99 style "long long" support when
    building under GNU CC.  This is now the default.  This should
    allow the code to work under SunPro CC.

*   Added another dynamic cast needed for proper Query ostream
    subclass overloading under VC++.  (7.1 at least...)

*   Detecting whether MySQL is built with SSL support on platforms
    using autotools.  Needed on some old Sun systems, for instance.
    Thanks for this patch to Ovidiu Bivolaru.

*   Fixed a potential memory bug in ColData's conversion to SQL null.

*   Many minor packaging tweaks.  (README clarifications, file
    permission fixes, better adherence to GNU packaging standards,
    etc.)

    
## 2.0.6, 2005.09.28 (r1123)

*   Fixed makemake.bat so it works on cmd.exe, not just 4NT.

*   Documentation fixes.


## 2.0.5, 2005.09.13 (r1114)

*   Visual C++ build now requires GNU make.  It is tested to work
    with either the Cygwin or the MinGW versions.  The previous
    version of MySQL++ used nmake.  This change enabled the
    following features:

      o Debug and Release versions are both built into
        separate subdirectories.

      o Dependency tracking for release version works
        correctly now.  (Previously dependencies worked
        only for debug version.)

      o 'make clean' removes release version binaries
        in addition to debug versions.

*   MinGW makemake support updated to support new release/debug
    subdirectory system.  This is probationary support, since
    this code currently can't be built as a DLL.  As a result,
    it is no more useful than the Cygwin version, for licensing
    reasons.

*   Several fixes to allow building on Solaris 8.  These fixes may
    also help on other SVR4-derived systems.

*   Removed Borland C++ makemake support, because this version
    of the library does not work completely, and there seems
    to be almost no user interest in fixing it.
    
*   Clarified "Handling SQL Nulls" section of user manual's
    Tutorial chapter.


## 2.0.4, 2005.08.29 (r1076)

*   Made `mysql_shutdown()` second parameter autoconf check less
    sensitive to compiler pedantry.

*   VC++ library Makefile is now smart enough to re-create the
    import library, if it is deleted while leaving the DLL alone.

*   Added libmysqlclient.def to tarball.

*   Reworked most of the top-level `README*` files.

*   Renamed LGPL file to LICENSE.


## 2.0.3, 2005.08.25 (r1060)

*   Visual C++ makemake system updated to build both debug and
    release versions of library DLL.

*   Fixed bug in simple1 example that caused crashes on Windows.

*   Doing UTF-8 to ANSI text translation in simple examples now.

*   Previous two releases built libmysqlpp with wrong soname on
    autotools-based systems.  Fixed.


## 2.0.2, 2005.08.18 (r1050)

*   Fixes to makemake system for cmd.exe.

*   Fixed the case where the system's C++ library includes an slist
    implementation in namespace std.


## 2.0.1, 2005.08.17 (r1046)

*   Added new simple1 example, showing how to retrieve just one
    column from a table.  Old simple1 is now called simple2, and
    simple2 is likewise shifted to simple3.

*   Added custom6 example, showing how to do the same thing with
    SSQLS.

*   Updated user manual to cover new examples.

*   Was accidentally shipping Subversion crap with tarball.  Fixed.


## 2.0.0, 2005.08.16 (r1031) The "Excess Hair Removal" release

**WARNING:** THIS IS NOT A DROP-IN REPLACEMENT FOR MySQL++ v1.7!

At minimum, you will have to recompile your program against this
library.  You may also have to make code changes.  Please see the
"[Incompatible Library Changes][ilc]" chapter of the user manual for a
guide to migrating your code to this new version.

[ilc]: https://tangentsoft.com/mysqlpp/doc/html/userman/breakages.html

*   The library's shared object file name (soname) scheme has
    changed.  (This mainly affects POSIX systems.)
    
    The soname for the last 1.7.x releases of MySQL++ was
    libmysqlpp.so.4, meaning the fourth version of the library's
    application binary interface (ABI).  (The first ABI version
    in this scheme was that provided by 1.7.9.)  MySQL++
    2.0.0's soname is libmysqlpp.so.2.0.0.  Since the dynamic
    linker setup on some systems will create a symlink to
    that file called libmysqlpp.so.2, it's possible that this
    library could be confused with that for MySQL++ 1.7.19
    through .21, which also used this number.  Do not install
    this library on a system which still has binaries linked
    against that version of the library!

    The new scheme is {ABI}.{feature}.{bug fix}.  That is,
    the first number changes whenever we break the library's
    binary interface; the second changes when adding features
    that do not break the ABI; and the last changes when the
    release contains only internal bug fixes.  This means
    that we will probably end up with MySQL++ 3.0 and 4.0 at
    some point, so there will be further soname conflicts.
    Hopefully we can put these ABI changes off long enough
    to avoid any real problems.

*   autoconf now installs headers into $prefix/include/mysql++,
    instead of $prefix/include.  If you were using the
    --includedir configure script option to get this behavior
    before, you no longer need it.

*   Linux binary RPMs will henceforth include only the
    libmysqlpp.so.X.Y.Z file, and create any short names
    required, to allow multiple versions to be installed at
    once.  Currently, you cannot install two MySQL++ library
    RPMs at once, because they both have /usr/lib/libmysqlpp.so.X,
    for instance.

*   Replaced the Visual C++ and Borland C++ project files with
    a new "makemake" system, which creates Makefiles specific
    to a particular toolchain.  This new mechanism also supports
    MinGW and generic GCC-on-*ix.  This was done partly to reduce
    the number of places we have to change when changing the
    file names in MySQL++ or adding new ones, and partly so we're
    not tied to one particular version of each of these tools.

*   VC++ Makefiles create a DLL version of the library only
    now, so there's no excuse for LGPL violations now.
    This same mechanism should make DLL builds under other
    Windows compilers easy.

*   Added `Connection::enable_ssl()`, which enables encrypted
    connections to the database server using SSL.

*   `Connection::create_db()` and `drop_db()` now return true on
    success, not false.

*   `Connection::create_db()` and `drop_db()` use Query::exec()
    now, for efficiency, rather than Query::execute().

*   Removed `Connection::infoo()`.  Apparently just there to
    save you from a typo when calling the info() method, since
    it was a mere alias.

*   Renamed `Connection::real_connect()` to `connect()`, gave
    several more of its parameters defaults, and removed old
    connect() function.  Then changed user manual and examples
    to use new APIs.

*   Replaced `Connection::read_option()` with new `set_option()`
    mechanism.  The name change matches the method's purpose
    better.  Functional changes are that it returns true on
    success instead of 0, it supports a broader set of options
    than read_option() did, and it enforces the correct option
    argument type.

*   You can now call `Connection::set_option()` before the
    connection is established, which will simply queue the option
    request up until the connection comes up.  If you use this
    feature, you should use exceptions, because that's the only
    way an option setting failure can be signalled in this case.

*   Removed query-building functions (`exec*()`, `store*()`,
    `use()`) from class `Connection`, and moved all the implementation
    code to `class Query`.  `Query` no longer delegates the final
    step of sending the query to the database server to
    `Connection()`.

*   Added `Connection::enable_ssl()`, for turning on SSL support on
    a connection.

*   Extracted exception disabling mechanism out of the many
    classes that had the feature into a new OptionalExceptions
    base class, which all classes having this feature now
    derive from.  Also, removed all per-method exception
    handling flags.  Finally, added NoExceptions class.  With
    all of these changes, there is now a common way to disable
    exceptions with fine granularity on all objects that
    support the feature.

*   All custom MySQL++ exceptions now derive from the new
    Exceptions class.  This regularizes the exception interface
    and allows you to use a single catch() block if you want.

*   The "throw exceptions" flag is passed from parent to child
    in all situations now.  (Or if not, please report it as
    a bug.) This fulfills a promise made in the v1.7.9 user
    manual, with the cost being that some programs will see
    new exceptions thrown that they're not expecting.

*   Added a bunch of new exception types: BadOption,
    ConnectionFailed, DBSelectionFailed, EndOfResults,
    EndOfResultSets, LockFailed, and ObjectNotInitialized.
    Some of these replace the use of BadQuery, which in v1.7.x
    was a kind of generic exception, thrown when something more
    specific wasn't available.  Beware, this means that programs
    may start crashing after recompiling them under v2.0 due to
    uncaught exceptions, if they were only trying to catch BadQuery.

    There are additional instances where the library will
    throw new exceptions.  One is when calling a method that
    forces the internals to use an out-of-bounds index on a
    vector; previously, this would just make the program
    likely to crash.  Another is that the library uses the
    BadFieldName exception -- created in v1.7.30 -- in more
    apropos situations.

*   Renamed SQLQueryNEParms to BadParamCount, to match naming
    style of other concrete exception types.

*   Extracted lock()/unlock() functions from Connection and
    Query classes into a new Lockable interface class.  Locking
    is implemented in terms of a different class hierarchy, Lock,
    which allows multiple locking strategies with a single ABI.

*   Removed ResUse::eof().  It's based on a deprecated MySQL
    C API feature, and it isn't needed anyway.

*   Removed arrow operator (->) for iterator returned by Fields,
    Result and Row containers.  It was inherently buggy, because
    a correct arrow operator must return the address of an
    object, but the underlying element access functions in these
    classes (e.g. at()) return objects by value, of necessity.
    Therefore, this operator could only return the address of
    a temporary, which cannot be safely dereferenced.

*   Returned Row subscripting to something more like the
    v1.7.9 scheme: there are two operator[] overloads, one for an
    integer (field by index) and another for const char* (field
    by name).  lookup_by_name() has been removed.  Because row[0]
    is ambiguous again, added Row::at() (by analogy with STL
    sequence containers), which always works.

*   Collapsed two of the `Row::value_list*()` overloads into
    two other similar functions using default parameters.
    This changes the API, but the removed functions aren't
    used within the library, and I doubt they are used outside,
    either.

*   Merged RowTemplate into Row.

*   Merged SQLQuery class into Query class.

*   Query is now derived from std::ostream instead of
    std::stringstream, and we manage our own internal string
    buffer.

*   Moved SQLParseElement and SQLQueryParms into their own
    module, qparms.

*   Added multiple result set handling to Query.  MySQL 4.1
    and higher allow you to give multiple SQL statements in a
    single "store" call, which requires extensions to MySQL++
    so you can iterate through the multiple result sets.  Also,
    stored procedures in MySQL 5.0 reportedly return multiple
    result sets.  Thanks for the initial patch go to Arnon Jalon;
    I reworked it quite a bit.

*   `Query::storein*()` now supports more varieties of the
    nonstandard slist comtainer.  (Singly-linked version of
    STL `std::list`.)

*   Template query mechanism and user manual had several
    mismatches.  Made manual match actual behavior, or
    made library match documented behavior, as apropriate.
    Initial patch by Jürgen MF Gleiss, with corrections and
    enhancements by Warren Young.

*   Collapsed `mysql_*` date and time base classes' methods and
    data into the subclasses.  Also, DateTime no longer derives
    from Date and Time; you could get away with that in the
    old hierarchy, but now it creates an inheritance diamond,
    and allows unsupported concepts like comparing a Time to
    a DateTime.

*   Removed "field name" form of `Row::field_list()`.  It was
    pretty much redundant -- if you have the field names, why
    do you need a list of field names?

*   ColData can convert itself to bool now.  Thanks for this
    patch go to Byrial Jensen.

*   Removed `simp_list_b` type; wasn't being used, and doesn't
    look to be useful for end-user code.

*   Several methods that used to take objects by value now
    do so by const reference, for efficiency.

*   Several variable and function renamings so that MySQL++
    isn't needlessly tied to MySQL.  Even if we never make
    the library work with other database servers, there's
    little point in tying this library to MySQL blindly.

*   Renamed all private data members of MySQL++ classes to
    have trailing underscores.

*   'private' section follows 'public' section in all classes
    now.

*   Removed mysql++.hh and sqlplus.hh backwards-compatibility
    headers.

*   Added copy ctors to Date/Time classes so that they will
    work in SSQLS under GCC 4.0.0.  Without these, the compiler
    couldn't make the conversion from raw MySQL row data.

*   Fixed a bunch of GCC 4.0 pedantic warnings: added virtual
    dtors to all base classes, calling base class ctors from leaf
    classes, etc.

*   All warnings fixed under VC++ at warning level 3.  (Mostly
    harmless signedness and integer conversion stuff.)

*   Updated LGPL license/copyright comments at the top of
    several files to use FSF's new physical address.

*   Relicensed user manual under a close variant of the Linux
    Documentation Project License, as it's designed for
    documentation, which the LGPL is not.  Permission for this
    received from Kevin Atkinson and MySQL AB.

*   Added ABI and API breakages chapter to user manual.  It
    is basically a subset of this change log, with only the
    information an end-user must know when migrating between
    versions.

*   Reworked user manual's DocBook code quite a bit after
    reading Bob Stayton's book "DocBook XSL" 3/e.  Better handling
    of stylesheets, taking advantage of some superior DocBook
    features, prettier output (especially the HTML version), etc.

*   Rewrote doc/userman/README to make it clearer how to get
    started contributing to the user manual.  It's essentially a
    "getting started with DocBook" guide now!

*   Lots of small text improvements to user and reference
    manuals.  Aside from the obvious tracking of library changes,
    made a bunch of minor style and clarity improvements.

*   Added CSS stylesheets for userman and refman to make the HTML
    versions of each a) not ugly; and b) match `tangentsoft.com`.  (Yes,
    some may say that these are incompatible goals....)

*   Standardized exception handling code in the examples that
    use it.

*   Fixed a potential memory leak due to exceptions thrown from
    ResUse.  Thanks for this patch go to Chris Frey.

*   Using new "no exceptions" feature of library in simple1
    example, so it is now truly simple.

*   simple1 example no longer depends as much on util module, so
    that all of the important code is in one place.  Makes
    learning MySQL++ a little less intimidating.

*   Added new simple2 and usequery examples, to demonstrate
    the proper way to handle a "use" query, with exceptions
    disabled, and not, respectively.  Added them to the user
    manual, in the appropriate place.

*   Refactored the "print stock table" example functions
    again, to make code using them clearer.

*   UTF-8 to UCS-2 handling in examples is now automatic on
    Windows.

*   Removed debug code from Windows Unicode output examples
    that slipped into previous release.

*   resetdb example is now clearer, and more robust in the
    face of database errors.

*   Simplified `connect_to_db()` in examples' util module.

*   Added sample autoconf macro for finding MySQL++ libraries, for
    people to use in their own autotools-based projects.

*   Lots and lots of minor cleanups not worth mentioning
    individually...


## 1.7.40, 2005.05.26 (r719)

*   Multiple item form of insert() now works if you're using the
    SQLQuery class, or its derivative, Query.  Thanks to Mark
    Meredino for this patch.

*   Fixed a bug in `const_string::compare()`, in which MySQL++
    would walk off the end of the shorter of the two strings.
    All was well if the two were the same length.

*   ResUse::operator=() now fully updates the object, so it's more
    like the behavior of the full ctor.

*   All source files now contain a license and copyright statement
    somewhere within them.

*   Optimized mysql++.h a bit: it now #includes only the minimum set
    of files required, and there is now an idempotency guard.
    This improves compile times a smidge, but mainly it was
    done to clean up the generated #include file graph in the
    reference manual.  Before, it was a frightful tangle because
    we #included everything except custom*.h.

*   Constness fix in MySQL++ date/time classes to avoid compiler
    warnings with SSQLS.  Thanks to Wolfram Arnold for this patch.

*   Fixed some compiler warnings in `custom*.h`.  Thanks to Chris Frey
    for this patch.

*   Added "Submitting Patches" and "Maintaining a Private CVS
    Repository" sections to the HACKERS file.  Thanks to Chris
    Frey for the source material for these sections.  The HACKERS
    file was improved in several other ways at the same time.

*   PDF version of user manual no longer has links to the reference
    manual.  They were ugly, and they were broken anyway due to the
    way we move the PDFs after generating them.  If you want
    interlinked manuals, use the HTML version.

*   PDF version of user manual now has hard page breaks between
    chapters.

*   Removed complic1 example.  Wasn't pulling its own weight.
    Everything it is supposed to demonstrate is shown in other
    examples already.

*   Refactored `print_stock_table()` in examples/util module to be
    four functions, and made all the examples use various of
    these functions where appropriate.  Before, several of
    the examples had one-off stock table printing code because
    print_stock_table() wasn't exactly the right thing, for one
    reason or another.  One practical problem with this is that
    some of the examples missed out on the recent Unicode updates;
    now such a change affects all examples the same way.

*   Since so many of the examples rely on the util module, the user
    manual now covers it.  The simple1 example in the user manual
    didn't make much sense before, in particular, because it's
    really just a driver for the util module.

*   Added custom5 example.  It shows how to use the `equal_list()`
    functionality of SSQLS.  Thanks to Chris Frey for the original
    version of this program.  (I simplified it quite a bit after
    accepting it.)

*   New user manual now covers the `value_list()`, `equal_list()` and
    `field_list()` stuff that the old manual covered but which was
    left out in previous versions of the new manaul.  Most of the
    examples are the same, but the prose is almost completely new.
    This new section includes the custom5 example.

*   Every declaration in MySQL++ is now documented in the reference
    manual, or explicitly treated as "internal only".

*   Improved docs for MySQL++'s mechanism to map between MySQL
    server types and C++ types.  Initial doc patch by Chris Frey,
    which I greatly reworked.

*   Improved a lot of existing reference manual documentation while
    adding the new stuff.

*   Expanded greatly on the exception handling discussion in the user
    manual.

*   Added all-new "Quoting and Escaping" section to the user
    manual's Tutorial chapter.  Moved some existing comments on
    quoting and escaping around and added some new ones to other
    sections as a result.

*   Added all-new "Handling SQL Nulls" section to the user manual's
    Tutorial chapter.

*   Many improvements to the Overview section of the user manual.

*   Row::operator[] reference now explains the right and wrong way to
    use the values it returns.  This is in response to a mailing list
    post where someone was incorrectly using this feature and getting
    a bunch of dangling pointers.

*   Updated Doxyfile so 1.3.19.1 parses it without warnings.  Still
    works with versions back to 1.2.18, at least.  (These are
    the versions shipped with Fedora Core 3 and Red Hat Linux 9,
    respectively.)

*   Using a superior method to make Doxygen ignore certain sections
    of the source code.  Between this change and the fact that
    everything not so ignored is documented, Doxygen no longer
    generates any warnings.

*   Lots of code style updates.  Everything should now be consistently
    formatted.


## 1.7.35, 2005.05.05 (r601) The "Cinco de Mayo" release

*   Added a "how to use Unicode with MySQL++" chapter to the user
    manual.  (Too bad "Cinco de Mayo" doesn't have any accented
    characters.  That would be just _too_ precious.)

*   VC++ examples now use the Unicode Win32 APIs, so they can display
    Unicode data from MySQL++.

*   Added an optional conversion function to examples/util.cpp to
    handle the conversion from UTF-8 to UCS-2 on Win32.

*   Moved "brief history of MySQL++" from intro section of refman to
    intro section of userman.

*   Lots of small bits of documentation polishing.
    
*   Made some minor constness fixes.  Thanks to Erwin van Eijk
    for this patch.

*   Made some warning fixes for GCC 4.0.  Not all warnings are
    fixed, because some of the needed changes would break the ABI.
    Thanks to Chris Frey for this patch.

*   Added lib/Doxyfile to distribution.
    

## 1.7.34, 2005.04.30 (r573)

*   Added a multiple-insert method for Query, which lets you insert
    a range of records from an STL container (or the whole thing,
    if you like) in a single SQL query.  This is faster, and it
    reduces coding errors due to less repetition.  Thanks to Mark
    Meredino for the patch.

*   Reference and user manual now get rebuilt automatically when
    required.  (E.g. on 'make dist', or explicitly now through 'make
    docs'.)

*   Made it easier to change the maximum number of SSQLS data members
    in generated custom-macros.h file.  It used to be hard-coded in
    several places in lib/custom.pl; now it's a variable at the top of
    the file.

*   Changed default SSQLS data member limit to 25, which is what it
    has been documented as for a long time now.  It was actually 26
    within custom.pl.

*   Fixed a regression in previous version.

*   Trimmed some fat from the distribution packages.

*   Some more small doucmentation improvements.


## 1.7.33, 2005.04.29 (r555)

*   Worked around an overloaded operator lookup bug in VC++ 7.1 that
    caused SSQLS insert, replace and update queries to get mangled.
    (Symptom was that custom2 and custom3 examples didn't work right.)
    Thanks to Mark Meredino for digging up [the problem's characterization
    and its solution](https://groups.google.com/forum/#!topic/microsoft.public.vc.stl/mmjYRkTmTxU).

*   Some VC++ warning fixes.

*   Major documentation improvements:
    
      o Using DocBook for user manual and Doxygen for reference
        manual.  The former now references the latter where
        useful.

      o Split out HACKERS and CREDITS files from main README,
        and improved remaining bits of README.

      o Moved the text from the old v1.7.9 LaTeX-based
        documentation over into the new systems, and reworked
        it to more closely resemble English.

      o Added a lot of new material to documentation, and
        simplified a lot of what already existed.

      o Documentation is now being built in HTML and PDF forms.

*   ebuild file updated to take advantage of recent configure script
    features.  Thanks to Chris Frey for this patch.



## 1.7.32, 2005.03.10 (r479)

*   Example building may now be skipped with --disable-examples
    configure script flag.

*   Changed stock items added in resetdb.  One is now UTF-8 encoded,
    to show that basic use of Unicode with MySQL++ is easy, yet not
    foolproof.  (See formatting of table on systems where cout isn't
    UTF-8 aware!)  Other stock items now follow a theme, for your
    amusement.  :)

*   custom3 example now changes UTF-8 item's name to the 7-bit ASCII
    equivalent.  Previously, this example would fix a spelling error
    in the table.

*   resetdb example now says 'why' when it is unable to create the
    sample database.

*   Small formatting change to `print_stock_table()`, used by several
    examples.

*   Was issuing a VC++-specific warning-disable pragma when built by
    any Windows compiler.  Fixed.
    

## 1.7.31, 2005.03.05 (r462) The "Inevitable Point-one Followup" release

*   Check for threads support must now be explicitly requested via
    configure script's new --enable-thread-check flag.

*   Fix for contacting MySQL server on a nonstandard port number.
    Thanks to Chris Frey for this patch.

*   Example programs using standard command line format now accept a
    fourth optional parameter, a port number for the server.  Thanks
    to Chris Frey for this patch.

*   One more g++ 3.4 pedantic warning fix by Chris Frey.

*   Exception handling in resetdb is no longer nested, because you'd
    get a segfault on some systems when an exception was thrown from
    one of the inner try blocks.

*   Improvements to Connection class's handling of locking mechanism.
    Concept based on patches by Rongjun Mu.

*   Implemented the declared-but-never-defined Query::lock().  Thanks
    to Rongjun Mu for this patch.
    
*   Cleaned up some unclear if/else blocks in connection.cpp by
    adding explicit braces, correct indenting and putting normal
    code path in the if side instead of the else.


## 1.7.30, 2005.02.28 (r443) The "Power of Round Numbers" release

*   bootstrap script now accepts a 'pedantic' argument, which sets a
    bunch of CFLAGS that make g++ very picky about the code it
    accepts without warnings.
    
*   Fixed a bunch of things that generated warnings with g++ in
    pedantic mode. Only two warnings remain, having to do with
    floating point comparisons.  (See Wishlist for plans on how to
    deal with these.)  Thanks to Chris Frey for this patch.

*   Split long tests out of configure.in into M4 files in new config
    subdir.  This makes configure.in easier to read.

*   Added preliminary thread support.  Currently, this just means that
    we detect the required compiler and linker thread flags, and link
    against the proper thread-safe libraries.  THERE MAY BE
    UN-THREAD-SAFE CODE IN MYSQL++ STILL!

*   Standard C++ exceptions are the default now.  Old pre-Standard
    exception stuff removed.

*   `Row::lookup_by_name()` will throw the new BadFieldName exception if
    you pass a bad field name.  Thanks for this patch to Chris Frey.

*   Row::operator[] will throw a Standard C++ out of bounds exception
    by way of std::vector::at() if you pass it a bad index.  Thanks
    for this patch to Chris Frey.

*   Setting `Connection::is_connected` flag to false on close().
    Previously, is_connected() would continue to return true after
    close() was called.

*   All number-to-string conversion ctors in SQLString class now use
    ostringstream to do the conversion.  Previously, we used
    snprintf(), which isn't available on all systems.  Also, we used a
    C99 format specifier for the "long long" conversion, which is also
    not available on all systems.  This new ostringstream code should
    be platform-independent, finally.


## 1.7.28, 2005.02.04 (r403)

*  ` --with-mysql*` flags to configure script now try the given
    directory explicitly, and only if that fails do they try
    variations, like tacking '/lib' and such onto it to try and find
    the MySQL includes and libraries.  Thanks to Matthew Walton for
    the patch.

*   Finally removed `sql_quote.h`'s dependence on `custom.h` by moving
    the one definition it needed from `custom.h` to `deps.h`.  This will
    help portability to compilers that can't handle the SSQLS macros
    by making that part of the library truly optional.


## 1.7.27, 2005.01.12 (r395)

*   configure check for libmysqlclient now halts configuration if the
    library isn't found.  Previously, it would just be flagged as
    missing, and MySQL++ would fail to build.

*   Added `sql_string.cpp` to VC++ and BCBuilder project files.

*   Removed Totte Karlsson's 'populate' example, which never made it
    into the distribution anyway.

*   Removed last vestiges of 'dummy.cpp'.

*   Renamed `*.cc` to `*.cpp` in BCBuilder project files.

*   Worked around a BCBuilder C++ syntax processing bug in row.h.


## 1.7.26, 2004.12.17 (r382)

*   Moved all of the SQLString definitions out of the header and into
    a new .cpp file, reformatted it all, and made the integer
    conversion functions use snprintf() or _snprintf() instead of
    sprintf().  Also, widened some of the buffers for 64-bit systems.

*   Using quoted #include form for internal library headers, to avoid
    some problems with file name clashes.  (The headers should still
    be installed in their own separate directory for best results,
    however.)  Thanks to Chris Frey and Evan Wies for the patch and
    the discussion that lead to it.

*   Removed unnecessary semicolons on namespace block closures.
    Thanks to Evan Wies for this patch.

*   Fixed namespace handling in the legacy headers mysql++.hh and
    sqlplus.hh.  Thanks to Chris Frey for this patch.

*   #including iostream instead of ostream in lib/null.h for
    broader C++ compatibility.  (This may allow MySQL++ to work on GCC
    2.95.2 again, but this is unconfirmed.)

*   Detecting proper `mysql_shutdown()` argument handling automatically
    in platform.h for the Windows compiler case instead of making the
    user edit the file.  Thanks to Evan Wies for this patch.
    
*   Fixed examples/Makefile.simple to use new `*.cpp` file naming.

*   Fix to Gentoo ebuild file's exception configure switch handling.
    Thanks to Chris Frey for this patch.

*   Rebuilding `lib/custom*.h` intelligently now, to avoid unnecessary
    recompiles after running bootstrap script.


## 1.7.25, 2004.12.09 (r360)

*   Yet more fixes to the --with-mysql-lib and --with-mysql-include
    flags.

*   Added DLLEXPORT stuff to platform.h, hopefully so that someone
    can figure out how to make VC++ make a DLL version of MySQL++.

*   Renamed `*.cc` to `*.cpp`.

*   Made 'set -> myset' change in VC++ project files.

*   Some style changes (mostly whitespace) in header files.


## 1.7.24, 2004.12.08 (r343)

*   Fixed the --with-mysql-lib and --with-mysql-include flags'
    behavior, and extended their search ability to handle one other
    common case.  (Fixed by Steve Roberts)

*   Fixes to put freestanding functions in namespace mysqlpp.  (They
    weren't in the namespace, while all the class member functions
    were.)  This required bumping the ABI version number to 4.
    
*   Renamed set module to myset, to avoid conflicts with Standard C++
    Library's set.h when MySQL++ headers were installed into one of
    the standard system include directories.

*   Renamed all the idempotency guards to make them consistent in
    style and unique to MySQL++.

*   Reformatted all of `lib/*.cc`.


## 1.7.23, 2004.11.20 (r333)

*   Query::reset() now empties the stored query string.  If you
    subsequently stored a longer query in the object, you'd overwrite
    the previous query, but otherwise the longer part of the previous
    one would stick out past the new query.

*   We now look to the `NO_LONG_LONGS` macro only to decide whether to
    fake 64-bit integer support using 32-bit integers.

*   64-bit integer support under Visual C++ may be working now, using
    that platform's __int64_t type.  This has not been tested.

*   Removed 64-bit integer support for Codewarrior on Mac OS 9 and
    earlier.  OS X uses GCC, so it requires no special support.

*   Added MinGW detection in platform.h.
    
*   If you pass a flag (-X) to the examples that take the standard
    parameters (resetdb, simple1, etc.), it prints a usage message.
    
*   Better error handling in resetdb example, where errors are the
    most critical.  (If that one runs without errors, the others
    probably will, too, and you have to run that one first.)

*   resetdb now reports success, rather than succeeding silently.

*   Removed the code in sample1 example that duplicated util module's
    print_stock_table(), and called that function instead.

*   Moved the preview() calls in the example programs to before the
    query execution calls, because execution modifies the query.

*   All examples that take the standard command line parameters now 
    exit when connect_to_db() fails in one of the ways that don't
    throw an exception, rather than bulling onward until the next
    MySQL database call fails because the connection isn't up.

*   dbinfo example now takes the standard command line parameters.

*   Much better output formatting in dbinfo example.

*   Calling reset() where appropriate in the various example programs.
    Before, the programs may have worked, but not for the right
    reason.  This lead some people to believe that calling reset()
    was not necessary.

*   Fixed an incorrect use of row["string"] in complic1 example.

*   Lots of code style improvements to the examples.

*   Some VC++ type warnings squished.  Some remain.
    

## 1.7.22, 2004.11.17 (r302)

*   Applied patches by Zahroof Mohammed to allow it to build under GCC
    3.4.2.  Tested on MinGW and Fedora Core 3 systems.

*   Removed all the forward declarations in defs.h, and added
    forward declarations where necessary in individual header files.
    #including defs.h in fewer locations as a result.

*   Legacy headers sqlplus.hh and mysql++.hh now declare they are
    using namespace mysqlpp, to allow old code to compile against the
    new library without changes.

*   Removed `query_reset` parameter from several class Query member
    functions.  In the implementation, these parameters were always
    overridden!  No sense pretending that we pay attention to these
    parameters.  This changes the ABI version to 3.

*   `#including custom.h` in `sql_query.h` again...it's necessary on GCC
    3.4.
    
*   bootstrap script runs lib/config.pl after configure.  This is
    just a nicety for those running in 'maintainer mode'.


## 1.7.21, 2004.11.05 (r273)

*   Generating a main mysql++ RPM containing just the library files
    and basic documentation, and the -devel package containing
    everything else.

*   Devel package contains examples now, along with a new Makefile
    that uses the system include and library files, rather than the
    automake-based Makefile.am we currently have which uses the files
    in the mysql++ source directory.

*   Renamed sqlplusint subdirectory in the package to lib.

*   Removed the obsolete lib/README file.

*   `lib/sql_query.h` no longer #includes custom.h, simplifying
    build-time dependencies and shortening compile times.


## 1.7.20, 2004.11.03 (r258)

*   Collapsed all numbered `*.hh` headers into a single `*.h` file.  For
    example, the contents of row1.hh, row2.hh and row3.hh are now in
    row.h.

*   While doing the previous change, broke several circular
    dependencies.  (The numbered file scheme was probably partly done
    to avoid this problem.)  The practical upshot of most of these
    changes is that some functions are no longer inline.

*   Removed `define_short.hh` and everything associated with it.  The
    library now uses the short names exclusively (e.g. Row instead of
    MysqlRow).

*   Put all definitions into namespace mysqlpp.  For most programs,
    simply adding a 'using namespace mysqlpp' near the top of the
    program will suffice to convert to this version.

*   Once again, the main include file was renamed, this time to
    mysql++.h.  Hopefully this is the last renaming!

*   mysql++.hh still exists.  It emits a compiler warning that the
    file is obsolete, then it #includes mysql++.h for you.

*   sqlplus.hh is back, being a copy of the new mysql++.hh.  Both of
    these files may go away at any time.  They exist simply to help
    people transition to the new file naming scheme.

*   Renamed mysql++-windows.hh to platform.h, and added code to it to
    handle #inclusion of config.h on autotools-based systems
    intelligently.  This fixes the config.h error when building under
    Visual C++.

*   There is now only one place where conditional inclusion of
    winsock.h happens: platform.h.

*   Beautified the example programs.


## 1.7.19, 2004.10.25 (r186)

*   Fixed an infinite loop in the query mechanism resulting from the
    strstream change in the previous version.  There is an overloaded
    set of str() member functions that weren't a problem when query
    objects were based on strstream.
     
*   Query mechanism had a bunch of const-incorrectness: there were
    several function parameters and functions that were const for
    the convenience of other parts of the code, but within these
    functions the constness was const_cast away!  This was evil
    and wrong; now there are fewer const promises, and only one is
    still quietly broken within the code.  (It's in the SQLQuery
    copy ctor implementation; it should be harmless.)

*   Removed operator=() in Query and SQLQuery classes.  It cannot take
    a const argument for the same reason we have to cast away const
    in the SQLQuery copy ctor.  It's tolerable to do this in the copy
    ctor, but intolerable in an operator.  Since the copy ctor is good
    enough for all code within the library and within my own code, I'm
    removing the operator.

*   Above changes required bumping the ABI to version 2.

*   Visual C++ projects now look for MySQL build files in c:\mysql,
    since that's the default install location.  (Previously, it was
    c:\program files\mysql.)


## 1.7.18, 2004.10.01 (r177)

*   Changed all the strstream (and friends) stuff to stringstream type
    classes.  Let there be much rejoicing.

*   Query object now lets you use store() even when the SQL query
    cannot return a result, such as a DROP TABLE command.  This is
    useful for sending arbitrary SQL to the server.  Thanks to
    Jose Mortensen for the patch.

*   Quote fix in configure.in, thanks to David Sward.

*   Renamed `undef_short` file to `undef_short.hh`.

*   Gentoo ebuild file is actually being shipped with the tarball,
    instead of just sitting in my private CVS tree since 1.7.14 was
    current.  Ooops....


## 1.7.17, 2004.09.16 (r170)

*   Reverted one of the VC++ warning fix changes from 1.7.16 that
    caused crashes on Linux.

*   Added a configure test that conditionally adds the extra 'level'
    parameter to mysql_shutdown() that was added in MySQL 4.1.3 and
    5.0.1.


## 1.7.16, 2004.09.13 (r160)

*   Building VC++ version with DLL version of C runtime libraries, and
    at warning level 3 with no warnings emitted.

*   VC++ build no longer attempts to fake "long long" support.  See
    the Wishlist for further thoughts on this.


## 1.7.15, 2004.09.02 (r144)

*   Renamed Configure file to common.am, to avoid file name conflict
    with configure script on case-sensitive file systems.

*   Added ebuild file and ebuild target to top-level Makefile for
    Gentoo systems.  Thanks to Chris Frey for this.

*   Small efficiency improvements to BadQuery exception handling.
    Initial idea by Chris Frey, improvements by Warren Young.


## 1.7.14, 2004.08.26 (r130)

*   Builds with Visual C++ 7.1.

*   Fixed a bug in custom macro generation that caused problems with
    GCC 3.4.  (X_cus_value_list ctor definition was broken.)


## 1.7.13, 2004.08.23 (r92)

*   Removed USL CC support.  (System V stock system compiler.)  Use
    GCC on these platforms instead.

*   Added examples/README, explaining how to use the examples, and
    what they all do.

*   Most of the example programs now accept command line arguments for
    host name, user name and password, like resetdb does.

*   Renamed `sinisa_ex` example to `dbinfo`.

*   Several Standard C++ syntax fixes to quash errors emitted by
    GCC 3.4 and Borland C++ Builder 6.  Thanks to Steffen Schumacher
    and Totte Karlsson for their testing and help with these.

*   Added proper #includes for BCBuilder, plus project files for same.
    Thanks to Totte Karlsson for these.


## 1.7.12, 2004.08.19 (r63)

*   Many Standard C++ fixes, most from the GCC 3.4 patch by
    Rune Kleveland.

*   Added Wishlist file to distribution.

*   Fixed a problem in the bootstrap script that caused complaints
    from the autotools on some systems.

*   RPM building is working properly now.

*   Fixed the idempotency guard in datetime1.hh.


## 1.7.11, 2004.08.17 (r50)

*   Renamed `mysql++`, `defs` and `define_short` files, adding `.hh` to the
    end of each.  (They're header files!)  This shouldn't impact
    library users, since these are hopefully used internal to the
    library only.

*   Removed `sqlplus.hh` file.  Use `mysql++.hh` instead.
    
*   Added mysql++.spec, extracted from contributed 1.7.9 source RPM, 
    and updated it significantly.  Also, added an 'rpm' target to
    Makefile.am to automate the process of building RPMs.

*   Added bootstrap and LGPL files to distribution tarball.

*   Added pre-1.7.10 history to this file.

*   Removed .version file.  Apparently it's something required by old
    versions of libtool.


## 1.7.10, 2004.08.16 (r27)

Maintenance taken over by Warren Young.  See [the mailing list
post](http://lists.mysql.com/plusplus/3326) for rationale.

*   Applied many of the GCC 3.x patches submitted for 1.7.9 over
    the years.  This allows it to build on everything from 3.0 to
    3.3.3, at least.  Because so many patches are rolled up in one
    big jump, it's difficult to describe all the changes and where
    they came from.  Mostly they're Standard C++ fixes, as GCC
    has become more strict in the source code that it will accept.

*   MysqlRow used to overload operator[] for string types as well as
    integers so you could look up a field by its name, rather than by
    its index.  GCC 3.3 says this is illegal C++ due to ambiguities in
    resolving which overload should be used in various situations.
    operator[] is now overloaded only for one integer type, and a
    new member function lookup_by_name() was added to maintain the old
    by-field-name functionality.

*   Fixed another operator overloading problem in SSQLS macro
    generation with GCC 3.3.

*   The` _table` member of SSQLS-defined structures is now `const char*`,
    so you can assign to it from a `const char*` string.

*   Got autoconf/automake build system working with current versions
    of those tools again.  Removed the generated autotools files from
    CVS.

*   Renamed library file from libsqlplus to libmysqlpp.


## 1.7.9, 2001.05.01

*   Fixed a serious bug in Connection constructor when reading MySQL
    options

*   Improved copy constructor and some other methods in Result / ResUse

*   Many other minor improvements

*   Produced a complete manual with chapter 5 included

*   Updated documentation, including a Postscript format


## 1.7.8, 2000.11.14

*   Introduced a new, standard way of dealing with C++ exceptions.

*   MySQL++ now supports two different methods of tracing exceptions.
    One is by the fixed type (the old one) and one is standard C++ type
    by the usage of what() method. A choice of methods has to be done in
    building a library. If configure script is run with
    `-enable-exception` option , then new method will be used. If no
    option is provided, or `-disable-exception` is used, old MySQL++
    exceptions will be enforced. This innovation is a contribution of
    Mr. Ben Johnson <ben@blarg.net>

*   MySQL++ now automatically reads at connection all standard MySQL
    configuration files

*   Fixed a bug in `sql_query::parse` to enable it to parse more then 99 char's

*   Added an optional client flag in connect, which will enable usage of
    this option, e.g. for getting matched and not just affected rows.
    This change does not require any changes in existing programs.

*   Fixed some smaller bugs

*   Added better handling of NULL's. Programmers will get a NULL string in
    result set and should use `is_null()` method in `ColData` to check if
    value is NULL

*   Further improved configuration

*   Updated documentation, including a Postscript format


## 1.7.6, 2000.09.22

This release contains some C++ coherency improvements and scripts
enhacements.

*   `result_id()` is made available to programmers to fetch
    `LAST_INSERT_ID()` value

*   `Connection` ctor ambiguity resolved, thanks to marc@mit.edu

*   Improved cnnfigure for better finding out MySQL libraries and includes

*   Updated documentation, including a Postscript format


## 1.7.5, 2000.07.30

This release has mainl bug fixes and code improvements:

*   A bug in FieldNames::init has been fixed, enabling a bug free usage
    of this class with in what ever a mixture of cases that is required

*   Changed behaviour of ResUse, Result and Row classes, so that they
    could be re-used as much as necessary, without any memory leaks, nor
    with any re-initializations necessary

*   Fixed all potential leaks that could have been caused by usage of
    delete instead of delete[] after memory has been allocated with new[]

*   Deleted all unused classes and macros. This led to a reduction of
    library size to one half of the original size. This has furthermore
    brought improvements in compilation speed

*   Moved all string manipulation from system libraries to
    libmysqlclient, thus enabling uniformity of code and usage of 64 bit
    integers on all platforms, including Windows, without reverting to
    conditional compilation. This changes now requires usage of mysql
    3.23 client libraries, as mandatory

*   Changed examples to reflect above changes

*   Configuration scripts have been largely changed and further changes
    shall appear in consecutive sub-releases. This changes have been
    done and shall be done by our MySQL developer Thimble Smith
    <tim@mysql.com>

*   Changed README, TODO and text version of manual. Other versions of
    manual have not been updated

*   Fixed .version ``bug''. This is only partially fixed and version
    remains 1.7.0 due to some problems in current versions of libtool.
    This shall be finally fixed in a near future.

*   Several smaller fixes and improvements

*   Added build.sh script to point to the correct procedure of building
    of this library. Edit it to add configure options of your choice.


## 1.7, 2000.05.17

This is mainly a release dealing with bug fixes, consistency
improvements and easier configure on some platforms.

*   A bug in fetch_row() method of ResUse class has been fixed. Beside
    changes that existed in a distributed patch, some additional error
    checking has been introduced.

*   A bug in escape manipulator has been fixed that could cause an error
    if all characters had to be escaped.

*   An inconsistency in column indexing has been fixed. Before this
    version, column names in row indexing with strings, i.e.
    row[<string>] , has been case sensitive, which was inconsistent with
    MySQL server handling of column names.

*   An inconsistency in conversion from strings to integers or floats
    has been fixed. In prior version a space found in data would cause a
    BadConversion exception. This has been fixed, but 100% consistency
    with MySQL server has not been targeted, so that other non-numeric
    characters in data will still cause BadConversion exception or
    error. As this API is used in applications, users should provide
    feedback if full compatibility with MySQL server is desired, in
    which case BadConversion exception or error would be abolished in
    some of future versions.

*   A new method in ColData class has been introduced. is_null() method
    returns a boolean to denote if a column in a row is NULL.

*   Finally, as of this release, testing for NULL values is possible.

*   Those are columns with empty strings for which is_null() returns
    true.

*   Some SPARC Solaris installations had C++ exception problems with g++
    2.95.2 This was a bug that was fixed in GNU gcc, as from release
    2.95 19990728. This version was thoroughly tested and is fully
    functional on SPARC Solaris 2.6 with the above version of gcc.

*   A 'virtual destructor ' warning for Result class has been fixed

*   Several new functions for STL strings have been added. Those
    functions (see string_util.hh) add some of the functionality missing
    in existing STL libraries

*   Conversion for 64 bit integers on FreeBSD systems has been added.
    On those systems _FIX_FOR_BSD_ should be defined in CXXFLAGS prior
    to configuring.  Complete conversion to the usage of functions for
    integer conversion found in mysqlclient library is planned for one
    of the next releases.

*   A completely new, fully dynamic, dramatic and fully mutable result
    set has been designed and will be implemented in some of 2.x
    releases.

*   Several smaller fixes and improvements, including defaulting
    exceptions to true, instead of false, as of this version.

*   An up-to-date and complete Postscript version of documentation is
    included in this distribution.

*   Large chunks of this manual are changed, as well as README and TODO
    files.


## 1.6, 2000.02.03

*   This is a major release as it includes new features and major
    rewrites.

*   Automatic quoting and escaping with streams. It works automatically
    , depending on the column type. It will work with << on all ostream
    derived types. it is paricularly handy with query objects and
    strstreams. Automatic quoting and escaping on cout, cerr and clog
    stream objects is intentionally left out, as quoting / escaping on
    those stream objects is not necessary. This feature can be turned of
    by setting global boolean dont_quote_auto to true.

*   Made some major changes in code, so that now execute method should
    be used only with SSQL and template queries, while for all other
    query execution of UPDATE's, INSERT's, DELETE's, new method exec()
    should be used. It is also faster.

*   New method `get_string` is inroduced for easier handling / casting
    `ColData` into C++ strings.

*   Major rewrite of entire code, which led to it's reduction and speed
    improvement. This also led to removal of several source files.

*   Handling of binary data is introduced. No application program
    changes are required. One of new example programs demonstrates
    handling of binary data.

*   Three new example programs have been written and thoroughly tested.
    Their intention is to solve some problems addressed by MySQL users.

*   Thorough changes is Makefile system has been made

*   Better configuration scripts are written, thanks to D.Hawkins
    <dhawkins@cdrgts.com>

*   Added several bug fixes

*   Changed Manual and Changelog


## 1.5, 1999.12.01

*   Fixed bug in template queries, introduced in 1.4 (!)

*   Fixed connect bug

*   Fixed several bug in `type_info` classes

*   Added additional robustness in classes

*   Added additional methods for SQL type info

*   Changed Changelog and README


## 1.4, 1999.11.25

*   Fixed bug in store and storein methods

*   Fixed one serious memory leak

*   Fixed a very serious bug generated by gcc 2.95.xx !!

*   Added robustness in classes, so that e.g. same query and row objects
    can be re-used.  Changed `sinisa_ex` example to reflect and
    demonstrate this ability.

*   Changed Changelog and README

*   Few other bug fixes and small improvements and speed-ups


## 1.3, 1999.11.10

*   Fixed several erronous definitions

*   Further changed source to be 2.95.2 compatible

*   Expunged unused statements, especially dubious ones, like use of
    `pointer_tracker`

*   Corrected bug in example file `fieldinf1`

*   Finally fixed `mysql_init` in `Connection` constructor, which
    provided much greater stability!

*   Added read and get options, so that clients, like mysqlgui can use
    it

*   Changed Changelog and README

*   Many other bug fixes.


## 1.2, 1999.10.15

First offical release by [Sinisa Milivojevic](mailto:sinisa@mysql.com)
after Kevin Atkinson made him the offical maintainer,

*   Many manual fixes.

*   Changed README and Changelog

*   Changed source to be compilable by gcc 2.95.xx, tribute to Kevin
    Atkinson <kevinatk@home.com>

*   Added methods in Connection class which are necessary for
    fullfilling administrative functions with MySQL

*   Added many bug fixes in code pertaining to missing class
    initializers, as notified by Michael Rendell <michael@cs.mun.ca>


## 1.1, 1999.08.02

This release is the first one made by Sinisa Milivojevic.

*   Added several bug fixes

*   Fixed memory leak problems and variables overlapping problems.

*   Added automake and autoconf support by loic@ceic.com

*   Added Makefile for manual

*   Added support for cygwin

*   Added example `sinisa_ex` (let modesty prevail) which used to crash a
    lot when memory allocation, memory leak and overlap problems were
    present. Smooth running of this example proves that all those bugs
    are fixed

*   Corrected bugs in `sql_query.cc` regarding delete versus `delete[]`
    and string length in `manip.cc`

*   Changed manual

*   Changed README

*   Many other smaller things


## 1.0, 1999.06.09

All prior versions were released by Kevin Atkinson.  This release was
made by [Monty Widenius](mailto:monty@monty.pp.sci.fi)

*   Added patches from Orion Poplawski <orion@bvt.com> to support the
    UnixWare 7.0 compiler


## .64.1.1a, 1998.09.27

*   Fixed several bugs that caused my library to fail to compile with
    egcs 1.1. Hopefully it will still compile with egcs 1.0 however I
    have not been able to test it with egcs 1.0.

*   Removed some problem causing debug output in sql++pretty.


## .64.1a, 1998.08.01

*   Added an (almost) full guide to using Template Queries.

*   Fixed it so the SQLQuery will throw an exception when all the
    template parameters are not provided.

*   Proofread and speedchecked the manual (it really needed it).

*   Other minor document fixes.


## .64.0.1a, 1998.07.31

*   Reworked the Class Reference section a bit.

*   Minor document fixes

*   Added more examples for SSQLS.

*   Changed the syntax of `equal_list` for SSQLS from `equal_list(cchar
    *, Manip, cchar *)` to `(cchar *, cchar *, Manip)`.

*   Added set methods to SSQLS. These new methods do the same thing as
    there corresponding constructors.

*   Added methods for creating a `mysql_type_info` from a C++ `type_info`.


## .64.a, 1998.07.24

*   Changed the names of all the classes so they no longer have to have
    Mysql in the begging of it. However if this creates a problem you
    can define a macro to only use the old names instead.

*   The Specialized SQL Structures (formally known as Custom Mysql
    Structures) changed from mysql_ to sql_.

*   Added the option of using exceptions thoughout the API.

*   ColData (formally known as MysqlStrings) will now throw an exception
    if there is a problem in the conversion.

*   Added a null adapter.

*   Added Mutable Result Sets

*   Added a very basic runtime type identification for SQL types

*   Changed the document format from POD to LYX .

*   Am now using a modified version of Perceps to extract the class
    information directly from the code to make my life easier.

*   Added an option of defining a macro to avoid using the automatic
    conversion with binary operators.

*   Other small fixed I probully forgot to mentune.


## .63.1.a

*   Added Custom Mysql Structures.

*   Fixed the Copy constructor of class Mysql

*   Started adding code so that class Mysql lets it children now when it
    is leaving.

*   Attempted to compile it into a library but still need help. As
    default it will compile as a regular program.

*   Other small fixes.


## .62.a, 1998.05.03

*   Added Template Queries

*   Created a separate SQLQuery object that is independent of an SQL
    connection.

*   You no longer have to import the data for the test program as the
    program creates the database and tables it needs.

*   Many small bug fixes.


## .61.1.a 1998.04.28

*   Cleaned up the example code in test.cc and included it in the
    manual.

*   Added an interface layout plan to the manual.

*   Added a reverse iterator.

*   Fixed a bug with row.hh (It wasn't being included because of a
    typo).


## .61.0.a

*   Major interface changes. I warned you that the interface may change
    while it is in pre-alpha state and I wasn't kidding.

*   Created a new and Separate Query Object. You can no longer execute
    queries from the Mysql object instead you have to create a query
    object with Mysql::query() and use it to execute queries.

*   Added the comparison operators to MysqlDate, MysqlTime and
    MysqlDateTime. Fixed a few bugs in the MysqlDate... that effected
    the stream output and the conversion of them to strings.

*   Reflected the MysqlDate... changes in the manual.

*   Added a new MysqlSet object and a bunch of functions for working
    with mysql set strings.


## .60.3a, 1998.04.24

*   Changed strtoq and strtouq to strtoll and strtull for metter
    compatibility Minor Manual fix.

*   Changed makefile to make it more compatible with Solaris (Thanks
    Chris H)

*   Fixed bug in comparison functions so that they would compare in he
    right direction.

*   Added some items to the to do list be sure to have a look.

Changes to doc/userman/breakages.dbx.

3
4
5
6
7
8
9

10
11
12
13
14
15
16
17
18
19
20
21
22
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<sect1 id="breakages">
  <title>Incompatible Library Changes</title>

  <para>This chapter documents those library changes since the epochal
  1.7.9 release that break end-user programs. You can dig this stuff out

  of the ChangeLog, but the ChangeLog focuses more on explaining and
  justifying the facets of each change, while this section focuses on
  how to migrate your code between these library versions.</para>

  <para>Since pure additions do not break programs, those changes are
  still documented only in the ChangeLog.</para>


  <sect2 id="api-changes">
    <title>API Changes</title>

    <para>This section documents files, functions, methods and classes
    that were removed or changed in an incompatible way. If your program







>
|
|
|


|







3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<sect1 id="breakages">
  <title>Incompatible Library Changes</title>

  <para>This chapter documents those library changes since the epochal
  1.7.9 release that break end-user programs. You can dig this stuff out
  of the <filename>ChangeLog.md</filename> file, but the change log
  focuses more on explaining and justifying the facets of each change,
  while this section focuses on how to migrate your code between these
  library versions.</para>

  <para>Since pure additions do not break programs, those changes are
  still documented only in the change log.</para>


  <sect2 id="api-changes">
    <title>API Changes</title>

    <para>This section documents files, functions, methods and classes
    that were removed or changed in an incompatible way. If your program

Changes to doc/userman/licenses.dbx.

5
6
7
8
9
10
11
12

13
14
15
16
17
18
19
20
<sect1 id="licenses">
  <title>Licensing</title>

  <para>The primary copyright holders on the MySQL++ library and its
  documentation are Kevin Atkinson (1998), MySQL AB (1999 through 2001)
  and Educational Technology Resources, Inc. (2004 through the date of
  this writing). There are other contributors, who also retain
  copyrights on their additions; see the ChangeLog file in the MySQL++

  distribution tarball for details.</para>

  <para>The MySQL++ library and its Reference Manual are released under
  the GNU Lesser General Public License (LGPL), reproduced below.</para>

  <para>The MySQL++ User Manual &mdash; excepting some example code from
  the library reproduced within it &mdash; is offered under a license
  closely based on the Linux Documentation Project License (LDPL) v2.0,







|
>
|







5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<sect1 id="licenses">
  <title>Licensing</title>

  <para>The primary copyright holders on the MySQL++ library and its
  documentation are Kevin Atkinson (1998), MySQL AB (1999 through 2001)
  and Educational Technology Resources, Inc. (2004 through the date of
  this writing). There are other contributors, who also retain
  copyrights on their additions; see the
  <filename>ChangeLog.md</filename> file in the MySQL++ distribution
  tarball for details.</para>

  <para>The MySQL++ library and its Reference Manual are released under
  the GNU Lesser General Public License (LGPL), reproduced below.</para>

  <para>The MySQL++ User Manual &mdash; excepting some example code from
  the library reproduced within it &mdash; is offered under a license
  closely based on the Linux Documentation Project License (LDPL) v2.0,

Changes to mysql++.bkl.

513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
        done
      </command>

      <!-- Copy files into package directory -->
      <!-- top directory -->
      <command>
        cp -RL *.bat *.in *.txt abi.xml aclocal.m4 Bakefiles.bkgen \
          bootstrap ChangeLog cleanmf config.guess config.h config.sub \
          configure* dtest exrun install* Makefile.* mysql++.* osver \
          Wishlist $(PKGNAME)
      </command>

      <!-- VC++ project file subdirs -->
      <command>
        for d in vc200? ; do \







|







513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
        done
      </command>

      <!-- Copy files into package directory -->
      <!-- top directory -->
      <command>
        cp -RL *.bat *.in *.txt abi.xml aclocal.m4 Bakefiles.bkgen \
          bootstrap ChangeLog.md cleanmf config.guess config.h config.sub \
          configure* dtest exrun install* Makefile.* mysql++.* osver \
          Wishlist $(PKGNAME)
      </command>

      <!-- VC++ project file subdirs -->
      <command>
        for d in vc200? ; do \

Changes to mysql++.ebuild.

47
48
49
50
51
52
53
54
55
56
57
58

	emake || die "unable to make"
}

src_install() {
	emake DESTDIR="${D}" install || die
	# install the docs and HTML pages
	dodoc README* CREDITS ChangeLog HACKERS Wishlist
	dodoc doc/*
	cp -ra doc/html "${D}"/usr/share/doc/${PF}/html
	prepalldocs
}







|




47
48
49
50
51
52
53
54
55
56
57
58

	emake || die "unable to make"
}

src_install() {
	emake DESTDIR="${D}" install || die
	# install the docs and HTML pages
	dodoc README* CREDITS ChangeLog.md HACKERS Wishlist
	dodoc doc/*
	cp -ra doc/html "${D}"/usr/share/doc/${PF}/html
	prepalldocs
}

Changes to mysql++.spec.in.

76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

%post -p /sbin/ldconfig 

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING.txt CREDITS.txt LICENSE.txt README.txt
%{_libdir}/libmysqlpp.so.*

%files devel
%defattr(-,root,root,-)
%doc doc/examples doc/README-devel-RPM.txt README-examples.txt Wishlist
%{_includedir}/mysql++
%{_libdir}/libmysqlpp.so







|







76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

%post -p /sbin/ldconfig 

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc ChangeLog.md COPYING.txt CREDITS.txt LICENSE.txt README.txt
%{_libdir}/libmysqlpp.so.*

%files devel
%defattr(-,root,root,-)
%doc doc/examples doc/README-devel-RPM.txt README-examples.txt Wishlist
%{_includedir}/mysql++
%{_libdir}/libmysqlpp.so