Ryan Culpepper
27e9988226
fix hex conversion
...
closes PR 13335
2012-12-01 11:17:13 -05:00
Ryan Culpepper
05e7e61d85
added #:option to start-transaction, call-with-transaction
2012-12-01 01:33:56 -05:00
Ryan Culpepper
8db023c624
add string typeid for mysql char(N) fields
...
closes PR 13255
Need to add tests, but "select cast(? as char(5))" results in var-string,
not string. Only get string typeid when reading from table.
2012-11-14 20:40:14 -05:00
Ryan Culpepper
9d34f0f147
db: added support for postgresql 9.2 types (json, ranges)
...
Other major changes:
- pg code now uses only binary format
- pg timestamptz now always UTC (tz = 0), added doc section
- added contracts to most pg "can't-convert" errors
2012-09-17 12:29:17 -04:00
Ryan Culpepper
7c395e9c7c
db: updated to new error convention (mostly)
2012-08-25 19:02:18 -04:00
Ryan Culpepper
9f492c10a7
db: fix mysql large blobs, other changes
...
MySQL:
- support multi-packet data rows
- fixed very old length-coding bug (24 vs 32 bit length)
- support large params via long-data packets
- 'any' pseudo-type for parameters
- distinguish 'blob'/'text', 'var-string'/'var-binary'
- read 'text' results as string, not bytes
SQLite3:
- enabled sql types tests
2012-04-14 19:47:32 -06:00
Ryan Culpepper
c10bf245c5
db: fix mysql close-on-exec slowdown (TCP issue)
2012-03-18 03:31:17 -06:00
Ryan Culpepper
766790b9e4
db: clean up disconnect
2012-02-08 22:32:51 -07:00
Ryan Culpepper
f142a1c5f2
db: clean up communication, locking
...
Disconnect on break exn within lock; other break-safety fixes.
2012-02-08 22:32:51 -07:00
Ryan Culpepper
f5711c6cc3
db: added prepared statement cache
2012-02-08 22:32:51 -07:00
Ryan Culpepper
6fe7e65ff0
db: clean up common tx code
2012-02-08 22:32:51 -07:00
Ryan Culpepper
654ccb277f
db: added cursors
2012-02-08 22:32:51 -07:00
Ryan Culpepper
618173c97e
db: finalize close-on-exec psts within lock
2012-02-08 22:32:51 -07:00
Ryan Culpepper
4c817d0f7f
db: clean up and reogranize common impl code
2012-02-08 22:32:50 -07:00
Ryan Culpepper
dba35c3116
db: added nested transactions
2012-01-08 23:25:53 -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
36149b92a7
db: added ssl support for mysql connections
2011-09-27 19:28:44 -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
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
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