Commit 1cd1f7d0 authored by unknown's avatar unknown

Post.merge fixes

Fixed warnings
Fixed error numbers


mysql-test/extra/rpl_tests/rpl_loaddata.test:
  Fixed warnings
mysql-test/r/ndb_single_user.result:
  Post-merge fixes
  Changed error numbers
mysql-test/t/bigint.test:
  Fixed warnings
mysql-test/t/ndb_single_user.test:
  Post-merge fixes
  Changed error numbers
parent b83c28b2
...@@ -164,8 +164,8 @@ CREATE TABLE t1 (word CHAR(20) NOT NULL PRIMARY KEY) ENGINE=INNODB; ...@@ -164,8 +164,8 @@ CREATE TABLE t1 (word CHAR(20) NOT NULL PRIMARY KEY) ENGINE=INNODB;
--error ER_DUP_ENTRY --error ER_DUP_ENTRY
LOAD DATA INFILE "../std_data_ln/words.dat" INTO TABLE t1; LOAD DATA INFILE "../std_data_ln/words.dat" INTO TABLE t1;
--disable warnings --disable_warnings
DROP TABLE IF EXISTS t1; DROP TABLE IF EXISTS t1;
--enable warnings --enable_warnings
# End of 4.1 tests # End of 4.1 tests
...@@ -11,7 +11,7 @@ ERROR HY000: Failed to create LOGFILE GROUP ...@@ -11,7 +11,7 @@ ERROR HY000: Failed to create LOGFILE GROUP
show warnings; show warnings;
Level Code Message Level Code Message
Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB
Error 1516 Failed to create LOGFILE GROUP Error 1525 Failed to create LOGFILE GROUP
create table t1 (a int key, b int unique, c int) engine ndb; create table t1 (a int key, b int unique, c int) engine ndb;
CREATE LOGFILE GROUP lg1 CREATE LOGFILE GROUP lg1
ADD UNDOFILE 'undofile.dat' ADD UNDOFILE 'undofile.dat'
...@@ -27,14 +27,14 @@ ERROR HY000: Failed to create TABLESPACE ...@@ -27,14 +27,14 @@ ERROR HY000: Failed to create TABLESPACE
show warnings; show warnings;
Level Code Message Level Code Message
Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB
Error 1516 Failed to create TABLESPACE Error 1525 Failed to create TABLESPACE
DROP LOGFILE GROUP lg1 DROP LOGFILE GROUP lg1
ENGINE =NDB; ENGINE =NDB;
ERROR HY000: Failed to drop LOGFILE GROUP ERROR HY000: Failed to drop LOGFILE GROUP
show warnings; show warnings;
Level Code Message Level Code Message
Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB
Error 1517 Failed to drop LOGFILE GROUP Error 1526 Failed to drop LOGFILE GROUP
CREATE TABLESPACE ts1 CREATE TABLESPACE ts1
ADD DATAFILE 'datafile.dat' ADD DATAFILE 'datafile.dat'
USE LOGFILE GROUP lg1 USE LOGFILE GROUP lg1
...@@ -47,7 +47,7 @@ ERROR HY000: Failed to alter: DROP DATAFILE ...@@ -47,7 +47,7 @@ ERROR HY000: Failed to alter: DROP DATAFILE
show warnings; show warnings;
Level Code Message Level Code Message
Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB
Error 1521 Failed to alter: DROP DATAFILE Error 1530 Failed to alter: DROP DATAFILE
ALTER TABLESPACE ts1 ALTER TABLESPACE ts1
DROP DATAFILE 'datafile.dat' DROP DATAFILE 'datafile.dat'
ENGINE NDB; ENGINE NDB;
...@@ -57,7 +57,7 @@ ERROR HY000: Failed to drop TABLESPACE ...@@ -57,7 +57,7 @@ ERROR HY000: Failed to drop TABLESPACE
show warnings; show warnings;
Level Code Message Level Code Message
Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB Error 1296 Got error 299 'Operation not allowed or aborted due to single user mode' from NDB
Error 1517 Failed to drop TABLESPACE Error 1526 Failed to drop TABLESPACE
DROP TABLESPACE ts1 DROP TABLESPACE ts1
ENGINE NDB; ENGINE NDB;
DROP LOGFILE GROUP lg1 DROP LOGFILE GROUP lg1
......
...@@ -307,7 +307,7 @@ select -(9223372036854775808); ...@@ -307,7 +307,7 @@ select -(9223372036854775808);
select -((9223372036854775808)); select -((9223372036854775808));
select -(-(9223372036854775808)); select -(-(9223372036854775808));
--disable_metadata --disable_metadata
--endble_ps_protocol --enable_ps_protocol
select --9223372036854775808, ---9223372036854775808, ----9223372036854775808; select --9223372036854775808, ---9223372036854775808, ----9223372036854775808;
select -(-9223372036854775808), -(-(-9223372036854775808)); select -(-9223372036854775808), -(-(-9223372036854775808));
......
...@@ -27,7 +27,7 @@ drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9,t10; ...@@ -27,7 +27,7 @@ drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9,t10;
create table t1 (a int key, b int unique, c int) engine ndb; create table t1 (a int key, b int unique, c int) engine ndb;
# Bug #27712 Single user mode. Creating logfile group and tablespace is allowed # Bug #27712 Single user mode. Creating logfile group and tablespace is allowed
# - before bug fix these would succeed # - before bug fix these would succeed
--error 1516 --error ER_CREATE_FILEGROUP_FAILED
CREATE LOGFILE GROUP lg1 CREATE LOGFILE GROUP lg1
ADD UNDOFILE 'undofile.dat' ADD UNDOFILE 'undofile.dat'
INITIAL_SIZE 16M INITIAL_SIZE 16M
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment