Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fill out everything but timestamps, since I don't know the ODBC form of those. | Brian Cully | 2008-07-28 | 1 | -8/+49 |
| | |||||
* | Assume we're getting one value at a time, and the erlang half of | Brian Cully | 2008-07-28 | 1 | -19/+12 |
| | | | | things will handle multi-assignment. | ||||
* | Fix infinite loop when binding params. | Brian Cully | 2008-07-28 | 1 | -4/+11 |
| | |||||
* | It compiles, ship it! | Brian Cully | 2008-07-28 | 1 | -16/+27 |
| | |||||
* | Stub out buffer and length, so I can remember it later. | Brian Cully | 2008-07-28 | 1 | -16/+65 |
| | |||||
* | Do everything in bind params except the edge level bind data. | Brian Cully | 2008-07-28 | 1 | -1/+90 |
| | |||||
* | Fix crash when trying to get a row count from a query with no results. | Brian Cully | 2008-07-28 | 1 | -5/+6 |
| | |||||
* | Don't pass in DB connection params on CLI, but do it after process has spawned. | Brian Cully | 2008-07-28 | 1 | -59/+77 |
| | | | | | This is done when the port initializes, so it will work automagically when the binary dies and can be restarted by the port supervisor. | ||||
* | Shorten up the code a bit by stashing the tag_name. | Brian Cully | 2008-07-28 | 1 | -17/+12 |
| | |||||
* | Redact password from log output. | Brian Cully | 2008-04-02 | 1 | -2/+2 |
| | |||||
* | whitespace. | Brian Cully | 2008-03-02 | 1 | -1/+2 |
| | |||||
* | whitespace. | Brian Cully | 2008-03-02 | 1 | -1/+0 |
| | |||||
* | whitespace. | Brian Cully | 2008-03-02 | 1 | -10/+11 |
| | |||||
* | Add mysql c example. | Brian Cully | 2008-03-02 | 1 | -12/+13 |
| | |||||
* | Add param_query comment for understanding. | Brian Cully | 2008-03-02 | 1 | -0/+15 |
| | |||||
* | 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 | 1 | -5/+36 |
| | | | | | | | | 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 | -0/+9 |
| | | | | | 1) Owner process dies - shut down connection cleanly. 2) Port driver dies - restart port driver | ||||
* | Return {updated, NrRows} on non-select queries. | Brian Cully | 2008-03-02 | 1 | -1/+1 |
| | |||||
* | NULL -> null | Brian Cully | 2008-03-02 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -91/+8 |
| | |||||
* | Move logger/io routines to separate modules. | Brian Cully | 2008-03-02 | 1 | -84/+3 |
| | |||||
* | Remove commit/rollback | Brian Cully | 2008-03-02 | 1 | -40/+0 |
| | |||||
* | 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 |
| | |||||
* | Normalize more code flow. | Brian Cully | 2008-03-01 | 1 | -2/+30 |
| | |||||
* | Use erlang term encoding for send/recv between c and erlang for maximum ↵ | Brian Cully | 2008-03-01 | 1 | -6/+14 |
| | | | | flexibility and code length. | ||||
* | Use erl_interface instead of custom protocol. | Brian Cully | 2008-03-01 | 1 | -27/+34 |
| | |||||
* | Add erl interface headers. | Brian Cully | 2008-03-01 | 1 | -1/+5 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| |