aboutsummaryrefslogtreecommitdiffstats
path: root/src/mysqlerl.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix cursor traversing bugs in the port driver.Brian Cully2012-02-071-15/+15
|
* Fix off-by-one when selecting previous rows in port driver.Brian Cully2012-02-071-1/+1
|
* Fix trying to select previous row when at first row in driver.Brian Cully2012-02-071-27/+66
|
* Remove stupid lib directoryBrian Cully2012-02-061-0/+704
|
* Move most files into lib, add top-level makefileBrian Cully2012-02-061-704/+0
|
* Fix warnings found by clangBrian Cully2012-02-061-7/+6
|
* Fill out everything but timestamps, since I don't know the ODBC form of those.Brian Cully2008-07-281-8/+49
|
* Assume we're getting one value at a time, and the erlang half ofBrian Cully2008-07-281-19/+12
| | | | things will handle multi-assignment.
* Fix infinite loop when binding params.Brian Cully2008-07-281-4/+11
|
* It compiles, ship it!Brian Cully2008-07-281-16/+27
|
* Stub out buffer and length, so I can remember it later.Brian Cully2008-07-281-16/+65
|
* Do everything in bind params except the edge level bind data.Brian Cully2008-07-281-1/+90
|
* Fix crash when trying to get a row count from a query with no results.Brian Cully2008-07-281-5/+6
|
* Don't pass in DB connection params on CLI, but do it after process has spawned.Brian Cully2008-07-281-59/+77
| | | | | This is done when the port initializes, so it will work automagically when the binary dies and can be restarted by the port supervisor.
* Shorten up the code a bit by stashing the tag_name.Brian Cully2008-07-281-17/+12
|
* Redact password from log output.Brian Cully2008-04-021-2/+2
|
* whitespace.Brian Cully2008-03-021-1/+2
|
* whitespace.Brian Cully2008-03-021-1/+0
|
* whitespace.Brian Cully2008-03-021-10/+11
|
* Add mysql c example.Brian Cully2008-03-021-12/+13
|
* Add param_query comment for understanding.Brian Cully2008-03-021-0/+15
|
* Get select working.Brian Cully2008-03-021-9/+44
|
* whitespaceBrian Cully2008-03-021-7/+7
|
* Add dispatch routines.Brian Cully2008-03-021-1/+9
| | | | | All ODBC methods are now recognized. We still need to implement select and param_query. I'm so lazy, tho.
* Add select msg.Brian Cully2008-03-021-0/+1
|
* Get previous cursor working.Brian Cully2008-03-021-0/+40
|
* Add last support.Brian Cully2008-03-021-3/+34
|
* Add messages for last/prev.Brian Cully2008-03-021-0/+2
|
* Get next cursor working.Brian Cully2008-03-021-7/+40
|
* Return empty Rows on last next.Brian Cully2008-03-021-5/+10
|
* Get next working, at least until you hit the end of the records.Brian Cully2008-03-021-0/+32
|
* Cache results from select_count for cursor actions.Brian Cully2008-03-021-20/+25
|
* Add select_count support.Brian Cully2008-03-021-2/+21
|
* Handle timeouts.Brian Cully2008-03-021-5/+36
| | | | | | | | Pass timeout down to port level, and if the communication times out, kill the port and let the supervisor restart it. Also stub in select_count and param_query, conveniently used to test timing out.
* Change supervision heirarchy to allow ports to support:Brian Cully2008-03-021-0/+9
| | | | | 1) Owner process dies - shut down connection cleanly. 2) Port driver dies - restart port driver
* Return {updated, NrRows} on non-select queries.Brian Cully2008-03-021-1/+1
|
* NULL -> nullBrian Cully2008-03-021-1/+1
|
* Separate row/rows building.Brian Cully2008-03-021-36/+88
|
* Whitespace, remove some debugging.Brian Cully2008-03-021-16/+9
|
* Move SQL result processing to its own function. Clear up a memory leak.Brian Cully2008-03-021-64/+73
|
* Move msg handlers to modules, and make it ETERM based.Brian Cully2008-03-021-91/+8
|
* Move logger/io routines to separate modules.Brian Cully2008-03-021-84/+3
|
* Remove commit/rollbackBrian Cully2008-03-021-40/+0
|
* fix i/j screwup and get descs working.Brian Cully2008-03-021-5/+17
|
* Fix i/j tyop.Brian Cully2008-03-011-1/+6
|
* Get sql_query working.Brian Cully2008-03-011-1/+64
|
* Split handlers out.Brian Cully2008-03-011-40/+58
|
* Normalize more code flow.Brian Cully2008-03-011-2/+30
|
* Use erlang term encoding for send/recv between c and erlang for maximum ↵Brian Cully2008-03-011-6/+14
| | | | flexibility and code length.
* Use erl_interface instead of custom protocol.Brian Cully2008-03-011-27/+34
|