| 1008 | } |
| 1009 | |
| 1010 | bool db_mysql::commit(void) |
| 1011 | { |
| 1012 | const char* sql = "commit"; |
| 1013 | if (!sql_update(sql)) { |
| 1014 | logger_error("%s error: %s", sql, get_error()); |
| 1015 | return false; |
| 1016 | } |
| 1017 | return true; |
| 1018 | } |
| 1019 | |
| 1020 | bool db_mysql::rollback(void) |
| 1021 | { |
nothing calls this directly
no test coverage detected