mirror of
https://github.com/MariaDB/server.git
synced 2025-11-21 06:21:35 +03:00
Merge chilla.local:/home/mydev/mysql-5.1-amain
into chilla.local:/home/mydev/mysql-5.1-axmrg
This commit is contained in:
@@ -362,7 +362,11 @@ sub mtr_report_stats ($) {
|
||||
|
||||
# BUG#29807 - innodb_mysql.test: Cannot find table test/t2
|
||||
# from the internal data dictionary
|
||||
/Cannot find table test\/bug29807 from the internal data dictionary/
|
||||
/Cannot find table test\/bug29807 from the internal data dictionary/ or
|
||||
|
||||
# BUG#29839 - lowercase_table3.test: Cannot find table test/T1
|
||||
# from the internal data dictiona
|
||||
/Cannot find table test\/BUG29839 from the internal data dictionary/
|
||||
)
|
||||
{
|
||||
next; # Skip these lines
|
||||
|
||||
@@ -1030,6 +1030,7 @@ select * from t2;
|
||||
c
|
||||
NULL
|
||||
1
|
||||
Two
|
||||
Three
|
||||
lock table t2 write, t3 read;
|
||||
alter table t2 change c vc varchar(100) default "Four", rename to t1;
|
||||
@@ -1046,6 +1047,7 @@ select * from t1;
|
||||
vc
|
||||
NULL
|
||||
1
|
||||
Two
|
||||
Three
|
||||
Four
|
||||
drop tables t1, t3;
|
||||
|
||||
@@ -15,3 +15,11 @@ test.v1 check status OK
|
||||
test.t2 check status OK
|
||||
drop view v1;
|
||||
drop table t1, t2;
|
||||
CREATE TEMPORARY TABLE t1(a INT);
|
||||
CHECK TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
REPAIR TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 repair status OK
|
||||
DROP TABLE t1;
|
||||
|
||||
@@ -1882,6 +1882,28 @@ a b
|
||||
2 Curly
|
||||
drop table federated.t1;
|
||||
drop table federated.t1;
|
||||
CREATE TABLE federated.t1 (a INT PRIMARY KEY) DEFAULT CHARSET=utf8;
|
||||
CREATE TABLE federated.t1 (a INT PRIMARY KEY)
|
||||
ENGINE=FEDERATED
|
||||
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/federated/t1'
|
||||
DEFAULT CHARSET=utf8;
|
||||
SELECT transactions FROM information_schema.engines WHERE engine="FEDERATED";
|
||||
transactions
|
||||
NO
|
||||
INSERT INTO federated.t1 VALUES (1);
|
||||
SET autocommit=0;
|
||||
INSERT INTO federated.t1 VALUES (2);
|
||||
ROLLBACK;
|
||||
Warnings:
|
||||
Warning 1196 Some non-transactional changed tables couldn't be rolled back
|
||||
SET autocommit=1;
|
||||
SELECT * FROM federated.t1;
|
||||
a
|
||||
1
|
||||
2
|
||||
DROP TABLE federated.t1;
|
||||
DROP TABLE federated.t1;
|
||||
End of 5.1 tests
|
||||
DROP TABLE IF EXISTS federated.t1;
|
||||
DROP DATABASE IF EXISTS federated;
|
||||
DROP TABLE IF EXISTS federated.t1;
|
||||
|
||||
@@ -4,7 +4,7 @@ SELECT * from T1;
|
||||
a
|
||||
drop table t1;
|
||||
flush tables;
|
||||
CREATE TABLE t1 (a int) ENGINE=INNODB;
|
||||
SELECT * from T1;
|
||||
ERROR 42S02: Table 'test.T1' doesn't exist
|
||||
drop table t1;
|
||||
CREATE TABLE bug29839 (a int) ENGINE=INNODB;
|
||||
SELECT * from BUG29839;
|
||||
ERROR 42S02: Table 'test.BUG29839' doesn't exist
|
||||
drop table bug29839;
|
||||
|
||||
@@ -37,3 +37,12 @@ Create view v1 as Select * from t1;
|
||||
Check Table v1,t2;
|
||||
drop view v1;
|
||||
drop table t1, t2;
|
||||
|
||||
#
|
||||
# BUG#26325 - TEMPORARY TABLE "corrupt" after first read, according to CHECK
|
||||
# TABLE
|
||||
#
|
||||
CREATE TEMPORARY TABLE t1(a INT);
|
||||
CHECK TABLE t1;
|
||||
REPAIR TABLE t1;
|
||||
DROP TABLE t1;
|
||||
|
||||
@@ -25,4 +25,4 @@ ctype_big5 : BUG#26711 2007-06-21 Lars Test has never worked on Do
|
||||
|
||||
mysql_upgrade : Bug#28560 test links to /usr/local/mysql/lib libraries, causes non-determinism and failures on ABI breakage
|
||||
federated_innodb : Bug#29522 failed assertion in binlog_close_connection()
|
||||
lowercase_table3 : Bug#29839 2007-07-17 ingo Cannot find table test/T1 from the internal data dictionary
|
||||
federated_transactions : Bug#29523 Transactions do not work
|
||||
|
||||
@@ -1683,4 +1683,30 @@ connection slave;
|
||||
drop table federated.t1;
|
||||
|
||||
|
||||
#
|
||||
# BUG#29875 Disable support for transactions
|
||||
#
|
||||
connection slave;
|
||||
CREATE TABLE federated.t1 (a INT PRIMARY KEY) DEFAULT CHARSET=utf8;
|
||||
connection master;
|
||||
--replace_result $SLAVE_MYPORT SLAVE_PORT
|
||||
eval CREATE TABLE federated.t1 (a INT PRIMARY KEY)
|
||||
ENGINE=FEDERATED
|
||||
CONNECTION='mysql://root@127.0.0.1:$SLAVE_MYPORT/federated/t1'
|
||||
DEFAULT CHARSET=utf8;
|
||||
|
||||
SELECT transactions FROM information_schema.engines WHERE engine="FEDERATED";
|
||||
INSERT INTO federated.t1 VALUES (1);
|
||||
SET autocommit=0;
|
||||
INSERT INTO federated.t1 VALUES (2);
|
||||
ROLLBACK;
|
||||
SET autocommit=1;
|
||||
SELECT * FROM federated.t1;
|
||||
|
||||
DROP TABLE federated.t1;
|
||||
connection slave;
|
||||
DROP TABLE federated.t1;
|
||||
|
||||
--echo End of 5.1 tests
|
||||
|
||||
source include/federated_cleanup.inc;
|
||||
|
||||
@@ -27,9 +27,9 @@ flush tables;
|
||||
# storing things in lower case.
|
||||
#
|
||||
|
||||
CREATE TABLE t1 (a int) ENGINE=INNODB;
|
||||
CREATE TABLE bug29839 (a int) ENGINE=INNODB;
|
||||
--error 1146
|
||||
SELECT * from T1;
|
||||
drop table t1;
|
||||
SELECT * from BUG29839;
|
||||
drop table bug29839;
|
||||
|
||||
# End of 4.1 tests
|
||||
|
||||
Reference in New Issue
Block a user