summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authormonty@mysql.com <>2003-11-23 14:36:41 +0200
committermonty@mysql.com <>2003-11-23 14:36:41 +0200
commit7c725b2486de1f48f4e4e16a87b4b3cb542ab19b (patch)
treedf2c427c1d086dc0727fa8656815cece6df4aeb2 /mysql-test
parentc2e44ba772b40d8d2216c36f1970e4cfc037e382 (diff)
downloadmariadb-git-7c725b2486de1f48f4e4e16a87b4b3cb542ab19b.tar.gz
Fixed compiler warnings from Intel compiler in Win64
Added option --max-record-length=# to myisamchk Don't try repair twice if doing myisamchk --repair --force Shared memory handler didn't clean up things on errors or shutdown
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/create.result5
-rw-r--r--mysql-test/t/create.test6
2 files changed, 3 insertions, 8 deletions
diff --git a/mysql-test/r/create.result b/mysql-test/r/create.result
index 28f06f0bf47..a3a47ea6952 100644
--- a/mysql-test/r/create.result
+++ b/mysql-test/r/create.result
@@ -1,4 +1,5 @@
drop table if exists t1,t2,t3;
+drop database if exists test_$1;
create table t1 (b char(0));
insert into t1 values (""),(null);
select * from t1;
@@ -302,9 +303,6 @@ t3 CREATE TABLE `t3` (
select * from t3;
id name
drop table t2, t3;
-drop database if exists test_$1;
-Warnings:
-Note 1008 Can't drop database 'test_$1'; database doesn't exist
create database test_$1;
create table test_$1.t3 like t1;
create temporary table t3 like test_$1.t3;
@@ -411,7 +409,6 @@ a b c d e f g h dd
1 -7 7 2000-01-01 b 2000-01-01 00:00:00 05:04:03 yet another binary data 02:00:00
2 -2 2 1825-12-14 a 2003-01-01 03:02:01 04:03:02 binary data 02:00:00
drop table t1, t2;
-drop database if exists test_$1;
create database test_$1;
use test_$1;
select database();
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test
index 0c1280751bc..dc4d2701bee 100644
--- a/mysql-test/t/create.test
+++ b/mysql-test/t/create.test
@@ -4,6 +4,7 @@
--disable_warnings
drop table if exists t1,t2,t3;
+drop database if exists test_$1;
--enable_warnings
create table t1 (b char(0));
@@ -57,6 +58,7 @@ select 1ea10.1a20,1e+ 1e+10 from 1ea10;
drop table 1ea10;
create table t1 (t1.index int);
drop table t1;
+# Test that we get warning for this
drop database if exists test_$1;
create database test_$1;
create table test_$1.$test1 (a$1 int, $b int, c$ int);
@@ -245,7 +247,6 @@ drop table t3;
show create table t3;
select * from t3;
drop table t2, t3;
-drop database if exists test_$1;
create database test_$1;
create table test_$1.t3 like t1;
create temporary table t3 like test_$1.t3;
@@ -326,9 +327,6 @@ drop table t1, t2;
# Bug #1209
#
---disable_warnings
-drop database if exists test_$1;
---enable_warnings
create database test_$1;
use test_$1;
select database();