| 11 | using namespace platform; |
| 12 | |
| 13 | void sqlite::check(int rc, const char *msg) { |
| 14 | if (rc != SQLITE_OK) |
| 15 | throw Error((msg ? msg : "") + common::to_string(rc)); |
| 16 | } |
| 17 | |
| 18 | void sqlite::Dbi::open_check_create(OpenMode open_mode, const std::string &fp, bool *created) { |
| 19 | full_path = fp; |