| 874 | } |
| 875 | |
| 876 | bool db_sqlite::begin_transaction(void) |
| 877 | { |
| 878 | const char* sql = "begin transaction;"; |
| 879 | if (sql_update(sql) == false) { |
| 880 | logger_error("%s error: %s", sql, get_error()); |
| 881 | return false; |
| 882 | } |
| 883 | return true; |
| 884 | } |
| 885 | |
| 886 | bool db_sqlite::commit(void) |
| 887 | { |
nothing calls this directly
no test coverage detected