Skip to content

Commit 96f1410

Browse files
Update node_sqlite.h
Co-authored-by: Anna Henningsen <github@addaleax.net>
1 parent 2ab490a commit 96f1410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_sqlite.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class DatabaseOpenConfiguration {
8888
bool allow_bare_named_params_ = true;
8989
bool allow_unknown_named_params_ = false;
9090
bool defensive_ = false;
91-
std::map<int, int> initial_limits_;
91+
std::array<std::optional<int>, SQLITE_LIMIT_TRIGGER_DEPTH + 1> initial_limits_;
9292
};
9393

9494
class DatabaseSync;

0 commit comments

Comments
 (0)