summaryrefslogtreecommitdiff
path: root/sql/filesort.cc
diff options
context:
space:
mode:
authorunknown <kaa@kaamos.(none)>2008-02-14 12:54:23 +0300
committerunknown <kaa@kaamos.(none)>2008-02-14 12:54:23 +0300
commit659c61168bd483e76b2f0404c94dcc64dbdae2e4 (patch)
tree2cc83e6a7f8aa0c708973ee54e9a693c67223ce9 /sql/filesort.cc
parent4f17b0e180f6486ed4a55af968eb5691296db235 (diff)
parentc4fc5b096e582f23bac8bc14cb93f6ade63f476f (diff)
downloadmariadb-git-659c61168bd483e76b2f0404c94dcc64dbdae2e4.tar.gz
Merge kaamos.(none):/data/src/opt/mysql-5.0-opt
into kaamos.(none):/data/src/opt/mysql-5.1-opt sql/filesort.cc: Auto merged mysql-test/r/order_by.result: Manual merge. mysql-test/t/order_by.test: Manual merge.
Diffstat (limited to 'sql/filesort.cc')
-rw-r--r--sql/filesort.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/filesort.cc b/sql/filesort.cc
index f2216c12ce4..ebd2008512b 100644
--- a/sql/filesort.cc
+++ b/sql/filesort.cc
@@ -221,8 +221,7 @@ ha_rows filesort(THD *thd, TABLE *table, SORT_FIELD *sortorder, uint s_length,
sort_keys= table_sort.sort_keys;
if (memavl < min_sort_memory)
{
- my_error(ER_OUTOFMEMORY,MYF(ME_ERROR+ME_WAITTANG),
- thd->variables.sortbuff_size);
+ my_error(ER_OUT_OF_SORTMEMORY,MYF(ME_ERROR+ME_WAITTANG));
goto err;
}
if (open_cached_file(&buffpek_pointers,mysql_tmpdir,TEMP_PREFIX,