mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
53f73da286
Fix for when memory pre-allocation fails. mysys/my_alloc.c: Added code to null-out the pre-alloc pointer if allocation fails. This is necessary for the next time this procedure is called. mysql-test/r/variables-big.result: Added "big" test for bug fix Bug #27322. mysql-test/t/variables-big.test: Added "big" test for bug fix Bug #27322.
20 lines
830 B
Text
20 lines
830 B
Text
set session transaction_prealloc_size=1024*1024*1024*1;
|
|
show processlist;
|
|
Id User Host db Command Time State Info
|
|
1 root localhost test Query 0 NULL show processlist
|
|
set session transaction_prealloc_size=1024*1024*1024*2;
|
|
show processlist;
|
|
Id User Host db Command Time State Info
|
|
1 root localhost test Query 2 NULL show processlist
|
|
set session transaction_prealloc_size=1024*1024*1024*3;
|
|
show processlist;
|
|
Id User Host db Command Time State Info
|
|
1 root localhost test Query 0 NULL show processlist
|
|
set session transaction_prealloc_size=1024*1024*1024*4;
|
|
show processlist;
|
|
Id User Host db Command Time State Info
|
|
1 root localhost test Query 0 NULL show processlist
|
|
set session transaction_prealloc_size=1024*1024*1024*5;
|
|
show processlist;
|
|
Id User Host db Command Time State Info
|
|
1 root localhost test Query 0 NULL show processlist
|