Add debug.
GitOrigin-RevId: 68545a71066ca1f6b2a87e2da0f3632655a7f006
This commit is contained in:
parent
1e1bc31d9e
commit
8e11f8ff1b
@ -221,6 +221,7 @@ Result<SqliteStatement> SqliteDb::get_statement(CSlice statement) {
|
|||||||
if (rc != SQLITE_OK) {
|
if (rc != SQLITE_OK) {
|
||||||
return Status::Error(PSLICE() << "Failed to prepare sqlite " << tag("stmt", statement) << raw_->last_error());
|
return Status::Error(PSLICE() << "Failed to prepare sqlite " << tag("stmt", statement) << raw_->last_error());
|
||||||
}
|
}
|
||||||
|
CHECK(stmt != nullptr) << statement;
|
||||||
return SqliteStatement(stmt, raw_);
|
return SqliteStatement(stmt, raw_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user