1
0
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:
shane
2009-09-10 02:54:48 +00:00
parent 11b3879b18
commit 0cab14167c
4 changed files with 13 additions and 9 deletions

View File

@@ -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