summaryrefslogtreecommitdiff
path: root/sql/unireg.h
diff options
context:
space:
mode:
authorgshchepa/uchum@gleb.loc <>2007-08-03 02:15:21 +0500
committergshchepa/uchum@gleb.loc <>2007-08-03 02:15:21 +0500
commitd933b0b4a05eba9e56c4479d79462dd6f9b40dba (patch)
treec3533e82d947e58c3e943074ef1781a098306c50 /sql/unireg.h
parente9eb6309fbc2b49d8d04d92b7039c986782a33dd (diff)
parent176a20f22ba23aae0c20f126d1ee591dd0935b15 (diff)
downloadmariadb-git-d933b0b4a05eba9e56c4479d79462dd6f9b40dba.tar.gz
Merge gleb.loc:/home/uchum/work/bk/5.0-opt
into gleb.loc:/home/uchum/work/bk/5.1-opt
Diffstat (limited to 'sql/unireg.h')
-rw-r--r--sql/unireg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/unireg.h b/sql/unireg.h
index 6c26f30f116..29daee27617 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -85,6 +85,8 @@
#define MAX_FIELDS 4096 /* Limit in the .frm file */
#define MAX_PARTITIONS 1024
+#define MAX_SELECT_NESTING (sizeof(nesting_map)*8-1)
+
#define MAX_SORT_MEMORY (2048*1024-MALLOC_OVERHEAD)
#define MIN_SORT_MEMORY (32*1024-MALLOC_OVERHEAD)