summaryrefslogtreecommitdiff
path: root/mysql-test/t/bug46080-master.opt
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-07-10 15:00:34 +0300
committerGeorgi Kodinov <joro@sun.com>2009-07-10 15:00:34 +0300
commit5beae1f8dcf6417315aec0940fadd8b32c218afe (patch)
tree3033d4ebf823a0f3acbf53be3952670e3ab4c4de /mysql-test/t/bug46080-master.opt
parent55f514ad0505182cb3a7f3f955a16baadb2493ba (diff)
downloadmariadb-git-5beae1f8dcf6417315aec0940fadd8b32c218afe.tar.gz
Bug #46080: group_concat(... order by) crashes server when
sort_buffer_size cannot allocate The NULL return from tree_insert() (on low memory) was not checked for in Item_func_group_concat::add(). As a result on low memory conditions a crash happens. Fixed by properly checking the return code.
Diffstat (limited to 'mysql-test/t/bug46080-master.opt')
-rw-r--r--mysql-test/t/bug46080-master.opt1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/bug46080-master.opt b/mysql-test/t/bug46080-master.opt
new file mode 100644
index 00000000000..f59740afe60
--- /dev/null
+++ b/mysql-test/t/bug46080-master.opt
@@ -0,0 +1 @@
+--skip-grant-tables --skip-name-resolve --safemalloc-mem-limit=4000000