Commit Graph

92 Commits

Author SHA1 Message Date
Ryan Culpepper
6742c308d9 db: fix sqlite3 memory corruption bug 2011-12-16 19:18:46 -07:00
Ryan Culpepper
d312744aae db: make debugging easier 2011-12-13 23:51:31 -07:00
Ryan Culpepper
b355abfdb3 db: allow mysql-connect without db 2011-12-13 22:18:13 -07:00
Ryan Culpepper
fd74709e1c db: implement mysql auth plugin support, old password support
related to PR 12415
2011-12-13 22:17:51 -07:00
Ryan Culpepper
0dcafac0c9 db: improved message debugging for mysql 2011-12-07 13:23:33 -07:00
Ryan Culpepper
7ebd15c4b0 db: export and document exn:fail:sql 2011-11-30 09:24:24 -07:00
Ryan Culpepper
f38d959b3a db: fix transaction contract bugs, added transaction tests
closes PR 12364
2011-11-13 15:11:12 -07:00
Ryan Culpepper
b4e856cc3c db: fixed space leak in statement finalizer thread
This "fixes" the segfault in the test program, but it seems
like there must be another underlying problem.
2011-11-13 15:11:12 -07:00
Ryan Culpepper
1dade8ee1d db: added support for postgresql arrays 2011-10-30 18:51:16 -06:00
Ryan Culpepper
f704d1620d db: remove superfluous pretty-print setup 2011-10-16 05:41:58 -06:00
Ryan Culpepper
8f2fe7a5aa db: updated note about sqlite3.dll
merge to 5.2
2011-10-16 05:41:53 -06:00
Ryan Culpepper
00c6f91e7c db: fix use of lazy-require 2011-10-07 19:40:48 -06:00
Ryan Culpepper
c7f86d276c removed useless requires 2011-09-27 19:28:44 -06:00
Ryan Culpepper
717bc17aaf db: adjust lazy requires for cross-place mode 2011-09-27 19:28:44 -06:00
Ryan Culpepper
52a738140d db: minimize dependencies 2011-09-27 19:28:44 -06:00
Ryan Culpepper
36149b92a7 db: added ssl support for mysql connections 2011-09-27 19:28:44 -06:00
Ryan Culpepper
40439aa4ef removed useless requires 2011-09-20 14:49:49 -06:00
Ryan Culpepper
15e3640191 db: fix #:group contract, fix sqlite headers 2011-09-06 12:41:03 -06:00
Ryan Culpepper
e6433084f3 added unstable/lazy-require
Also fixed lazy-require to capture and use correct namespace.
2011-09-06 12:41:03 -06:00
Ryan Culpepper
5db417fcf2 db: add support for odbc on macosx (needs testing) 2011-09-06 12:41:03 -06:00
Ryan Culpepper
f4d712ac71 db: made sql data serializable 2011-09-06 12:41:03 -06:00
Eli Barzilay
8c9404642b Remove uses of `scheme' in db docs. 2011-09-05 00:34:16 -04:00
Ryan Culpepper
a5bda8e0cd db: moved private contracts to db/base, removed useless requires 2011-08-31 05:40:24 -06:00
Ryan Culpepper
8611435269 db: improved locking
Tests suggest new locking is faster, but primary benefit is
detecting when thread holding lock is killed.
2011-08-31 05:40:24 -06:00
Ryan Culpepper
19b1ff101c db: fixed kill-safe-connection, improved tests 2011-08-31 05:40:24 -06:00
Ryan Culpepper
96663d4fa4 db: added #:use-place arg for ffi-based connections
SQLite and ODBC connections can use places to avoid blocking all
Racket threads.
2011-08-31 05:40:24 -06:00
Ryan Culpepper
281df3221e db: tried async execution with odbc... didn't work
Added note in TODO, my guess why not.
Fixed odbc ffi bindings, added a few more status checks.
2011-08-30 12:04:25 -06:00
Ryan Culpepper
f339060e55 db: added note on performance, edited note on isolation 2011-08-30 12:04:24 -06:00
Ryan Culpepper
418985d4c4 db: fixed issues with statement finalization (don't use weak hash)
In some cases, statements were disappearing from statement-table
without being finalized; this makes disconnect fail.
(I was only able to produce the problem when the db lib was
instantiated in a sub custodian that is later shutdown....
like the way the rackunit gui runs the test suite.)
2011-08-30 12:04:24 -06:00
Ryan Culpepper
397702808a db: fixed virtual-statement
Eliminated interface test (shallow) in favor of method test
(correct, recursive). Also made vstmts work with virtual-connections.
2011-08-30 12:04:24 -06:00
Ryan Culpepper
94456ad0ec db: moved pg-only code out of interfaces module 2011-08-30 12:04:24 -06:00
Ryan Culpepper
b3e55dc078 db: added note on sql injection, moved param paras to stmt section 2011-08-30 12:04:24 -06:00
Ryan Culpepper
1c6817426e db: added group-rows, #:group arg to query-rows 2011-08-30 12:04:24 -06:00
Eli Barzilay
ffbd9e16ea Some info.rkt cleanups. 2011-08-29 16:33:13 -04:00
Ryan Culpepper
c97b3144fa db: added note for SQL Server 2011-08-27 16:31:22 -06:00
Ryan Culpepper
a2f75e494d db: implemented list-tables for odbc (db2, oracle only)
added dbms field to odbc connections
2011-08-27 16:31:22 -06:00
Ryan Culpepper
78f7c4fcd4 db: fix problems found by drdr
avoid running odbc-dependent modules in drdr
  fix scribble config to use abs mod paths in eval setup
2011-08-27 16:31:22 -06:00
Ryan Culpepper
92e2d1eb6e db: split off db/util/datetime module 2011-08-27 16:31:22 -06:00
Ryan Culpepper
a91e6f6452 db: "recordset" -> "rows-result", "rows" 2011-08-27 16:31:22 -06:00
Ryan Culpepper
93222d4fba db: improved listing of db/base exports in docs 2011-08-25 12:56:42 -06:00
Ryan Culpepper
82896bfce2 db: added list-tables, table-exists? (except for ODBC, so far) 2011-08-25 12:56:42 -06:00
Ryan Culpepper
50f0a32f9e added db library 2011-08-25 12:56:42 -06:00