Skip to content
Snippets Groups Projects
Commit 0bf0a00c authored by Kirill Yukhin's avatar Kirill Yukhin
Browse files

sql: Reduce maximal trigger call chain

LLVM is more eager for frame size than GCC
Current maximal call chain length may corrupt stack then.
Reduce maximal call chain length to 30.

Related to #2550
parent 1f04f5d5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment