aboutsummaryrefslogtreecommitdiffstats
path: root/src/mysqlerl_port.erl
Commit message (Collapse)AuthorAgeFilesLines
* Don't pass in DB connection params on CLI, but do it after process has spawned.Brian Cully2008-07-281-12/+35
| | | | | 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 Cully2008-03-021-1/+5
| | | | | | | | 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 Cully2008-03-021-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 Cully2008-03-021-0/+54
1) Owner process dies - shut down connection cleanly. 2) Port driver dies - restart port driver