| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1235,7 +1235,7 @@ void DatabaseSync::Prepare(const FunctionCallbackInfo<Value>& args) { | |||
| 1235 | 1235 | ||
| 1236 | 1236 | Utf8Value sql(env->isolate(), args[0].As<String>()); | |
| 1237 | 1237 | sqlite3_stmt* s = nullptr; | |
| 1238 | - int r = sqlite3_prepare_v2(db->connection_, *sql, -1, &s, 0); | ||
| 1238 | + int r = sqlite3_prepare_v2(db->connection_, *sql, -1, &s, nullptr); | ||
| 1239 | 1239 | ||
| 1240 | 1240 | CHECK_ERROR_OR_THROW(env->isolate(), db, r, SQLITE_OK, void()); | |
| 1241 | 1241 | BaseObjectPtr<StatementSync> stmt = | |
@@ -3043,7 +3043,7 @@ BaseObjectPtr<StatementSync> SQLTagStore::PrepareStatement( | |||
| 3043 | 3043 | if (stmt == nullptr) { | |
| 3044 | 3044 | sqlite3_stmt* s = nullptr; | |
| 3045 | 3045 | int r = sqlite3_prepare_v2( | |
| 3046 | - session->database_->connection_, sql.data(), sql.size(), &s, 0); | ||
| 3046 | + session->database_->connection_, sql.data(), sql.size(), &s, nullptr); | ||
| 3047 | 3047 | ||
| 3048 | 3048 | if (r != SQLITE_OK) { | |
| 3049 | 3049 | THROW_ERR_SQLITE_ERROR(isolate, session->database_.get()); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments