-
Notifications
You must be signed in to change notification settings - Fork 8
/
ChangeLog
364 lines (284 loc) · 12.5 KB
/
ChangeLog
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
2012-11-15 KevinB. Kenny <[email protected]>
* configure.in: Made change so that `make test` works even
* Makefile.in: against an uninstalled version of tdbc.
* configure: autoconf 2.68
*** ADVANCED THE VERSION OF AUTOCONF IN USE ***
2012-11-08 Don Porter <[email protected]>
* configure.in:
* README: Advanced version number to 1.0.0.
* configure: autoconf 2.59
2012-07-26 Jan Nijtmans <[email protected]>
* generic/mysqlStubInit.c: Fix [14a8b7c3bd]: package tdbc::mysql fails
to load under Fedora 17. Make some tables "const".
* tclconfig/install-sh: Update to latest TEA
* tclconfig/tcl.m4
* configure: autoconf-2.59
2012-07-13 Kevin B. Kenny <[email protected]>
* test/tdbcmysql.test: Make functional tests refuse to run unless
the environment variable TDBCMYSQL_TEST_DB
explicitly designates a database.
2012-07-10 Kevin B. Kenny <[email protected]>
* generic/tdbcmysql.c: Fixed a non-static table argument to
Tcl_GetIndexFromObjStruct.
2012-06-10 Jan Nijtmans <[email protected]>
* configure.in: make TDBC API functions MODULE_SCOPE
* configure: autoconf-2.59
2012-06-08 Jan Nijtmans <[email protected]>
* tclconfig/tcl.m4: Update to latest TEA
* configure: autoconf-2.59
2011-09-19 Kevin B. Kenny <[email protected]>
* Makefie.in: Added a 'valgrind' rule for memory leak checking.
* tests/all.tcl: Changed behaviour to 'fall off the end' to
facilitate 'valgrind.
2011-07-19 Kevin B. Kenny <[email protected]>
* configure.in:
* Makefile.in:
* README: Advanced version number to 1.0b17.
* configure: autoconf 2.59
2011-07-18 Don Porter <[email protected]>
* configure.in: Update to latest TEA 3.9 revisions.
* Makefile.in:
* tclconfig/*:
* configure: autoconf-2.59
2011-02-20 Kevin B. Kenny <[email protected]>
* tests/tdbcmysql.test:
Added rudimentary test for 'nextresults' - the method
is a dummy because the calls supported by tdbc::mysql
do not allow for multiple result sets.
2011-01-26 Kevin B. Kenny <[email protected]>
* doc/tdbc_mysql.n:
Added empty comment at the start of each manpage because 'man'
interprets comments there as directives. Thanks to Konstantin
Kohmoutov for reporting and diagnosing this error.
2011-01-25 Kevin B. Kenny <[email protected]>
* generic/tdbcmysql.c: Fixed a bug in data types of small integers
on 64-bit machines. Who would have imagined
that MSYQL_TYPE_LONG doesn't mean 'long' but
rather 'int'?
* tests/tdbcmysql.test (tdbc::mysql-1.6,24.[4567]):
Quieted test cases on 64-bit machines and on MySQL earlier
than 5.1.16, which is the first version on which
'foreignkeys' functions correctly.
Thanks to Damon Courtney for reporting these bugs.
2010-12-28 Kevin B. Kenny <[email protected]>
* generic/fakemysql.h: Added the MYSQL data structure and the
nest of other definitions that it depends on.
* generic/mysqlStubDefs.txt: Added mysql_affected_rows and
mysql_field_count.
* generic/mysqlStubInit.c, generic/mysqlStubs.h: Regenerated.
* generic/tdbcmysql.c: Added 'evaldirect' method that allows
executing statements that are unimplemented
in the MySQL prepared statement API.
* generic/tdbcmysql.tcl: Did a rough (not really functional) hack
at formatting prepared statements.
* tests/tdbcmysql.test (tdbc::mysql-25.*): Added two tests for
creating a (parameterless) stored procedure and executing it.
2010-09-03 Kevin B. Kenny <[email protected]>
* configure.in: Added missing TCLOO_CFLAGS because Windows build
failed to link without it.
* configure: autoconf 2-59
* generic/mysqlStubInit.c:
Made changes to attempt to open the
MySQL client library by SONAME as well as
pathname, in an effort to fit in better
with systems where libmysqlclient-devel
is not installed.
* library/tdbcmysql.tcl:
* tests/tdbcmysql.test:
Changed 'keySequence' to 'ordinalPosition' in
'foreignkeys' for consistency with 'primarykeys'.
* configure.in:
* Makefile.in:
* pkgIndex.tcl.in (new file):
* README:
* tclconfig/: Upgraded the build to use TEA 3.9. Changed the
approach to pkgIndex.tcl generation. (It's now built
at configure time, rather than from the Makefile.)
Advanced version number to 1.0b16.
* configure: autoconf 2.59
2010-06-19 Kevin B. Kenny <[email protected]>
* Makefile.in: Revised the code at the suggestion
* generic/tdbcmysql.c: of Andreas Kupries to avoid using
* tests/all.tcl: 'tcl_findLibrary' and instead execute
* tests/tdbcmysql.test: both 'source' and 'load' commands from
'pkgIndex.tcl'. Revised the 'make test'
rule, and the test scripts, to
test successfully under the new regime.
Thanks to Andreas for providing the
original patch, and to Joe English
for providing ideas for simplifying
and repairing 'make test' under the
new regime.
2010-05-23 Kevin B. Kenny <[email protected]>
* library/tdbcmysql.tcl: Added a 'BuildForeignKeysStatement' method
to tdbcmysql::connection that overrides the
one in the base class and accommodates the
nonstandard INFORMATION_SCHEMA provided in
MySQL.
* tests/tdbcmysql.test: Added test cases for '$db primarykeys'
and '$db foreignkeys'
2010-05-12 Kevin B. Kenny <[email protected]>
* generic/fakesql.h:
Added dual definitions of data structures that change
between MySQL 5.0 and 5.1.
* generic/mysqlStubDefs.h:
Added code to link to mysqlclient_r and mysqlclient
as well as mysql so that client libs can be found
on Unix. Added query of the client lib version.
* generic/mysqlStubInit.c:
Regenerate
* generic/mysqlStubs.h:
Regenerate
* generic/tdbcmysql.c:
Modified to make MYSQL_BIND and MYSQL_FIELD accesses
go through accessor functions that hit the correct
versions of the structures according to the client
library version. (Tcl can provide ABI stability,
even if MySQL can't!)
* configure.in: Advance release to 1.0b15.1
* README: Advance release to 1.0b15.1
* configure: autoconf-2.59
2010-05-10 Kevin B. Kenny <[email protected]>
* aclocal.m4: Synchronize with tdbc.
* configure.in: Advance TEA version to 3.7. Advance release to 1.0b15.
Corrected the TDBC stub library specification so that
it works under MSVC.
* generic/mysqlStubDefs.txt:
Split out the linkage convention so that
genExtStubs.tcl can generate syntactically correct
VC++ pointer-to-function declarations.
* generic/mysqlStubInit.c:
* generic/mysqlStubs.h:
Regenerate
* generic/tdbcmysql.c:
Added code to silence VC++ warnings.
* README: Advance release to 1.0b15
* tclconfig/: Advance to TEA 3.7
* configure: autoconf-2.59
2010-05-10 Andreas Kupries <[email protected]>
* generic/tdbcmysql.c: Fixed violations of strict C89.
* Makefile.in: Removed attempt to generate a stub library. Drivers
do not export stub tables.
2010-05-07 Andreas Kupries <[email protected]>
* configure.in: Disabled TEA_*_TKCONFIG. Code doesn't depend on Tk.
* configure: Regenerated.
2010-04-30 Kevin B. Kenny <[email protected]>
* Makefile.in: Added explicit reference to the TDBC library in the
TCLSH_ENV. Updated the 'dist' rule to include new files.
Added a 'genstubs' rule to make the stubs to load
the MySQL libraries at run time.
* configure.in: Removed compile-time references to the MySQL headers
and libraries. Added new files to SOURCES and HEADERS.
* generic/fakemysql.h (new file):
Minimal subset of mysql.h needed to make tdbc::mysql compile.
* generic/mysqlStubDefs.txt (new file):
Definitions of MySQL runtime library routines brought
in by dynamic loading.
* generic/mysqlStubInit.c (new file):
Code to load the MySQL runtime library and build a stub
table for it.
* generic/mysqlStubDefs.txt (new file):
Definitions of the routines to be resolved when loading
the MySQL library at run time.
* generic/tdbcmysql.c:
Changed tdbc::mysql to load the MySQL library at run time
and to have no compile-time dependencies on MySQL.
* tests/tdbcodbc.test (tdbc::mysql-14.8):
Corrected a misnamed test.
2010-04-25 Kevin B. Kenny <[email protected]>
* configure.in: Adjusted TDBC_* environment vars to be tdbc_*
* README: for better TEA compatibility. Advanced version number
to 1.0b14.
* configure: autoconf-2.59
2009-09-29 Kevin B. Kenny <[email protected]>
* tests/tdbcmysql.test: Changed all TEST_* environment variables
to TDBCMYSQL_* for easier high-level scripting
of the tests.
2009-09-20 Kevin B. Kenny <[email protected]>
* README:
* configure.in: Advance version number to 1.0b13
* configure: autoconf-2.59
2009-07-03 Kevin B. Kenny <[email protected]>
* README:
* configure.in: Advance version number to 1.0b12
* configure: autoconf-2.59
2009-05-29 Kevin B. Kenny <[email protected]>
* README:
* configure.in: Advance version number to 1.0b11
* configure: autoconf-2.59
2009-04-19 Kevin B. Kenny <[email protected]>
* generic/tdbcmysql.c: Silenced a compiler warning about 'fields'
being used uninitialized.
* doc/tdbc_mysql.n: Added missing documentation for 'new' constructors.
2009-04-18 Kevin B. Kenny <[email protected]>
* generic/tdbcmysql.c: Changed so that an inappropriate access to
an array or a failing read trace yields NULL.
* tests/tdbcmysql.test: Revised test cases according to the above
change.
* doc/tdbc_mysql.n: Made changes so that NROFF formatting matches
the Tcl standard.
2009-04-16 Kevin B. Kenny <[email protected]>
* README:
* configure.in: Advance version number to 1.0b10
* configure: autoconf-2.59
* generic/tdbcmysql.c: Reworked the allocation of result buffers
so that they belong to the result set and
are not allocated per row. Pushed binding the
results up before mysql_stmt_execute,
avoiding a crash if the same statement handle
has been used before [Ticket 39a78606aa].
No update made to test suite because
valgrind detected the error with existing
tests on a -DPURIFY build.
2009-03-03 Kevin B. Kenny <[email protected]>
* generic/tdbcmysql.c:
* library/tdbcmysql.tcl: Replaced 'init' methods with constructors
written in C. Added 'statementCreate' and 'resultSetCreate' forwarding
in place of the 'statementClass' and 'resultSetClass' variables.
Removed some classes that were the result of overeager copying
from tclodbc. Replaced 'my variable' with variables declared at
class level.
2009-02-14 Kevin B. Kenny <[email protected]>
* doc/tdbc_mysql.n: Many small format changes to make 'man2html'
work.
* README:
* configure.in: Advance version number to 1.0b8
* configure: autoconf-2.59
2009-02-01 Kevin B. Kenny <[email protected]>
* generic/tdbcmysql.c:
* configure.in: Changed the <my_global.h> tests to use the
correct conditionals on mingw.
* configure: Autoconf 2.59
2009-01-31 Kevin B. Kenny <[email protected]>
* README:
* configure.in: Advanced version to 1.0b7.
* configure: Regenerated.
* generic/tdbcmysql.c: Revised errorCode generation to be
more [try]-friendly. Changed include to <mysql/mysql.h> so that
the include path isn't necessary.
* tests/tdbcmysql.test: Added test flags so that a nonstandard port
or socket can be specified. Changed errorCode-dependent tests to
look for the new form of errorCode.
2009-01-05 Kevin B. Kenny <[email protected]>
* README: Added a few more hints for building on Windows.
* configure.in: Changes to make tdbcmysql build on Windows.
* generic/tdbcmysql.c: Changed to #include <my_global.h> on Windows.
Advanced release to 1.0b6
* configure: autoconf 2.59
2009-01-04 Kevin B. Kenny <[email protected]>
* README:
* Makefile.in:
* doc/tdbc_mysql.n: Updated so that files are no longer clones
of the 'tdbcodbc' package. Added installation and distribution code.
* configure.in: Advanced version to 1.0b5
* generic/tdbcmysql.c: Added code to track the declared data types
of parameters and the actual data types of results. Added code to
do direct binary conversions of integers, floating point numbers,
and bit strings. Added checks for binary data on results.
Added disambiguation of duplicated colmn names.
* tests/tdbcmysql.test: Revised test cases to include all the
MySQL data types handled in this driver. Added a test case that
column names are correctly disambiguated.
* configure: autoconf 2.59
2009-01-02 Kevin B. Kenny <[email protected]>
Initial baseline of a TDBC driver for MySQL.