| 35 | } |
| 36 | |
| 37 | DatabaseSQLite::DatabaseSQLite( |
| 38 | ContextPtr context_, |
| 39 | const ASTStorage * database_engine_define_, |
| 40 | bool is_attach_, |
| 41 | const String & database_path_) |
| 42 | : DatabaseWithAltersOnDiskBase("SQLite") |
| 43 | , WithContext(context_->getGlobalContext()) |
| 44 | , database_engine_define(database_engine_define_->clone()) |
| 45 | , database_path(database_path_) |
| 46 | , log(getLogger("DatabaseSQLite")) |
| 47 | { |
| 48 | sqlite_db = openSQLiteDB(database_path_, context_, !is_attach_); |
| 49 | } |
| 50 | |
| 51 | |
| 52 | bool DatabaseSQLite::empty() const |
nothing calls this directly
no test coverage detected