tdbc::odbc

Check-in [3ec6cefd87]
Login

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

Overview
Comment:New method '$odbcConnection evaldirect' to support SQL code that cannot be prepared or is mangled by the tokenizer (see bug [751477d142]). odbc::connection method 'evaldirect' constructs a subclass 'evaldirectStatement' of odbc::statement that does not tokenize or prepare the SQL statement. The SQL is executed via ODBC API function SQLExecDirectW, and the result set is flattened into a list of dicts (as for '$resultset allrows -as dicts') that is returned by 'evaldirect'. Approach suggested by KBK. Prototype implementation and docs provided; tests to follow.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | bug-751477d142-td
Files: files | file ages | folders
SHA1: 3ec6cefd876818119e49e0323ddcb047d72741e8
User & Date: twylite 2013-01-15 16:50:43.954
Context
2022-06-16
14:52
Rebase to trunk check-in: c7eef045bc user: jan.nijtmans tags: bug-751477d142-td
2013-01-15
16:50
New method '$odbcConnection evaldirect' to support SQL code that cannot be prepared or is mangled by the tokenizer (see bug [751477d142]). odbc::connection method 'evaldirect' constructs a subclass 'evaldirectStatement' of odbc::statement that does not tokenize or prepare the SQL statement. The SQL is executed via ODBC API function SQLExecDirectW, and the result set is flattened into a list of dicts (as for '$resultset allrows -as dicts') that is returned by 'evaldirect'. Approach suggested by KBK. Prototype implementation and docs provided; tests to follow. check-in: 3ec6cefd87 user: twylite tags: bug-751477d142-td
2012-12-10
15:07
Put win/* nmake support files in the distribution. check-in: 10638f86a3 user: dgp tags: trunk, tdbcodbc-1-0-0
Changes
Unified Diff Side-by-Side Diff Patch
Changes to doc/tdbc_odbc.n.
Changes to generic/odbcStubDefs.txt.
Changes to generic/odbcStubInit.c.
Changes to generic/odbcStubs.h.
Changes to generic/tdbcodbc.c.
Changes to library/tdbcodbc.tcl.