aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/error.cxx
AgeCommit message (Collapse)AuthorFilesLines
2011-03-21Cosmetic changesBoris Kolpackov1-3/+4
2011-02-21Add recoverable, connection_lost, and timeout exceptionsBoris Kolpackov1-2/+4
The deadlock exception now inherits from recoverable. New manual section: 3.5, "Error Handling and Recovery".
2011-02-21Don't reuse failed connectionsBoris Kolpackov1-1/+10
If MySQL API returns an error indicating the connection is no longer usable, mark it as failed. In connection_pool_factory free failed connections instead of returning them to the pool.
2011-02-18Factor out MySQL error to exception translation into separate functionBoris Kolpackov1-0/+60