Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add param_query comment for understanding. | Brian Cully | 2008-03-02 | 1 | -0/+15 |
| | |||||
* | Remove query from select. | Brian Cully | 2008-03-02 | 1 | -1/+1 |
| | |||||
* | Get select working. | Brian Cully | 2008-03-02 | 1 | -9/+44 |
| | |||||
* | whitespace | Brian Cully | 2008-03-02 | 1 | -7/+7 |
| | |||||
* | Add dispatch routines. | Brian Cully | 2008-03-02 | 1 | -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 Cully | 2008-03-02 | 1 | -0/+1 |
| | |||||
* | Get previous cursor working. | Brian Cully | 2008-03-02 | 1 | -0/+40 |
| | |||||
* | Add last support. | Brian Cully | 2008-03-02 | 1 | -3/+34 |
| | |||||
* | Add messages for last/prev. | Brian Cully | 2008-03-02 | 1 | -0/+2 |
| | |||||
* | Get next cursor working. | Brian Cully | 2008-03-02 | 1 | -7/+40 |
| | |||||
* | Return empty Rows on last next. | Brian Cully | 2008-03-02 | 1 | -5/+10 |
| | |||||
* | Get next working, at least until you hit the end of the records. | Brian Cully | 2008-03-02 | 1 | -0/+32 |
| | |||||
* | Cache results from select_count for cursor actions. | Brian Cully | 2008-03-02 | 1 | -20/+25 |
| | |||||
* | Add select_count support. | Brian Cully | 2008-03-02 | 1 | -2/+21 |
| | |||||
* | 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 |
| | |||||
* | Update | Brian Cully | 2008-03-02 | 1 | -5/+3 |
| | |||||
* | 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 |
| |