Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up makefile by parameterizing the ERL and MySQL stuff a bit better. | Brian Cully | 2008-07-28 | 1 | -10/+9 |
| | |||||
* | Do everything in bind params except the edge level bind data. | Brian Cully | 2008-07-28 | 1 | -1/+90 |
| | |||||
* | Note that mysqlerl:test_param_query/0 should have an INSERT or | Brian Cully | 2008-07-28 | 1 | -0/+2 |
| | | | | something, since you don't normally use bind params with SELECT. | ||||
* | Change param test to have a list, like the docs. | Brian Cully | 2008-07-28 | 1 | -1/+1 |
| | |||||
* | Add test for param queries. | Brian Cully | 2008-07-28 | 1 | -1/+6 |
| | |||||
* | Add query test code. | Brian Cully | 2008-07-28 | 1 | -1/+5 |
| | |||||
* | 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 | 5 | -82/+124 |
| | | | | | 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 |
| | |||||
* | Makefile fixes: | Brian Cully | 2008-07-28 | 1 | -3/+6 |
| | | | | | | * Parameterize MySQL include and lib location. Also update them for my MacPorts installation. * Add missing beams to make. | ||||
* | Add note about using multiple DBs and random child pooling. | Brian Cully | 2008-07-28 | 1 | -0/+6 |
| | |||||
* | Redact password from log output. | Brian Cully | 2008-04-02 | 1 | -2/+2 |
| | |||||
* | Add time logging. | Brian Cully | 2008-04-02 | 1 | -2/+21 |
| | |||||
* | Fix build. | Brian Cully | 2008-03-07 | 1 | -2/+2 |
| | |||||
* | Parameterize the erl interface path. | Brian Cully | 2008-03-07 | 1 | -2/+4 |
| | |||||
* | Export description. | Brian Cully | 2008-03-02 | 1 | -0/+1 |
| | |||||
* | Whitespace. | Brian Cully | 2008-03-02 | 1 | -2/+1 |
| | |||||
* | Add port/port_sup modules. | Brian Cully | 2008-03-02 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| |