summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <pekka@sama.ndb.mysql.com>2008-01-31 13:58:29 +0100
committerunknown <pekka@sama.ndb.mysql.com>2008-01-31 13:58:29 +0100
commitcd8a8a1ce0a896994f5717900b22b4704ca80416 (patch)
tree0e86799115c4e6747809af8b63695311342d9849 /ndb
parent3b5c7a033efec7ad17c83e3c4221357d74ff9e71 (diff)
downloadmariadb-git-cd8a8a1ce0a896994f5717900b22b4704ca80416.tar.gz
ndb - bug#34107 patch 2, ndb api
mysql-test/r/ndb_condition_pushdown.result: bug#34107 lower scanfilter max size to not hit TUP limit mysql-test/t/ndb_condition_pushdown.test: bug#34107 lower scanfilter max size to not hit TUP limit ndb/include/ndbapi/ndbapi_limits.h: bug#34107 lower scanfilter max size to not hit TUP limit
Diffstat (limited to 'ndb')
-rw-r--r--ndb/include/ndbapi/ndbapi_limits.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ndb/include/ndbapi/ndbapi_limits.h b/ndb/include/ndbapi/ndbapi_limits.h
index e283913d059..98551866edc 100644
--- a/ndb/include/ndbapi/ndbapi_limits.h
+++ b/ndb/include/ndbapi/ndbapi_limits.h
@@ -26,6 +26,7 @@
#define NDB_MAX_TUPLE_SIZE (NDB_MAX_TUPLE_SIZE_IN_WORDS*4)
#define NDB_MAX_ACTIVE_EVENTS 100
-#define NDB_MAX_SCANFILTER_SIZE_IN_WORDS 50000
+/* TUP ZATTR_BUFFER_SIZE 16384 (minus 1) minus place for getValue()s */
+#define NDB_MAX_SCANFILTER_SIZE_IN_WORDS (16384 - 1 - 1024)
#endif