Below is the list of changes that have just been committed into a local
5.1 repository of ndbdev. When ndbdev does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-08-22 15:54:10+02:00, jmiller@stripped +2 -0
ndb_dd_ddl.test, ndb_dd_ddl.result:
Updated test case to correst inconsistant results on different OS per #bug30559
mysql-test/suite/ndb/r/ndb_dd_ddl.result@stripped, 2007-08-22 15:53:57+02:00,
jmiller@stripped +2 -4
Updated test case to correst inconsistant results on different OS per #bug30559
mysql-test/suite/ndb/t/ndb_dd_ddl.test@stripped, 2007-08-22 15:53:47+02:00,
jmiller@stripped +12 -5
Updated test case to correst inconsistant results on different OS per #bug30559
diff -Nrup a/mysql-test/suite/ndb/r/ndb_dd_ddl.result
b/mysql-test/suite/ndb/r/ndb_dd_ddl.result
--- a/mysql-test/suite/ndb/r/ndb_dd_ddl.result 2007-07-09 10:54:16 +02:00
+++ b/mysql-test/suite/ndb/r/ndb_dd_ddl.result 2007-08-22 15:53:57 +02:00
@@ -222,19 +222,17 @@ ENGINE NDB;
DROP LOGFILE GROUP lg1
ENGINE NDB;
**** End = And No = ****
-create table t1 (a int primary key) engine = myisam;
-create logfile group lg1 add undofile 'MYSQLTEST_VARDIR/master-data/test/t1.frm'
initial_size 1M undo_buffer_size = 1M engine=ndb;;
+create logfile group lg1 add undofile 'MYSQLTEST_VARDIR/tmp/t1.frm' initial_size 1M
undo_buffer_size = 1M engine=ndb;;
ERROR HY000: Failed to create UNDOFILE
create logfile group lg1
add undofile 'undofile.dat'
initial_size 1M
undo_buffer_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;;
+create tablespace ts1 add datafile 'MYSQLTEST_VARDIR/tmp/t1.frm' use logfile group lg1
initial_size 1M engine ndb;;
ERROR HY000: Failed to create DATAFILE
drop tablespace ts1
engine ndb;
ERROR HY000: Failed to drop TABLESPACE
drop logfile group lg1
engine ndb;
-drop table t1;
diff -Nrup a/mysql-test/suite/ndb/t/ndb_dd_ddl.test
b/mysql-test/suite/ndb/t/ndb_dd_ddl.test
--- a/mysql-test/suite/ndb/t/ndb_dd_ddl.test 2007-07-04 22:06:23 +02:00
+++ b/mysql-test/suite/ndb/t/ndb_dd_ddl.test 2007-08-22 15:53:47 +02:00
@@ -333,11 +333,18 @@ ENGINE NDB;
###
#
# bug#16341
-create table t1 (a int primary key) engine = myisam;
+#create table t1 (a int primary key) engine = myisam;
+# 2007-08-22 Jeb
+# Removed the use of create table and manually
+# created the file to cause failure due to
+# inconsistant results on other OS
+# see #bug30559
+
+--exec touch $MYSQLTEST_VARDIR/tmp/t1.frm
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
--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/tmp/t1.frm' initial_size
1M undo_buffer_size = 1M engine=ndb;
create logfile group lg1
add undofile 'undofile.dat'
@@ -347,7 +354,7 @@ engine=ndb;
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
--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/tmp/t1.frm' use logfile
group lg1 initial_size 1M engine ndb;
--error ER_DROP_FILEGROUP_FAILED
drop tablespace ts1
@@ -356,8 +363,8 @@ engine ndb;
drop logfile group lg1
engine ndb;
-drop table t1;
-
+#drop table t1;
+--exec rm $MYSQLTEST_VARDIR/tmp/t1.frm
# End 5.1 test
| Thread |
|---|
| • bk commit into 5.1 tree (jmiller:1.2566) | Jonathan Miller | 22 Aug |