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
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
f4d712ac71
db: made sql data serializable
2011-09-06 12:41:03 -06: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
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
1c6817426e
db: added group-rows, #:group arg to query-rows
2011-08-30 12:04:24 -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
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