Skip to content

Commit 4cc029d

Browse files
Update node_sqlite.h
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
1 parent 61eb04b commit 4cc029d

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
@@ -110,7 +110,7 @@ class DatabaseOpenConfiguration {
110110
inline bool get_enable_defensive() const { return defensive_; }
111111

112112
inline void set_initial_limit(int sqlite_limit_id, int value) {
113-
initial_limits_[sqlite_limit_id] = value;
113+
initial_limits_.at(sqlite_limit_id) = value;
114114
}
115115

116116
inline const std::array<std::optional<int>, SQLITE_LIMIT_TRIGGER_DEPTH + 1>&

0 commit comments

Comments
 (0)