Skip to content

Commit

Permalink
Handle libsql
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Oct 15, 2024
1 parent 3ca43ac commit f366161
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cpp/DBHostObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ namespace opsqlite {
namespace jsi = facebook::jsi;
namespace react = facebook::react;

#ifndef OP_SQLITE_USE_LIBSQL
#ifdef OP_SQLITE_USE_LIBSQL
void DBHostObject::flush_pending_reactive_queries() {
// intentionally left blank
}
#else
void DBHostObject::flush_pending_reactive_queries() {
for (const auto &query_ptr : pending_reactive_queries) {
auto query = query_ptr.get();
Expand Down

0 comments on commit f366161

Please sign in to comment.