summary refs log tree commit diff stats
path: root/lib/impure/db_odbc.nim
Commit message (Collapse)AuthorAgeFilesLines
* Change stdlib imports to use std prefix in most examples (#17202)Danil Yarantsev2021-02-281-2/+2
|
* use single backtick (#17100)flywind2021-02-181-5/+5
|
* odbc regression from #14357 (#15417)shirleyquirk2020-09-291-1/+1
| | | | #14357 changed from sending 'val', an int, to a pointer to int, which is understandable, but not how SQLSetEnvAttr works. "Depending on the value of Attribute, ValuePtr will be a 32-bit integer value or point to a null-terminated character string"
* fix sqlgetdata regression in odbc (#15161)cooldome2020-08-071-12/+8
| | | | | | | | | * fix sqlgetdata import * fix db_odbc * more fixes * fix style
* add insert,tryInsert unify for postgres that need pk name (#14416)Bung2020-05-221-0/+15
| | | | | | | | | | | * add insert,tryInsert unify for postgres that need pk name * add ReadDbEffect to new procs * add .since and changelog * change since to 1.3 * Update lib/impure/db_postgres.nim Co-authored-by: bung87 <crc32@qq.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de> Co-authored-by: alaviss <leorize+oss@disroot.org>
* fix #9771 (#14357)Bung2020-05-151-5/+5
| | | | | | | * fix #9771 * map SQLLEN SQLULEN * fix proc params take TSqlLen Co-authored-by: bung87 <crc32@qq.com>
* [backport] Fix typo in docs (#12356) [ci skip]Andrew Owen2019-10-041-1/+1
|
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
|
* [feature] add `unsafeColumnAt` procs, that return unsafe cstring from ↵Huy2019-07-101-1/+5
| | | | InstantRow (#11647)
* Fix header inconsistencies in documentation (#11071)Zed2019-04-231-6/+6
|
* 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