summaryrefslogtreecommitdiff
path: root/sql/unireg.h
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2009-12-28 15:54:16 +0300
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2009-12-28 15:54:16 +0300
commit85d5a08b51e24af57120068bed4534e4c1e889f4 (patch)
tree0bab5217d4ea83929d314c2ce29f962a949c95c8 /sql/unireg.h
parentece5ad57e9b2505732be4b043440d9e5a5dc3b9a (diff)
parent31cd0643ae1b5670d4ebd89eb001f2bcda400d2a (diff)
downloadmariadb-git-85d5a08b51e24af57120068bed4534e4c1e889f4.tar.gz
Manual merge of WL#4738 from mysql-next-mr:
- backported code that handles %f/%g arguments in my_vsnprintf.c from 6.0 - backported %f/%g tests in unittest/mysys/my_vsnprintf-t.c from 6.0 - replaced snprintf("%g") in sql/set_var.cc with my_gcvt() - removed unnecessary "--replace-result"s for Windows in mysql-test/suite/sys_vars/t/long_query_time_basic.test - some test results adjustments
Diffstat (limited to 'sql/unireg.h')
-rw-r--r--sql/unireg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/unireg.h b/sql/unireg.h
index b6f81f48987..3b39532d29d 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -93,8 +93,8 @@
#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)
+#define MAX_SORT_MEMORY 2048*1024
+#define MIN_SORT_MEMORY 32*1024
/* Memory allocated when parsing a statement / saving a statement */
#define MEM_ROOT_BLOCK_SIZE 8192