Skip to content

Commit db82d8e

Browse files
committed
Merge branch 'mert/sqlite-limits' of https://github.com/mertcanaltin/node into mert/sqlite-limits
2 parents 0f13e65 + 4cc029d commit db82d8e

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

111111
inline void set_initial_limit(int sqlite_limit_id, int value) {
112-
initial_limits_[sqlite_limit_id] = value;
112+
initial_limits_.at(sqlite_limit_id) = value;
113113
}
114114

115115
inline const std::array<std::optional<int>, kLimitMapping.size()>&

0 commit comments

Comments
 (0)