summaryrefslogtreecommitdiff
path: root/sql/unireg.h
diff options
context:
space:
mode:
authorgshchepa/uchum@gleb.loc <>2007-08-11 02:00:51 +0500
committergshchepa/uchum@gleb.loc <>2007-08-11 02:00:51 +0500
commitdb6ec3f71fa46ccd9589390481440b9d01df4d8b (patch)
tree2380b8a509f41895330745de2a1f4255304c4929 /sql/unireg.h
parent3ecef8c0b902b7ed213ba89ec3e8e5637033435e (diff)
parent1b70ffee329bf9652a2abbb09ddef716c7926cc2 (diff)
downloadmariadb-git-db6ec3f71fa46ccd9589390481440b9d01df4d8b.tar.gz
Merge gleb.loc:/home/uchum/work/bk/5.1
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 232ea5e70e7..b368eee6f0e 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)