aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* remove extra newlineBrian Cully2008-03-011-2/+1
|
* Use tagged message types.Brian Cully2008-03-011-2/+10
|
* Tag messages with type.Brian Cully2008-03-011-18/+5
|
* Use commit as a test instead of custom.Brian Cully2008-03-011-1/+2
|
* Clean up partial messages.Brian Cully2008-03-011-2/+10
| | | | Null terminate message buffers.
* Get rid of BUFSIZE.Brian Cully2008-03-011-16/+32
|
* Prettify the supervision tree w/ names. Break modules out by registered names.Brian Cully2008-03-012-11/+20
|
* Crash if we get a bad message.Brian Cully2008-03-011-2/+2
|
* Fix warnings.Brian Cully2008-03-011-9/+12
|
* -Wall -WerrorBrian Cully2008-03-011-1/+1
|
* handle_call as dispatcherBrian Cully2008-03-011-9/+26
|
* 80 cols.Brian Cully2008-03-011-2/+4
|
* Add copyright.Brian Cully2008-03-011-0/+1
|
* Add copyright.Brian Cully2008-03-011-0/+6
|
* 80 colsBrian Cully2008-03-011-1/+2
|