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
1447f631
Commit
1447f631
authored
Jun 19, 2007
by
mats@kindahl-laptop.dnsalias.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes to tests and test results.
parent
6a51e0f8
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
12 deletions
+16
-12
mysql-test/r/binlog_unsafe.result
mysql-test/r/binlog_unsafe.result
+2
-2
mysql-test/r/rpl_loaddata_fatal.result
mysql-test/r/rpl_loaddata_fatal.result
+2
-2
mysql-test/r/rpl_udf.result
mysql-test/r/rpl_udf.result
+4
-4
mysql-test/t/binlog_innodb.test
mysql-test/t/binlog_innodb.test
+1
-0
mysql-test/t/binlog_unsafe.test
mysql-test/t/binlog_unsafe.test
+2
-0
mysql-test/t/multi_update.test
mysql-test/t/multi_update.test
+4
-3
mysql-test/t/rpl_row_basic_11bugs.test
mysql-test/t/rpl_row_basic_11bugs.test
+1
-1
No files found.
mysql-test/r/binlog_unsafe.result
View file @
1447f631
...
...
@@ -5,9 +5,9 @@ CREATE TABLE t3 (b INT AUTO_INCREMENT PRIMARY KEY);
CREATE VIEW v1(a,b) AS SELECT a,b FROM t2,t3;
INSERT INTO t1 SELECT UUID();
Warnings:
Warning 158
8
Statement is not safe to log in statement format.
Warning 158
9
Statement is not safe to log in statement format.
SHOW WARNINGS;
Level Warning
Code 158
8
Code 158
9
Message Statement is not safe to log in statement format.
DROP TABLE t1,t2,t3;
mysql-test/r/rpl_loaddata_fatal.result
View file @
1447f631
...
...
@@ -65,7 +65,7 @@ Replicate_Do_Table
Replicate_Ignore_Table #
Replicate_Wild_Do_Table
Replicate_Wild_Ignore_Table
Last_Errno 15
89
Last_Errno 15
90
Last_Error Fatal error: Not enough memory
Skip_Counter 0
Exec_Master_Log_Pos 325
...
...
@@ -83,7 +83,7 @@ Seconds_Behind_Master #
Master_SSL_Verify_Server_Cert No
Last_IO_Errno #
Last_IO_Error #
Last_SQL_Errno 15
89
Last_SQL_Errno 15
90
Last_SQL_Error Fatal error: Not enough memory
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
START SLAVE;
...
...
mysql-test/r/rpl_udf.result
View file @
1447f631
...
...
@@ -182,19 +182,19 @@ CREATE TABLE t1(sum INT, price FLOAT(24)) ENGINE=MyISAM;
affected rows: 0
INSERT INTO t1 VALUES(myfunc_int(100), myfunc_double(50.00));
Warnings:
Warning 158
8
Statement is not safe to log in statement format.
Warning 158
9
Statement is not safe to log in statement format.
affected rows: 1
INSERT INTO t1 VALUES(myfunc_int(10), myfunc_double(5.00));
Warnings:
Warning 158
8
Statement is not safe to log in statement format.
Warning 158
9
Statement is not safe to log in statement format.
affected rows: 1
INSERT INTO t1 VALUES(myfunc_int(200), myfunc_double(25.00));
Warnings:
Warning 158
8
Statement is not safe to log in statement format.
Warning 158
9
Statement is not safe to log in statement format.
affected rows: 1
INSERT INTO t1 VALUES(myfunc_int(1), myfunc_double(500.00));
Warnings:
Warning 158
8
Statement is not safe to log in statement format.
Warning 158
9
Statement is not safe to log in statement format.
affected rows: 1
SELECT * FROM t1 ORDER BY sum;
sum price
...
...
mysql-test/t/binlog_innodb.test
View file @
1447f631
source
include
/
have_innodb
.
inc
;
source
include
/
have_log_bin
.
inc
;
SET
BINLOG_FORMAT
=
MIXED
;
...
...
mysql-test/t/binlog_unsafe.test
View file @
1447f631
# Test to check that a warning is generated for unsafe statements
# executed under statement mode logging.
source
include
/
have_log_bin
.
inc
;
SET
BINLOG_FORMAT
=
STATEMENT
;
CREATE
TABLE
t1
(
a
CHAR
(
40
));
...
...
mysql-test/t/multi_update.test
View file @
1447f631
...
...
@@ -3,7 +3,8 @@
#
# Requires grants, so won't work with embedded server test
--
source
include
/
not_embedded
.
inc
source
include
/
not_embedded
.
inc
;
source
include
/
have_log_bin
.
inc
;
--
disable_warnings
drop
table
if
exists
t1
,
t2
,
t3
;
...
...
@@ -594,7 +595,7 @@ set @@session.binlog_format= mixed;
insert
into
t1
values
(
1
,
1
),(
2
,
2
);
insert
into
t2
values
(
1
,
1
),(
4
,
4
);
reset
master
;
--
error
ER_DUP_ENTRY_WITH_KEY_NAME
error
ER_DUP_ENTRY
;
UPDATE
t2
,
t1
SET
t2
.
a
=
t1
.
a
+
2
;
# check
select
*
from
t2
/* must be (3,1), (4,4) */
;
...
...
@@ -607,7 +608,7 @@ delete from t2;
insert
into
t1
values
(
1
,
2
),(
3
,
4
),(
4
,
4
);
insert
into
t2
values
(
1
,
2
),(
3
,
4
),(
4
,
4
);
reset
master
;
--
error
ER_DUP_ENTRY_WITH_KEY_NAME
error
ER_DUP_ENTRY
;
UPDATE
t2
,
t1
SET
t2
.
a
=
t2
.
b
where
t2
.
a
=
t1
.
a
;
show
master
status
/* there must be the UPDATE query event */
;
...
...
mysql-test/t/rpl_row_basic_11bugs.test
View file @
1447f631
...
...
@@ -211,7 +211,7 @@ insert into t1 values (1,1),(2,2);
insert
into
t2
values
(
1
,
1
),(
4
,
4
);
connection
master
;
--
error
ER_DUP_ENTRY_WITH_KEY_NAME
error
ER_DUP_ENTRY
;
UPDATE
t2
,
t1
SET
t2
.
a
=
t1
.
a
+
2
;
select
*
from
t2
/* must be (3,1), (4,4) */
;
sync_slave_with_master
;
...
...
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