Posted to tcl by kbk at Tue Apr 21 03:37:24 GMT 2009view pretty
I am happy to announce release 1.0b10 of TDBC. This is the most recent of ten frequent betas of the TDBC core and driver code. Source code of TDBC, and all the drivers, can be obtained by the following steps: (1) Open a browser and go to http://tdbc.tcl.tk/index.cgi/login (2) Log in as 'anonymous' - the password is shown on that page. (3) Once you are logged in, go to the page for the 1.0b10 release: http://tdbc.tcl.tk/index.cgi/ci/44c5b4a87b (4) Download the source code by clicking on the [ZIP Archive] link in the 'Commands:' line at the bottom of the first paragraph. Win32 binaries and HTML documentation for the 1.0b10 release are available from SourceForge at: https://sourceforge.net/project/showfiles.php?group_id=10894&package_id=305160 The files to be found there are: tdbc1.0b10-win32.zip: This file contains Win32 binaries of the database drivers for TDBC. To install it, unzip the file, and then run 'wish86.exe' passing it the INSTALL.TCL file in the resulting directory. Thereafter, tclsh and wish should be able to do [package require tdbc::mysql] [package require tdbc::odbc] and [package require tdbc::sqlite3] tdbc1.0b10-doc.zip: This file contains HTML documentation for the TDBC drivers. The 'contents.html' file in its root directory is the entry point to the documentation and contains the links to everything else. Summary of user visible changes to TDBC since 1.0b9: 2009-04-18: Man pages added for Tdbc_Init(3), Tdbc_MapSqlState(3), Tdbc_Tokenize(3) and tdbc::mapSqlState(n). Manual pages for tdbc::statement(n) and tdbc::resultset(n) now show the correct syntax for the 'foreach' method. Manual pages for all the drivers now document that the 'new' method as well as the 'create' method may be used to make new connection instances. Changes made to all the drivers so that :x substitution of an array variable, or a variable where a read trace fails, yields a NULL rather than failing. 2009-04-16: Reworked the allocation of result bindings in tdbc::mysql. The revised allocation pattern makes many fewer calls to ckalloc/ckfree, and avoids a crash in the case where a same statement handle is used for one result set, the result set is closed, and the same statement handle is used for a second result set. Thanks to Alan Grunwald for reporting this bug. 2009-03-03: The constructor pattern for TDBC connections and statements is now changed. Rather than setting a variable called 'statementClass' or 'resultSetClass', classes that inherit from these two classes are expected to impement methods called 'statementCreate' or 'resultSetCreate' respectively. These methods normally should be forwarded the 'create' method on the appropriate statement or result set class. -- 73 de ke9tv/2, Kevin