Created
July 5, 2017 16:30
-
-
Save bigbes/b2a4e6fbcefe52c75a63e988e92895d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/box/sql/sqliteLimit.h b/src/box/sql/sqliteLimit.h | |
index 1acbe1e38..d7ce87bc7 100644 | |
--- a/src/box/sql/sqliteLimit.h | |
+++ b/src/box/sql/sqliteLimit.h | |
@@ -219,4 +219,4 @@ | |
** number of entities (in chain of compiling trigger programs) should be less than | |
** 40 or stack guard will be triggered. | |
*/ | |
-#define SQL_MAX_COMPILING_TRIGGERS 40 | |
+#define SQL_MAX_COMPILING_TRIGGERS 30 | |
diff --git a/test/sql-tap/trigger-chain-limit.test.lua b/test/sql-tap/trigger-chain-limit.test.lua | |
index 3f6a16e5e..559a22921 100755 | |
--- a/test/sql-tap/trigger-chain-limit.test.lua | |
+++ b/test/sql-tap/trigger-chain-limit.test.lua | |
@@ -2,7 +2,7 @@ | |
test = require("sqltester") | |
test:plan(8) | |
-for _, table_count in ipairs({40, 41}) do | |
+for _, table_count in ipairs({30, 31}) do | |
-- Clean up, create tables, add entries | |
for i = 1,table_count do | |
-- First table for uniform triggers check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment