- File TODO — part of check-in [aaaea94006] at 2012-11-14 16:37:22 on branch trunk — REFACTOR REPOSITORY : move tdbcodbc/ contents to main dir of repository (user: 200002852 size: 76)
— part of check-in
on branch trunk
— Changes to support run-time loading of MySQL.
(plus cleanup identified in making those changes)
tdbc: * Makefile.in: Updated 'make dist' to include the tools that generate Stubs for external libs to support run-time loading. * configure.in: Removed a stray backslash that caused a shell error message while configuring (and otherwise appeared harmless). * tools/genExtStubs.tcl: Adjusted to generate the Stubs files in Unix format only to avoid DOS-formatted files sneaking into the repository. tdbcmysql: * 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. tdbcodbc: * Makefile.in: Added missing files to 'make dist.' Added a 'genstubs' rule to automate building of the Stubs table from the ODBC library added at run time. * generic/fakesql.h: * generic/odbcStubDefs.txt: * generic/odbcStubInit.c: Fixed DOS line endings.(user: kennykb size: 76)
db primarykeys? db indexes? Compound statements Restore 8.5 buildability.