| 998 | } |
| 999 | |
| 1000 | bool db_mysql::begin_transaction(void) |
| 1001 | { |
| 1002 | const char* sql = "start transaction"; |
| 1003 | if (!sql_update(sql)) { |
| 1004 | logger_error("%s error: %s", sql, get_error()); |
| 1005 | return false; |
| 1006 | } |
| 1007 | return true; |
| 1008 | } |
| 1009 | |
| 1010 | bool db_mysql::commit(void) |
| 1011 | { |
nothing calls this directly
no test coverage detected