mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Reduce default SQLITE_MAX_TRIGGER_DEPTH when SQLITE_SMALL_STACK is defined.
FossilOrigin-Name: 913fb70ea85f05d94db5cf2e692a7c8b7489e3ba
This commit is contained in:
@@ -193,5 +193,9 @@
|
||||
** Maximum depth of recursion for triggers.
|
||||
*/
|
||||
#ifndef SQLITE_MAX_TRIGGER_DEPTH
|
||||
#if defined(SQLITE_SMALL_STACK)
|
||||
# define SQLITE_MAX_TRIGGER_DEPTH 10
|
||||
#else
|
||||
# define SQLITE_MAX_TRIGGER_DEPTH 1000
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user