Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't pass in DB connection params on CLI, but do it after process has spawned. | Brian Cully | 2008-07-28 | 1 | -4/+2 |
| | | | | | This is done when the port initializes, so it will work automagically when the binary dies and can be restarted by the port supervisor. | ||||
* | Handle timeouts. | Brian Cully | 2008-03-02 | 1 | -1/+1 |
| | | | | | | | | 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 Cully | 2008-03-02 | 1 | -26/+12 |
| | | | | | 1) Owner process dies - shut down connection cleanly. 2) Port driver dies - restart port driver | ||||
* | Use pattern match, not guard. | Brian Cully | 2008-03-02 | 1 | -4/+2 |
| | |||||
* | 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 | 1 | -6/+6 |
| | |||||
* | Normalize more code flow. | Brian Cully | 2008-03-01 | 1 | -9/+4 |
| | |||||
* | mysqlerl provides the interface for the connection, to avoid | Brian Cully | 2008-03-01 | 1 | -5/+3 |
| | | | | | | 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 | 1 | -1/+1 |
| | | | | flexibility and code length. | ||||
* | Use erl_interface instead of custom protocol. | Brian Cully | 2008-03-01 | 1 | -2/+7 |
| | |||||
* | Tag messages with type. | Brian Cully | 2008-03-01 | 1 | -18/+5 |
| | |||||
* | Crash if we get a bad message. | Brian Cully | 2008-03-01 | 1 | -2/+2 |
| | |||||
* | handle_call as dispatcher | Brian Cully | 2008-03-01 | 1 | -9/+26 |
| | |||||
* | Initial commit | Brian Cully | 2008-03-01 | 1 | -0/+75 |