Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
95b779ee
Commit
95b779ee
authored
Dec 05, 2008
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
db6be73c
d2e0e3ce
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
45 additions
and
29 deletions
+45
-29
mysql-test/include/rpl_multi_engine.inc
mysql-test/include/rpl_multi_engine.inc
+1
-1
mysql-test/lib/mtr_report.pm
mysql-test/lib/mtr_report.pm
+14
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+6
-2
mysql-test/r/general_log_func.result
mysql-test/r/general_log_func.result
+4
-3
mysql-test/suite/rpl/r/rpl_multi_engine.result
mysql-test/suite/rpl/r/rpl_multi_engine.result
+9
-13
mysql-test/suite/rpl/r/rpl_row_create_table.result
mysql-test/suite/rpl/r/rpl_row_create_table.result
+2
-0
mysql-test/suite/rpl/t/rpl_multi_engine.test
mysql-test/suite/rpl/t/rpl_multi_engine.test
+1
-5
mysql-test/suite/rpl/t/rpl_row_create_table.test
mysql-test/suite/rpl/t/rpl_row_create_table.test
+3
-0
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+1
-0
mysql-test/t/general_log_func.test
mysql-test/t/general_log_func.test
+4
-2
No files found.
mysql-test/include/rpl_multi_engine.inc
View file @
95b779ee
...
@@ -9,7 +9,7 @@ select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
...
@@ -9,7 +9,7 @@ select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
sync_slave_with_master
;
sync_slave_with_master
;
select
id
,
hex
(
b1
),
vc
,
bc
,
d
,
f
,
total
,
y
,
t
from
t1
order
by
id
;
select
id
,
hex
(
b1
),
vc
,
bc
,
d
,
f
,
total
,
y
,
t
from
t1
order
by
id
;
connection
master
;
connection
master
;
DELETE
FROM
mysqltest1
.
t1
WHERE
id
=
42
;
DELETE
FROM
t1
WHERE
id
=
42
;
select
id
,
hex
(
b1
),
vc
,
bc
,
d
,
f
,
total
,
y
,
t
from
t1
order
by
id
;
select
id
,
hex
(
b1
),
vc
,
bc
,
d
,
f
,
total
,
y
,
t
from
t1
order
by
id
;
sync_slave_with_master
;
sync_slave_with_master
;
select
id
,
hex
(
b1
),
vc
,
bc
,
d
,
f
,
total
,
y
,
t
from
t1
order
by
id
;
select
id
,
hex
(
b1
),
vc
,
bc
,
d
,
f
,
total
,
y
,
t
from
t1
order
by
id
;
...
...
mysql-test/lib/mtr_report.pm
View file @
95b779ee
# -*- cperl -*-
# -*- cperl -*-
# Copyright (C) 2004-2006 MySQL AB
# Copyright (C) 2004-2006 MySQL AB
, 2008 Sun Microsystems, Inc.
#
#
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
...
@@ -110,22 +110,26 @@ sub mtr_report_test ($) {
...
@@ -110,22 +110,26 @@ sub mtr_report_test ($) {
if
(
$result
eq
'
MTR_RES_FAILED
'){
if
(
$result
eq
'
MTR_RES_FAILED
'){
my
$timest
=
format_time
();
if
(
$warnings
)
if
(
$warnings
)
{
{
mtr_report
("
[ fail ] Found warnings in server log file!
");
mtr_report
("
[ fail ] Found warnings in server log file!
");
mtr_report
("
Test ended at
$timest
");
mtr_report
(
$warnings
);
mtr_report
(
$warnings
);
return
;
return
;
}
}
my
$timeout
=
$tinfo
->
{'
timeout
'};
my
$timeout
=
$tinfo
->
{'
timeout
'};
if
(
$timeout
)
if
(
$timeout
)
{
{
mtr_report
("
[ fail ] timeout after
$timeout
minutes
");
mtr_report
("
[ fail ] timeout after
$timeout
seconds
");
mtr_report
("
Test ended at
$timest
");
mtr_report
("
\n
$tinfo
->{'comment'}
");
mtr_report
("
\n
$tinfo
->{'comment'}
");
return
;
return
;
}
}
else
else
{
{
mtr_report
("
[ fail ]
");
mtr_report
("
[ fail ]
\n
Test ended at
$timest
");
}
}
if
(
$logfile
)
if
(
$logfile
)
...
@@ -372,6 +376,13 @@ use Time::localtime;
...
@@ -372,6 +376,13 @@ use Time::localtime;
use
Time::
HiRes
qw(gettimeofday)
;
use
Time::
HiRes
qw(gettimeofday)
;
sub
format_time
{
my
$tm
=
localtime
();
return
sprintf
("
%4d-%02d-%02d %02d:%02d:%02d
",
$tm
->
year
+
1900
,
$tm
->
mon
+
1
,
$tm
->
mday
,
$tm
->
hour
,
$tm
->
min
,
$tm
->
sec
);
}
my
$t0
=
gettimeofday
();
my
$t0
=
gettimeofday
();
sub
_timestamp
{
sub
_timestamp
{
...
...
mysql-test/mysql-test-run.pl
View file @
95b779ee
...
@@ -2810,8 +2810,12 @@ sub check_testcase($$)
...
@@ -2810,8 +2810,12 @@ sub check_testcase($$)
# Test failed, grab the report mysqltest has created
# Test failed, grab the report mysqltest has created
my
$report
=
mtr_grab_file
(
$err_file
);
my
$report
=
mtr_grab_file
(
$err_file
);
$tinfo
->
{
check
}
.=
$tinfo
->
{
check
}
.=
"
\n
The check of testcase '
$tname
' failed, this is the
\n
"
.
"
\n
MTR's internal check of the test case '
$tname
' failed.
"
diff between before and after:
\n
";
This means that the test case does not preserve the state that existed
before the test case was executed. Most likely the test case did not
do a proper clean-up.
This is the diff of the states of the servers before and after the
test case was executed:
\n
";
$tinfo
->
{
check
}
.=
$report
;
$tinfo
->
{
check
}
.=
$report
;
# Check failed, mark the test case with that info
# Check failed, mark the test case with that info
...
...
mysql-test/r/general_log_func.result
View file @
95b779ee
...
@@ -27,9 +27,10 @@ INSERT into t1(name) values('Record_3');
...
@@ -27,9 +27,10 @@ INSERT into t1(name) values('Record_3');
INSERT into t1(name) values('Record_4');
INSERT into t1(name) values('Record_4');
## There should be a difference ##
## There should be a difference ##
SET @@session.max_allowed_packet= 1024*1024*1024;
SET @@session.max_allowed_packet= 1024*1024*1024;
select
SET @orig_file= load_file('MYSQLD_LOGFILE.orig');
STRCMP(load_file('MYSQLD_LOGFILE.orig'), load_file('MYSQLD_LOGFILE.copy'));
SET @copy_file= load_file('MYSQLD_LOGFILE.copy');
STRCMP(load_file('MYSQLD_LOGFILE.orig'), load_file('MYSQLD_LOGFILE.copy'))
SELECT STRCMP(@orig_file, @copy_file);
STRCMP(@orig_file, @copy_file)
1
1
## Dropping tables ##
## Dropping tables ##
DROP TABLE t1;
DROP TABLE t1;
mysql-test/suite/rpl/r/rpl_multi_engine.result
View file @
95b779ee
...
@@ -4,13 +4,10 @@ reset master;
...
@@ -4,13 +4,10 @@ reset master;
reset slave;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
start slave;
create database if not exists mysqltest1;
use mysqltest1;
drop table if exists t1;
drop table if exists t1;
CREATE TABLE t1 (id MEDIUMINT NOT NULL, b1 BIT(8), vc
CREATE TABLE t1 (id MEDIUMINT NOT NULL, b1 BIT(8), vc
VARCHAR(255), bc CHAR(255), d DECIMAL(10,4) DEFAULT 0, f FLOAT DEFAULT
VARCHAR(255), bc CHAR(255), d DECIMAL(10,4) DEFAULT 0, f FLOAT DEFAULT
0, total BIGINT UNSIGNED, y YEAR, t TIMESTAMP,PRIMARY KEY(id));
0, total BIGINT UNSIGNED, y YEAR, t TIMESTAMP,PRIMARY KEY(id));
use mysqltest1;
alter table t1 engine=myisam;
alter table t1 engine=myisam;
show create table t1;
show create table t1;
Table Create Table
Table Create Table
...
@@ -55,7 +52,7 @@ id hex(b1) vc bc d f total y t
...
@@ -55,7 +52,7 @@ id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
DELETE FROM
mysqltest1.
t1 WHERE id = 42;
DELETE FROM t1 WHERE id = 42;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
...
@@ -89,7 +86,7 @@ id hex(b1) vc bc d f total y t
...
@@ -89,7 +86,7 @@ id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
DELETE FROM
mysqltest1.
t1 WHERE id = 42;
DELETE FROM t1 WHERE id = 42;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
...
@@ -123,7 +120,7 @@ id hex(b1) vc bc d f total y t
...
@@ -123,7 +120,7 @@ id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
DELETE FROM
mysqltest1.
t1 WHERE id = 42;
DELETE FROM t1 WHERE id = 42;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
...
@@ -172,7 +169,7 @@ id hex(b1) vc bc d f total y t
...
@@ -172,7 +169,7 @@ id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
DELETE FROM
mysqltest1.
t1 WHERE id = 42;
DELETE FROM t1 WHERE id = 42;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
...
@@ -206,7 +203,7 @@ id hex(b1) vc bc d f total y t
...
@@ -206,7 +203,7 @@ id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
DELETE FROM
mysqltest1.
t1 WHERE id = 42;
DELETE FROM t1 WHERE id = 42;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
...
@@ -240,7 +237,7 @@ id hex(b1) vc bc d f total y t
...
@@ -240,7 +237,7 @@ id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
DELETE FROM
mysqltest1.
t1 WHERE id = 42;
DELETE FROM t1 WHERE id = 42;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
...
@@ -289,7 +286,7 @@ id hex(b1) vc bc d f total y t
...
@@ -289,7 +286,7 @@ id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
DELETE FROM
mysqltest1.
t1 WHERE id = 42;
DELETE FROM t1 WHERE id = 42;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
...
@@ -323,7 +320,7 @@ id hex(b1) vc bc d f total y t
...
@@ -323,7 +320,7 @@ id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
DELETE FROM
mysqltest1.
t1 WHERE id = 42;
DELETE FROM t1 WHERE id = 42;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
...
@@ -357,10 +354,9 @@ id hex(b1) vc bc d f total y t
...
@@ -357,10 +354,9 @@ id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
42 0 Testing MySQL databases is a cool Must make it bug free for the customer 654321.4321 15.21 0 1965 2005-09-09 00:00:00
DELETE FROM
mysqltest1.
t1 WHERE id = 42;
DELETE FROM t1 WHERE id = 42;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
select id,hex(b1),vc,bc,d,f,total,y,t from t1 order by id;
id hex(b1) vc bc d f total y t
id hex(b1) vc bc d f total y t
DROP TABLE t1;
DROP TABLE t1;
DROP DATABASE mysqltest1;
mysql-test/suite/rpl/r/rpl_row_create_table.result
View file @
95b779ee
...
@@ -436,11 +436,13 @@ reset master;
...
@@ -436,11 +436,13 @@ reset master;
reset slave;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
start slave;
DROP DATABASE IF EXISTS mysqltest1;
CREATE DATABASE mysqltest1;
CREATE DATABASE mysqltest1;
CREATE TABLE mysqltest1.without_select (f1 BIGINT);
CREATE TABLE mysqltest1.without_select (f1 BIGINT);
CREATE TABLE mysqltest1.with_select AS SELECT 1 AS f1;
CREATE TABLE mysqltest1.with_select AS SELECT 1 AS f1;
show binlog events from <binlog_start>;
show binlog events from <binlog_start>;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Query # # DROP DATABASE IF EXISTS mysqltest1
master-bin.000001 # Query # # CREATE DATABASE mysqltest1
master-bin.000001 # Query # # CREATE DATABASE mysqltest1
master-bin.000001 # Query # # use `test`; CREATE TABLE mysqltest1.without_select (f1 BIGINT)
master-bin.000001 # Query # # use `test`; CREATE TABLE mysqltest1.without_select (f1 BIGINT)
master-bin.000001 # Query # # use `test`; BEGIN
master-bin.000001 # Query # # use `test`; BEGIN
...
...
mysql-test/suite/rpl/t/rpl_multi_engine.test
View file @
95b779ee
...
@@ -12,16 +12,14 @@ connection slave;
...
@@ -12,16 +12,14 @@ connection slave;
connection
master
;
connection
master
;
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
--
disable_warnings
--
disable_warnings
create
database
if
not
exists
mysqltest1
;
use
mysqltest1
;
drop
table
if
exists
t1
;
drop
table
if
exists
t1
;
--
enable_warnings
CREATE
TABLE
t1
(
id
MEDIUMINT
NOT
NULL
,
b1
BIT
(
8
),
vc
CREATE
TABLE
t1
(
id
MEDIUMINT
NOT
NULL
,
b1
BIT
(
8
),
vc
VARCHAR
(
255
),
bc
CHAR
(
255
),
d
DECIMAL
(
10
,
4
)
DEFAULT
0
,
f
FLOAT
DEFAULT
VARCHAR
(
255
),
bc
CHAR
(
255
),
d
DECIMAL
(
10
,
4
)
DEFAULT
0
,
f
FLOAT
DEFAULT
0
,
total
BIGINT
UNSIGNED
,
y
YEAR
,
t
TIMESTAMP
,
PRIMARY
KEY
(
id
));
0
,
total
BIGINT
UNSIGNED
,
y
YEAR
,
t
TIMESTAMP
,
PRIMARY
KEY
(
id
));
sync_slave_with_master
;
sync_slave_with_master
;
use
mysqltest1
;
# MyISAM to MyISAM then InnoDB then MEMORY
# MyISAM to MyISAM then InnoDB then MEMORY
...
@@ -101,8 +99,6 @@ show create table t1;
...
@@ -101,8 +99,6 @@ show create table t1;
# cleanup
# cleanup
connection
master
;
connection
master
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
# Need to drop mysqltest1 as well so other test will pass.
DROP
DATABASE
mysqltest1
;
sync_slave_with_master
;
sync_slave_with_master
;
# End of 5.1 test case
# End of 5.1 test case
mysql-test/suite/rpl/t/rpl_row_create_table.test
View file @
95b779ee
...
@@ -266,6 +266,9 @@ sync_slave_with_master;
...
@@ -266,6 +266,9 @@ sync_slave_with_master;
source
include
/
master
-
slave
-
reset
.
inc
;
source
include
/
master
-
slave
-
reset
.
inc
;
connection
master
;
connection
master
;
--
disable_warnings
DROP
DATABASE
IF
EXISTS
mysqltest1
;
--
enable_warnings
CREATE
DATABASE
mysqltest1
;
CREATE
DATABASE
mysqltest1
;
CREATE
TABLE
mysqltest1
.
without_select
(
f1
BIGINT
);
CREATE
TABLE
mysqltest1
.
without_select
(
f1
BIGINT
);
...
...
mysql-test/t/disabled.def
View file @
95b779ee
...
@@ -24,3 +24,4 @@ sql_low_priority_updates_func : BUG#37962 2008-07-08 sven *_func tests c
...
@@ -24,3 +24,4 @@ sql_low_priority_updates_func : BUG#37962 2008-07-08 sven *_func tests c
timestamp_func : BUG#37962 2008-07-08 sven *_func tests containing sleeps/race conditions
timestamp_func : BUG#37962 2008-07-08 sven *_func tests containing sleeps/race conditions
log_output_func : BUG#37766 2008-07-10 sven main.log_output_func randomly fails in pushbuild
log_output_func : BUG#37766 2008-07-10 sven main.log_output_func randomly fails in pushbuild
slow_query_log_func.test : Bug #37962: *_func tests containing sleeps/race conditions
slow_query_log_func.test : Bug #37962: *_func tests containing sleeps/race conditions
innodb_max_dirty_pages_pct_func : BUG#41018 BUG#39382 2008-12-02 sven test fails often. some failures fill up the disk, causing subsequent failures in many other tests
mysql-test/t/general_log_func.test
View file @
95b779ee
...
@@ -81,8 +81,10 @@ INSERT into t1(name) values('Record_4');
...
@@ -81,8 +81,10 @@ INSERT into t1(name) values('Record_4');
--
echo
## There should be a difference ##
--
echo
## There should be a difference ##
SET
@@
session
.
max_allowed_packet
=
1024
*
1024
*
1024
;
SET
@@
session
.
max_allowed_packet
=
1024
*
1024
*
1024
;
--
replace_result
$MYSQLD_LOGFILE
MYSQLD_LOGFILE
--
replace_result
$MYSQLD_LOGFILE
MYSQLD_LOGFILE
eval
select
eval
SET
@
orig_file
=
load_file
(
'$MYSQLD_LOGFILE.orig'
);
STRCMP
(
load_file
(
'$MYSQLD_LOGFILE.orig'
),
load_file
(
'$MYSQLD_LOGFILE.copy'
));
--
replace_result
$MYSQLD_LOGFILE
MYSQLD_LOGFILE
eval
SET
@
copy_file
=
load_file
(
'$MYSQLD_LOGFILE.copy'
);
eval
SELECT
STRCMP
(
@
orig_file
,
@
copy_file
);
--
remove_file
$MYSQLD_LOGFILE
.
copy
--
remove_file
$MYSQLD_LOGFILE
.
copy
--
remove_file
$MYSQLD_LOGFILE
.
orig
--
remove_file
$MYSQLD_LOGFILE
.
orig
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment