summary refs log tree commit diff stats
path: root/lib/impure/db_odbc.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix wrong integer types in odbcsql and db_odbc (#10419)pgkos2019-01-221-46/+18
| | | | | * Fix wrong parameter type in SQLErr * Fix wrong types of integers passed to SQLGetData
* Restrict ptr/ref to ptr/ref implicit conversion (#10411)LemonBoy2019-01-221-5/+9
| | | | | | | | * Restrict ptr/ref to ptr/ref implicit conversion Fixes #10409 * Make the ptr conversions explicit in db_odbc
* Fix ODBC SQL Error string decoding (#10207) [backport]Leonardo Cecchi2019-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | ODBC Errors were presented to the users as a sequence of characters. I.e.: >test_oracle.exe Error: ['H', 'Y', '0', '0', '0', '\x00', '\x00', ...] test_oracle.nim(15) test_oracle test_oracle.nim(8) test_oracle db_odbc.nim(534) open db_odbc.nim(168) dbError Error: unhandled exception: ODBC Error [DbError] This patch fix the string decoding, creating a real string: >test_oracle.exe Error: HY000 [Oracle][ODBC][Ora]ORA-12541: TNS:no listener test_oracle.nim(15) test_oracle test_oracle.nim(8) test_oracle db_odbc.nim(534) open db_odbc.nim(168) dbError Error: unhandled exception: ODBC Error [DbError]
* removes deprecated T/P typesAraq2018-11-161-2/+0
|
* docs: remove most stale links; refs #9109Araq2018-09-291-9/+6
|
* Merge branch 'db_odbc2' of https://github.com/jlp765/Nim into jlp765-db_odbc2Andreas Rumpf2016-05-281-23/+22
|\
| * Fix row reading procs to not use SQLRowCount, but SQLFetch until returns ↵JamesP2016-01-241-54/+49
| | | | | | | | | | | | SQL_NO_DATA change SqlCheck() and SqlGetDBMS() to sqlCheck() and sqlGetDBMS() (camelCase consistency)
* | Repair using the db_odbc module to query the Oracle database, the program ↵lihf85152016-03-211-80/+122
|/ | | | compiled in the release mode, the return of the field value is null.
* Improved documentation for all db modules.Dominik Picheta2016-01-181-3/+45
|
* updated db*.nim modulesAndreas Rumpf2015-12-161-50/+33
|
* add db_odbc library moduleJamesP2015-12-091-0/+480