Skip to content

Commit 122aa00

Browse files
committed
remove static assertion
1 parent 3b4ae65 commit 122aa00

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/node_sqlite.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ inline constexpr std::array<LimitInfo, 11> kLimitMapping = {{
3939
{"triggerDepth", SQLITE_LIMIT_TRIGGER_DEPTH},
4040
}};
4141

42-
// Static assertions to ensure limit mapping is complete and valid
43-
static_assert(kLimitMapping.size() ==
44-
static_cast<size_t>(SQLITE_LIMIT_TRIGGER_DEPTH + 1),
45-
"kLimitMapping must cover all SQLite limits");
46-
4742
constexpr bool CheckLimitIndices() {
4843
for (size_t i = 0; i < kLimitMapping.size(); ++i) {
4944
if (kLimitMapping[i].sqlite_limit_id != static_cast<int>(i)) {

0 commit comments

Comments
 (0)