mirror of
https://github.com/MariaDB/server.git
synced 2025-10-25 18:38:00 +03:00
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user mysql-test/r/ndb_single_user.result: manual merge
This commit is contained in:
@@ -53,4 +53,7 @@ update t1 set b=b+100 where a=4;
|
|||||||
ERROR HY000: Got error 299 'Operation not allowed or aborted due to single user mode' from NDBCLUSTER
|
ERROR HY000: Got error 299 'Operation not allowed or aborted due to single user mode' from NDBCLUSTER
|
||||||
COMMIT;
|
COMMIT;
|
||||||
ERROR HY000: Got error 4350 'Transaction already aborted' from NDBCLUSTER
|
ERROR HY000: Got error 4350 'Transaction already aborted' from NDBCLUSTER
|
||||||
|
create table t2 (a int) engine myisam;
|
||||||
|
alter table t2 add column (b int);
|
||||||
|
drop table t2;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|||||||
@@ -97,9 +97,21 @@ update t1 set b=b+100 where a=4;
|
|||||||
--error 1296
|
--error 1296
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
|
# Bug #25275 SINGLE USER MODE prevents ALTER on non-ndb
|
||||||
|
# tables for other mysqld nodes
|
||||||
|
--connection server2
|
||||||
|
create table t2 (a int) engine myisam;
|
||||||
|
alter table t2 add column (b int);
|
||||||
|
|
||||||
|
# exit single user mode
|
||||||
--exec $NDB_MGM --no-defaults --ndb-connectstring="localhost:$NDBCLUSTER_PORT" -e "exit single user mode" >> $NDB_TOOLS_OUTPUT
|
--exec $NDB_MGM --no-defaults --ndb-connectstring="localhost:$NDBCLUSTER_PORT" -e "exit single user mode" >> $NDB_TOOLS_OUTPUT
|
||||||
--exec $NDB_TOOLS_DIR/ndb_waiter --no-defaults >> $NDB_TOOLS_OUTPUT
|
--exec $NDB_TOOLS_DIR/ndb_waiter --no-defaults >> $NDB_TOOLS_OUTPUT
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
|
--connection server2
|
||||||
|
drop table t2;
|
||||||
--connection server1
|
--connection server1
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
# End of 5.0 tests
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user