mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
5.5 merge
This commit is contained in:
@ -852,6 +852,14 @@ select data_length,index_length from information_schema.tables where table_schem
|
||||
data_length index_length
|
||||
81024 121024
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (id INT);
|
||||
INSERT INTO t1 VALUES (1);
|
||||
INSERT INTO t1 VALUES (2);
|
||||
SET @@max_heap_table_size = 1024*1024*1024*20;
|
||||
CREATE TEMPORARY TABLE tmp ENGINE=MEMORY
|
||||
SELECT id FROM t1;
|
||||
DROP TEMPORARY TABLE tmp;
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (
|
||||
id int(11) NOT NULL AUTO_INCREMENT,
|
||||
color enum('GREEN', 'WHITE') DEFAULT NULL,
|
||||
|
@ -617,6 +617,23 @@ insert into t1 select rand(100000000) from t1;
|
||||
select data_length,index_length from information_schema.tables where table_schema="test" and table_name="t1";
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# MDEV-5905 Creating tmp. memory table kills the server
|
||||
#
|
||||
|
||||
CREATE TABLE t1 (id INT);
|
||||
INSERT INTO t1 VALUES (1);
|
||||
INSERT INTO t1 VALUES (2);
|
||||
|
||||
--disable_warnings
|
||||
SET @@max_heap_table_size = 1024*1024*1024*20;
|
||||
--enable_warnings
|
||||
|
||||
CREATE TEMPORARY TABLE tmp ENGINE=MEMORY
|
||||
SELECT id FROM t1;
|
||||
DROP TEMPORARY TABLE tmp;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# BUG#51763 Can't delete rows from MEMORY table with HASH key
|
||||
#
|
||||
|
Reference in New Issue
Block a user