| 19 | } |
| 20 | |
| 21 | dbOperation* dbFactory::getSqliteOp(const std::string& path) { |
| 22 | sqliteOperation* sqlitePtr = new sqliteOperation(path); |
| 23 | return sqlitePtr; |
| 24 | } |
| 25 | |
| 26 | bool dbFactory::releaseDB(dbOperation** dbPtr) { |
| 27 | if (dbPtr != NULL && (*dbPtr) != NULL) { |
no outgoing calls
no test coverage detected