Skip to content

Commit

Permalink
db_sqlite: let the DB interface determine the capabilities
Browse files Browse the repository at this point in the history
This prevens the module from advertising bogus capabilities - in this
case the sqlite module was saying that it has the ASYNC RAW queries
support, although it didn't.

Reported by Wilhelm Lundgren on list

(cherry picked from commit b9ca13a)
  • Loading branch information
razvancrainea committed Nov 9, 2017
1 parent 4d0cc20 commit 3bc8378
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/db_sqlite/db_sqlite.c
Expand Up @@ -120,7 +120,6 @@ int db_sqlite_bind_api(const str* mod, db_func_t *dbb)
dbb->last_inserted_id = db_last_inserted_id;
dbb->insert_update = db_insert_update;

dbb->cap = DB_CAP_ALL ^ DB_CAP_ASYNC_RAW_QUERY;
return 0;
}

Expand Down

0 comments on commit 3bc8378

Please sign in to comment.