summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <gbichot@quadita2.mysql.com>2005-04-23 00:05:05 +0200
committerunknown <gbichot@quadita2.mysql.com>2005-04-23 00:05:05 +0200
commitf5c3843c377db422b6cf597ba7be25719b78b855 (patch)
treea0b071b9c448ae1d81282025e509cdddcfdee271 /mysql-test
parentc3e4d6a291183988ba68e38c4fceb5e1e3986dbc (diff)
downloadmariadb-git-f5c3843c377db422b6cf597ba7be25719b78b855.tar.gz
Fixes for BUG#10039 "MEMORY engine is reported as HEAP",
BUG#9738 "SHOW VARIABLES still displays the deprecated 'log_update' in 5.0", BUG#9542 "MySQL dies with signal 11 when it is using non-existent location of binary logs" mysql-test/r/create.result: MEMORY, not HEAP mysql-test/r/ps_1general.result: order changed in SHOW STORAGE ENGINES mysql-test/r/variables.result: MEMORY, not HEAP sql/handler.cc: the array of storage engine names is searched in index order, so we must put the preferred name before the alias so that the preferred name is printed by MySQL instead of the alias. sql/log.cc: TC_LOG::open(): don't try to open if the index (relevant only for binlog TC log) could not be opened. sql/set_var.cc: --log-update is deprecated and replaced by --log-bin so don't show log_update in SHOW VARIABLES.
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/create.result8
-rw-r--r--mysql-test/r/ps_1general.result2
-rw-r--r--mysql-test/r/variables.result4
3 files changed, 7 insertions, 7 deletions
diff --git a/mysql-test/r/create.result b/mysql-test/r/create.result
index cafe6f23ccf..4f4400b4a9b 100644
--- a/mysql-test/r/create.result
+++ b/mysql-test/r/create.result
@@ -210,7 +210,7 @@ drop table if exists t1;
SET SESSION storage_engine="heap";
SELECT @@storage_engine;
@@storage_engine
-HEAP
+MEMORY
CREATE TABLE t1 (a int not null);
show create table t1;
Table Create Table
@@ -222,7 +222,7 @@ SET SESSION storage_engine="gemini";
ERROR 42000: Unknown table engine 'gemini'
SELECT @@storage_engine;
@@storage_engine
-HEAP
+MEMORY
CREATE TABLE t1 (a int not null);
show create table t1;
Table Create Table
@@ -371,7 +371,7 @@ drop database mysqltest;
SET SESSION storage_engine="heap";
SELECT @@storage_engine;
@@storage_engine
-HEAP
+MEMORY
CREATE TABLE t1 (a int not null);
show create table t1;
Table Create Table
@@ -383,7 +383,7 @@ SET SESSION storage_engine="gemini";
ERROR 42000: Unknown table engine 'gemini'
SELECT @@storage_engine;
@@storage_engine
-HEAP
+MEMORY
CREATE TABLE t1 (a int not null);
show create table t1;
Table Create Table
diff --git a/mysql-test/r/ps_1general.result b/mysql-test/r/ps_1general.result
index 0fe907ac8c1..6c616a99fb0 100644
--- a/mysql-test/r/ps_1general.result
+++ b/mysql-test/r/ps_1general.result
@@ -322,8 +322,8 @@ prepare stmt4 from ' show storage engines ';
execute stmt4;
Engine Support Comment
MyISAM YES/NO Default engine as of MySQL 3.23 with great performance
-HEAP YES/NO Alias for MEMORY
MEMORY YES/NO Hash based, stored in memory, useful for temporary tables
+HEAP YES/NO Alias for MEMORY
MERGE YES/NO Collection of identical MyISAM tables
MRG_MYISAM YES/NO Alias for MERGE
ISAM YES/NO Obsolete storage engine, now replaced by MyISAM
diff --git a/mysql-test/r/variables.result b/mysql-test/r/variables.result
index 0f4f25dfdb5..b3850bcc72c 100644
--- a/mysql-test/r/variables.result
+++ b/mysql-test/r/variables.result
@@ -148,7 +148,7 @@ timed_mutexes OFF
set storage_engine=MYISAM, storage_engine="HEAP", global storage_engine="MERGE";
show local variables like 'storage_engine';
Variable_name Value
-storage_engine HEAP
+storage_engine MEMORY
show global variables like 'storage_engine';
Variable_name Value
storage_engine MERGE
@@ -254,7 +254,7 @@ set storage_engine=MERGE, big_tables=2;
ERROR 42000: Variable 'big_tables' can't be set to the value of '2'
show local variables like 'storage_engine';
Variable_name Value
-storage_engine HEAP
+storage_engine MEMORY
set SESSION query_cache_size=10000;
ERROR HY000: Variable 'query_cache_size' is a GLOBAL variable and should be set with SET GLOBAL
set GLOBAL storage_engine=DEFAULT;