Commit 92addc58 authored by jonas@perch.ndb.mysql.com's avatar jonas@perch.ndb.mysql.com

Merge perch.ndb.mysql.com:/home/jonas/src/51-work

into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
parents f618c9ed ef892289
...@@ -200,14 +200,14 @@ DROP LOGFILE GROUP lg1 ...@@ -200,14 +200,14 @@ DROP LOGFILE GROUP lg1
ENGINE NDB; ENGINE NDB;
**** End = And No = **** **** End = And No = ****
create table t1 (a int primary key) engine = myisam; create table t1 (a int primary key) engine = myisam;
create logfile group lg1 add undofile '/home/jonas/src/51-work/mysql-test/var/master-data/test/t1.frm' initial_size 1M undo_buffer_size = 1M engine=ndb;; create logfile group lg1 add undofile 'MYSQLTEST_VARDIR/master-data/test/t1.frm' initial_size 1M undo_buffer_size = 1M engine=ndb;;
ERROR HY000: Failed to create UNDOFILE ERROR HY000: Failed to create UNDOFILE
create logfile group lg1 create logfile group lg1
add undofile 'undofile.dat' add undofile 'undofile.dat'
initial_size 1M initial_size 1M
undo_buffer_size = 1M undo_buffer_size = 1M
engine=ndb; engine=ndb;
create tablespace ts1 add datafile '/home/jonas/src/51-work/mysql-test/var/master-data/test/t1.frm' use logfile group lg1 initial_size 1M engine ndb;; create tablespace ts1 add datafile 'MYSQLTEST_VARDIR/master-data/test/t1.frm' use logfile group lg1 initial_size 1M engine ndb;;
ERROR HY000: Failed to create DATAFILE ERROR HY000: Failed to create DATAFILE
drop tablespace ts1 drop tablespace ts1
engine ndb; engine ndb;
......
...@@ -302,6 +302,7 @@ ENGINE NDB; ...@@ -302,6 +302,7 @@ ENGINE NDB;
# bug#16341 # bug#16341
create table t1 (a int primary key) engine = myisam; create table t1 (a int primary key) engine = myisam;
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
--error ER_CREATE_FILEGROUP_FAILED --error ER_CREATE_FILEGROUP_FAILED
--eval create logfile group lg1 add undofile '$MYSQLTEST_VARDIR/master-data/test/t1.frm' initial_size 1M undo_buffer_size = 1M engine=ndb; --eval create logfile group lg1 add undofile '$MYSQLTEST_VARDIR/master-data/test/t1.frm' initial_size 1M undo_buffer_size = 1M engine=ndb;
...@@ -311,6 +312,7 @@ initial_size 1M ...@@ -311,6 +312,7 @@ initial_size 1M
undo_buffer_size = 1M undo_buffer_size = 1M
engine=ndb; engine=ndb;
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
--error ER_CREATE_FILEGROUP_FAILED --error ER_CREATE_FILEGROUP_FAILED
--eval create tablespace ts1 add datafile '$MYSQLTEST_VARDIR/master-data/test/t1.frm' use logfile group lg1 initial_size 1M engine ndb; --eval create tablespace ts1 add datafile '$MYSQLTEST_VARDIR/master-data/test/t1.frm' use logfile group lg1 initial_size 1M engine ndb;
......
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