aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add mysql c example.Brian Cully2008-03-021-12/+13
|
* Add param_query comment for understanding.Brian Cully2008-03-021-0/+15
|
* Remove query from select.Brian Cully2008-03-021-1/+1
|
* 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-024-16/+53
| | | | | | | | 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.
* Handle port failure properly.Brian Cully2008-03-021-13/+15
| | | | | Don't shut down during a call, but deliver a connection_closed message instead. Restart the port automatically.
* Change supervision heirarchy to allow ports to support:Brian Cully2008-03-025-26/+92
| | | | | 1) Owner process dies - shut down connection cleanly. 2) Port driver dies - restart port driver
* Move random_child to its own export, since its tmp.Brian Cully2008-03-021-1/+2
|
* Use pattern match, not guard.Brian Cully2008-03-021-4/+2
|
* Return {updated, NrRows} on non-select queries.Brian Cully2008-03-021-1/+1
|
* Link with owner and shutdown clean if owner dies.Brian Cully2008-03-021-4/+18
|
* Add process owner to state, to allow odbc compatibility.Brian Cully2008-03-022-7/+7
|
* NULL -> nullBrian Cully2008-03-021-1/+1
|
* CopyrightBrian Cully2008-03-026-0/+24
|
* 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-024-92/+92
|
* Move logger/io routines to separate modules.Brian Cully2008-03-026-85/+113
|
* Remove commit/rollbackBrian Cully2008-03-022-42/+0
|
* ODBC compatibility for commit/rollbackBrian Cully2008-03-021-4/+10
|
* Remove describe_table.Brian Cully2008-03-021-1/+0
|
* Use integers for sizes. Add a couple more types.Brian Cully2008-03-021-3/+9
|
* Convert types for odbc.Brian Cully2008-03-021-1/+30
|
* 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
|
* Remove NOTIMPLEMENTED stuff, since it all just goes to the C module anyway.Brian Cully2008-03-012-19/+25
|
* Normalize more code flow.Brian Cully2008-03-014-13/+38
|
* mysqlerl provides the interface for the connection, to avoidBrian Cully2008-03-013-7/+8
| | | | | | trampolining at the cost of some slight non-obviousness. Move protocol to .hrl file as a result.
* Remove extra trampolines.Brian Cully2008-03-011-5/+1
|
* Remove unused defines.Brian Cully2008-03-011-5/+0
|
* Use erlang term encoding for send/recv between c and erlang for maximum ↵Brian Cully2008-03-012-7/+15
| | | | flexibility and code length.
* Use erl_interface instead of custom protocol.Brian Cully2008-03-012-29/+41
|
* Link in erl interface and ei.Brian Cully2008-03-011-1/+3
|
* Add erl interface headers.Brian Cully2008-03-011-1/+5
|
* Add include path for erlang interface.Brian Cully2008-03-011-1/+3
|
* Use a switch dispatch and crash on unknown types.Brian Cully2008-03-011-2/+10
|