Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Handle timeouts. | Brian Cully | 2008-03-02 | 4 | -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 Cully | 2008-03-02 | 1 | -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 Cully | 2008-03-02 | 5 | -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 Cully | 2008-03-02 | 1 | -1/+2 | |
| | ||||||
* | Use pattern match, not guard. | Brian Cully | 2008-03-02 | 1 | -4/+2 | |
| | ||||||
* | Return {updated, NrRows} on non-select queries. | Brian Cully | 2008-03-02 | 1 | -1/+1 | |
| | ||||||
* | Link with owner and shutdown clean if owner dies. | Brian Cully | 2008-03-02 | 1 | -4/+18 | |
| | ||||||
* | Add process owner to state, to allow odbc compatibility. | Brian Cully | 2008-03-02 | 2 | -7/+7 | |
| | ||||||
* | NULL -> null | Brian Cully | 2008-03-02 | 1 | -1/+1 | |
| | ||||||
* | Copyright | Brian Cully | 2008-03-02 | 6 | -0/+24 | |
| | ||||||
* | Separate row/rows building. | Brian Cully | 2008-03-02 | 1 | -36/+88 | |
| | ||||||
* | Whitespace, remove some debugging. | Brian Cully | 2008-03-02 | 1 | -16/+9 | |
| | ||||||
* | Move SQL result processing to its own function. Clear up a memory leak. | Brian Cully | 2008-03-02 | 1 | -64/+73 | |
| | ||||||
* | Move msg handlers to modules, and make it ETERM based. | Brian Cully | 2008-03-02 | 4 | -92/+92 | |
| | ||||||
* | Move logger/io routines to separate modules. | Brian Cully | 2008-03-02 | 6 | -85/+113 | |
| | ||||||
* | Remove commit/rollback | Brian Cully | 2008-03-02 | 2 | -42/+0 | |
| | ||||||
* | ODBC compatibility for commit/rollback | Brian Cully | 2008-03-02 | 1 | -4/+10 | |
| | ||||||
* | Remove describe_table. | Brian Cully | 2008-03-02 | 1 | -1/+0 | |
| | ||||||
* | Use integers for sizes. Add a couple more types. | Brian Cully | 2008-03-02 | 1 | -3/+9 | |
| | ||||||
* | Convert types for odbc. | Brian Cully | 2008-03-02 | 1 | -1/+30 | |
| | ||||||
* | fix i/j screwup and get descs working. | Brian Cully | 2008-03-02 | 1 | -5/+17 | |
| | ||||||
* | Fix i/j tyop. | Brian Cully | 2008-03-01 | 1 | -1/+6 | |
| | ||||||
* | Get sql_query working. | Brian Cully | 2008-03-01 | 1 | -1/+64 | |
| | ||||||
* | Split handlers out. | Brian Cully | 2008-03-01 | 1 | -40/+58 | |
| | ||||||
* | Remove NOTIMPLEMENTED stuff, since it all just goes to the C module anyway. | Brian Cully | 2008-03-01 | 2 | -19/+25 | |
| | ||||||
* | Normalize more code flow. | Brian Cully | 2008-03-01 | 4 | -13/+38 | |
| | ||||||
* | mysqlerl provides the interface for the connection, to avoid | Brian Cully | 2008-03-01 | 3 | -7/+8 | |
| | | | | | | trampolining at the cost of some slight non-obviousness. Move protocol to .hrl file as a result. | |||||
* | Remove extra trampolines. | Brian Cully | 2008-03-01 | 1 | -5/+1 | |
| | ||||||
* | Remove unused defines. | Brian Cully | 2008-03-01 | 1 | -5/+0 | |
| | ||||||
* | Use erlang term encoding for send/recv between c and erlang for maximum ↵ | Brian Cully | 2008-03-01 | 2 | -7/+15 | |
| | | | | flexibility and code length. | |||||
* | Use erl_interface instead of custom protocol. | Brian Cully | 2008-03-01 | 2 | -29/+41 | |
| | ||||||
* | Link in erl interface and ei. | Brian Cully | 2008-03-01 | 1 | -1/+3 | |
| | ||||||
* | Add erl interface headers. | Brian Cully | 2008-03-01 | 1 | -1/+5 | |
| | ||||||
* | Add include path for erlang interface. | Brian Cully | 2008-03-01 | 1 | -1/+3 | |
| | ||||||
* | Use a switch dispatch and crash on unknown types. | Brian Cully | 2008-03-01 | 1 | -2/+10 | |
| | ||||||
* | remove extra newline | Brian Cully | 2008-03-01 | 1 | -2/+1 | |
| | ||||||
* | Use tagged message types. | Brian Cully | 2008-03-01 | 1 | -2/+10 | |
| | ||||||
* | Tag messages with type. | Brian Cully | 2008-03-01 | 1 | -18/+5 | |
| | ||||||
* | Use commit as a test instead of custom. | Brian Cully | 2008-03-01 | 1 | -1/+2 | |
| | ||||||
* | Clean up partial messages. | Brian Cully | 2008-03-01 | 1 | -2/+10 | |
| | | | | Null terminate message buffers. | |||||
* | Get rid of BUFSIZE. | Brian Cully | 2008-03-01 | 1 | -16/+32 | |
| | ||||||
* | Prettify the supervision tree w/ names. Break modules out by registered names. | Brian Cully | 2008-03-01 | 2 | -11/+20 | |
| | ||||||
* | Crash if we get a bad message. | Brian Cully | 2008-03-01 | 1 | -2/+2 | |
| | ||||||
* | Fix warnings. | Brian Cully | 2008-03-01 | 1 | -9/+12 | |
| | ||||||
* | -Wall -Werror | Brian Cully | 2008-03-01 | 1 | -1/+1 | |
| | ||||||
* | handle_call as dispatcher | Brian Cully | 2008-03-01 | 1 | -9/+26 | |
| | ||||||
* | 80 cols. | Brian Cully | 2008-03-01 | 1 | -2/+4 | |
| | ||||||
* | Add copyright. | Brian Cully | 2008-03-01 | 1 | -0/+1 | |
| | ||||||
* | Add copyright. | Brian Cully | 2008-03-01 | 1 | -0/+6 | |
| | ||||||
* | 80 cols | Brian Cully | 2008-03-01 | 1 | -1/+2 | |
| |