Skip to content

Commit 754f66c

Browse files
author
istruewing@synthia.local
committed
Post.merge fixes
Fixed warnings Fixed error numbers
1 parent fd58622 commit 754f66c

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

mysql-test/extra/rpl_tests/rpl_loaddata.test

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ CREATE TABLE t1 (word CHAR(20) NOT NULL PRIMARY KEY) ENGINE=INNODB;
164164
--error ER_DUP_ENTRY
165165
LOAD DATA INFILE "../std_data_ln/words.dat" INTO TABLE t1;
166166

167-
--disable warnings
167+
--disable_warnings
168168
DROP TABLE IF EXISTS t1;
169-
--enable warnings
169+
--enable_warnings
170170

171171
# End of 4.1 tests

mysql-test/r/ndb_single_user.result

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ERROR HY000: Failed to create LOGFILE GROUP
1111
show warnings;
1212
Level Code Message
1313
Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB
14-
Error 1516 Failed to create LOGFILE GROUP
14+
Error 1525 Failed to create LOGFILE GROUP
1515
create table t1 (a int key, b int unique, c int) engine ndb;
1616
CREATE LOGFILE GROUP lg1
1717
ADD UNDOFILE 'undofile.dat'
@@ -27,14 +27,14 @@ ERROR HY000: Failed to create TABLESPACE
2727
show warnings;
2828
Level Code Message
2929
Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB
30-
Error 1516 Failed to create TABLESPACE
30+
Error 1525 Failed to create TABLESPACE
3131
DROP LOGFILE GROUP lg1
3232
ENGINE =NDB;
3333
ERROR HY000: Failed to drop LOGFILE GROUP
3434
show warnings;
3535
Level Code Message
3636
Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB
37-
Error 1517 Failed to drop LOGFILE GROUP
37+
Error 1526 Failed to drop LOGFILE GROUP
3838
CREATE TABLESPACE ts1
3939
ADD DATAFILE 'datafile.dat'
4040
USE LOGFILE GROUP lg1
@@ -47,7 +47,7 @@ ERROR HY000: Failed to alter: DROP DATAFILE
4747
show warnings;
4848
Level Code Message
4949
Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB
50-
Error 1521 Failed to alter: DROP DATAFILE
50+
Error 1530 Failed to alter: DROP DATAFILE
5151
ALTER TABLESPACE ts1
5252
DROP DATAFILE 'datafile.dat'
5353
ENGINE NDB;
@@ -57,7 +57,7 @@ ERROR HY000: Failed to drop TABLESPACE
5757
show warnings;
5858
Level Code Message
5959
Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB
60-
Error 1517 Failed to drop TABLESPACE
60+
Error 1526 Failed to drop TABLESPACE
6161
DROP TABLESPACE ts1
6262
ENGINE NDB;
6363
DROP LOGFILE GROUP lg1

mysql-test/t/bigint.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ select -(9223372036854775808);
307307
select -((9223372036854775808));
308308
select -(-(9223372036854775808));
309309
--disable_metadata
310-
--endble_ps_protocol
310+
--enable_ps_protocol
311311
select --9223372036854775808, ---9223372036854775808, ----9223372036854775808;
312312
select -(-9223372036854775808), -(-(-9223372036854775808));
313313

mysql-test/t/ndb_single_user.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9,t10;
2727
create table t1 (a int key, b int unique, c int) engine ndb;
2828
# Bug #27712 Single user mode. Creating logfile group and tablespace is allowed
2929
# - before bug fix these would succeed
30-
--error 1516
30+
--error ER_CREATE_FILEGROUP_FAILED
3131
CREATE LOGFILE GROUP lg1
3232
ADD UNDOFILE 'undofile.dat'
3333
INITIAL_SIZE 16M

0 commit comments

Comments
 (0)