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
353dd79b
Commit
353dd79b
authored
Sep 21, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0
into mysql.com:/users/lthalmann/bk/mysql-5.0-rollback-comment
parents
3f35fce1
906cd821
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
1 deletion
+40
-1
client/mysqlbinlog.cc
client/mysqlbinlog.cc
+1
-1
mysql-test/r/ctype_ucs_binlog.result
mysql-test/r/ctype_ucs_binlog.result
+1
-0
mysql-test/r/mysqlbinlog.result
mysql-test/r/mysqlbinlog.result
+10
-0
mysql-test/r/mysqlbinlog2.result
mysql-test/r/mysqlbinlog2.result
+25
-0
mysql-test/r/rpl_charset.result
mysql-test/r/rpl_charset.result
+1
-0
mysql-test/r/rpl_timezone.result
mysql-test/r/rpl_timezone.result
+1
-0
mysql-test/r/user_var-binlog.result
mysql-test/r/user_var-binlog.result
+1
-0
No files found.
client/mysqlbinlog.cc
View file @
353dd79b
...
@@ -1434,7 +1434,7 @@ int main(int argc, char** argv)
...
@@ -1434,7 +1434,7 @@ int main(int argc, char** argv)
of transaction.
of transaction.
*/
*/
fprintf
(
result_file
,
fprintf
(
result_file
,
"ROLLBACK;
\n
"
"
# End of log file
\n
ROLLBACK;
\n
"
"/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
\n
"
);
"/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
\n
"
);
if
(
disable_log_bin
)
if
(
disable_log_bin
)
fprintf
(
result_file
,
"/*!32316 SET SQL_LOG_BIN=@OLD_SQL_LOG_BIN*/;
\n
"
);
fprintf
(
result_file
,
"/*!32316 SET SQL_LOG_BIN=@OLD_SQL_LOG_BIN*/;
\n
"
);
...
...
mysql-test/r/ctype_ucs_binlog.result
View file @
353dd79b
...
@@ -17,6 +17,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -17,6 +17,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t2 values (@v);
insert into t2 values (@v);
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
drop table t2;
drop table t2;
mysql-test/r/mysqlbinlog.result
View file @
353dd79b
...
@@ -39,6 +39,7 @@ SET TIMESTAMP=1000000000;
...
@@ -39,6 +39,7 @@ SET TIMESTAMP=1000000000;
load data LOCAL INFILE 'MYSQL_TEST_DIR/var/tmp/SQL_LOAD_MB-3-0' INTO table t1;
load data LOCAL INFILE 'MYSQL_TEST_DIR/var/tmp/SQL_LOAD_MB-3-0' INTO table t1;
SET TIMESTAMP=1000000000;
SET TIMESTAMP=1000000000;
load data LOCAL INFILE 'MYSQL_TEST_DIR/var/tmp/SQL_LOAD_MB-4-0' INTO table t1;
load data LOCAL INFILE 'MYSQL_TEST_DIR/var/tmp/SQL_LOAD_MB-4-0' INTO table t1;
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -51,6 +52,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -51,6 +52,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t1 values ("Alas");
insert into t1 values ("Alas");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -59,6 +61,7 @@ ROLLBACK;
...
@@ -59,6 +61,7 @@ ROLLBACK;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
ROLLBACK;
ROLLBACK;
SET INSERT_ID=1;
SET INSERT_ID=1;
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -71,6 +74,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -71,6 +74,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t1 values ("Alas");
insert into t1 values ("Alas");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -101,6 +105,7 @@ SET TIMESTAMP=1000000000;
...
@@ -101,6 +105,7 @@ SET TIMESTAMP=1000000000;
load data LOCAL INFILE 'MYSQL_TEST_DIR/var/tmp/SQL_LOAD_MB-3-2' INTO table t1;
load data LOCAL INFILE 'MYSQL_TEST_DIR/var/tmp/SQL_LOAD_MB-3-2' INTO table t1;
SET TIMESTAMP=1000000000;
SET TIMESTAMP=1000000000;
load data LOCAL INFILE 'MYSQL_TEST_DIR/var/tmp/SQL_LOAD_MB-4-2' INTO table t1;
load data LOCAL INFILE 'MYSQL_TEST_DIR/var/tmp/SQL_LOAD_MB-4-2' INTO table t1;
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -113,6 +118,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -113,6 +118,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t1 values ("Alas");
insert into t1 values ("Alas");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -121,6 +127,7 @@ ROLLBACK;
...
@@ -121,6 +127,7 @@ ROLLBACK;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
ROLLBACK;
ROLLBACK;
SET INSERT_ID=1;
SET INSERT_ID=1;
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -133,6 +140,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -133,6 +140,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t1 values ("Alas");
insert into t1 values ("Alas");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -145,6 +153,7 @@ SET TIMESTAMP=1108844556;
...
@@ -145,6 +153,7 @@ SET TIMESTAMP=1108844556;
BEGIN;
BEGIN;
SET TIMESTAMP=1108844555;
SET TIMESTAMP=1108844555;
insert t1 values (1);
insert t1 values (1);
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
...
@@ -154,6 +163,7 @@ SET TIMESTAMP=1108844556;
...
@@ -154,6 +163,7 @@ SET TIMESTAMP=1108844556;
BEGIN;
BEGIN;
SET TIMESTAMP=1108844555;
SET TIMESTAMP=1108844555;
insert t1 values (1);
insert t1 values (1);
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
drop table t1, t2;
drop table t1, t2;
mysql-test/r/mysqlbinlog2.result
View file @
353dd79b
...
@@ -39,6 +39,7 @@ insert into t1 values(null, "d");
...
@@ -39,6 +39,7 @@ insert into t1 values(null, "d");
SET INSERT_ID=5;
SET INSERT_ID=5;
SET TIMESTAMP=1579609946;
SET TIMESTAMP=1579609946;
insert into t1 values(null, "e");
insert into t1 values(null, "e");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -65,6 +66,7 @@ insert into t1 values(null, "d");
...
@@ -65,6 +66,7 @@ insert into t1 values(null, "d");
SET INSERT_ID=5;
SET INSERT_ID=5;
SET TIMESTAMP=1579609946;
SET TIMESTAMP=1579609946;
insert into t1 values(null, "e");
insert into t1 values(null, "e");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -81,6 +83,7 @@ insert into t1 values(null, "d");
...
@@ -81,6 +83,7 @@ insert into t1 values(null, "d");
SET INSERT_ID=5;
SET INSERT_ID=5;
SET TIMESTAMP=1579609946;
SET TIMESTAMP=1579609946;
insert into t1 values(null, "e");
insert into t1 values(null, "e");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -103,6 +106,7 @@ insert into t1 values(null, "b");
...
@@ -103,6 +106,7 @@ insert into t1 values(null, "b");
SET INSERT_ID=3;
SET INSERT_ID=3;
SET TIMESTAMP=1579609944;
SET TIMESTAMP=1579609944;
insert into t1 values(null, "c");
insert into t1 values(null, "c");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -123,6 +127,7 @@ insert into t1 values(null, "d");
...
@@ -123,6 +127,7 @@ insert into t1 values(null, "d");
SET INSERT_ID=5;
SET INSERT_ID=5;
SET TIMESTAMP=1579609946;
SET TIMESTAMP=1579609946;
insert into t1 values(null, "e");
insert into t1 values(null, "e");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -142,6 +147,7 @@ insert into t1 values(null, "a");
...
@@ -142,6 +147,7 @@ insert into t1 values(null, "a");
SET INSERT_ID=2;
SET INSERT_ID=2;
SET TIMESTAMP=1579609942;
SET TIMESTAMP=1579609942;
insert into t1 values(null, "b");
insert into t1 values(null, "b");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -177,6 +183,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -177,6 +183,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t1 values(null, "f");
insert into t1 values(null, "f");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -210,6 +217,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -210,6 +217,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t1 values(null, "f");
insert into t1 values(null, "f");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -233,6 +241,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -233,6 +241,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t1 values(null, "f");
insert into t1 values(null, "f");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -262,6 +271,7 @@ SET INSERT_ID=5;
...
@@ -262,6 +271,7 @@ SET INSERT_ID=5;
SET TIMESTAMP=1579609946;
SET TIMESTAMP=1579609946;
insert into t1 values(null, "e");
insert into t1 values(null, "e");
SET INSERT_ID=6;
SET INSERT_ID=6;
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -289,6 +299,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -289,6 +299,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t1 values(null, "f");
insert into t1 values(null, "f");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -308,6 +319,7 @@ insert into t1 values(null, "a");
...
@@ -308,6 +319,7 @@ insert into t1 values(null, "a");
SET INSERT_ID=2;
SET INSERT_ID=2;
SET TIMESTAMP=1579609942;
SET TIMESTAMP=1579609942;
insert into t1 values(null, "b");
insert into t1 values(null, "b");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -336,6 +348,7 @@ insert into t1 values(null, "d");
...
@@ -336,6 +348,7 @@ insert into t1 values(null, "d");
SET INSERT_ID=5;
SET INSERT_ID=5;
SET TIMESTAMP=1579609946;
SET TIMESTAMP=1579609946;
insert into t1 values(null, "e");
insert into t1 values(null, "e");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -362,6 +375,7 @@ insert into t1 values(null, "d");
...
@@ -362,6 +375,7 @@ insert into t1 values(null, "d");
SET INSERT_ID=5;
SET INSERT_ID=5;
SET TIMESTAMP=1579609946;
SET TIMESTAMP=1579609946;
insert into t1 values(null, "e");
insert into t1 values(null, "e");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -378,6 +392,7 @@ insert into t1 values(null, "d");
...
@@ -378,6 +392,7 @@ insert into t1 values(null, "d");
SET INSERT_ID=5;
SET INSERT_ID=5;
SET TIMESTAMP=1579609946;
SET TIMESTAMP=1579609946;
insert into t1 values(null, "e");
insert into t1 values(null, "e");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -400,6 +415,7 @@ insert into t1 values(null, "b");
...
@@ -400,6 +415,7 @@ insert into t1 values(null, "b");
SET INSERT_ID=3;
SET INSERT_ID=3;
SET TIMESTAMP=1579609944;
SET TIMESTAMP=1579609944;
insert into t1 values(null, "c");
insert into t1 values(null, "c");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -420,6 +436,7 @@ insert into t1 values(null, "d");
...
@@ -420,6 +436,7 @@ insert into t1 values(null, "d");
SET INSERT_ID=5;
SET INSERT_ID=5;
SET TIMESTAMP=1579609946;
SET TIMESTAMP=1579609946;
insert into t1 values(null, "e");
insert into t1 values(null, "e");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -439,6 +456,7 @@ insert into t1 values(null, "a");
...
@@ -439,6 +456,7 @@ insert into t1 values(null, "a");
SET INSERT_ID=2;
SET INSERT_ID=2;
SET TIMESTAMP=1579609942;
SET TIMESTAMP=1579609942;
insert into t1 values(null, "b");
insert into t1 values(null, "b");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -474,6 +492,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -474,6 +492,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t1 values(null, "f");
insert into t1 values(null, "f");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -507,6 +526,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -507,6 +526,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t1 values(null, "f");
insert into t1 values(null, "f");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -530,6 +550,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -530,6 +550,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t1 values(null, "f");
insert into t1 values(null, "f");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -559,6 +580,7 @@ SET INSERT_ID=5;
...
@@ -559,6 +580,7 @@ SET INSERT_ID=5;
SET TIMESTAMP=1579609946;
SET TIMESTAMP=1579609946;
insert into t1 values(null, "e");
insert into t1 values(null, "e");
SET INSERT_ID=6;
SET INSERT_ID=6;
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -586,6 +608,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
...
@@ -586,6 +608,7 @@ SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.uniq
SET @@session.sql_mode=0;
SET @@session.sql_mode=0;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8;
insert into t1 values(null, "f");
insert into t1 values(null, "f");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -605,6 +628,7 @@ insert into t1 values(null, "a");
...
@@ -605,6 +628,7 @@ insert into t1 values(null, "a");
SET INSERT_ID=2;
SET INSERT_ID=2;
SET TIMESTAMP=1579609942;
SET TIMESTAMP=1579609942;
insert into t1 values(null, "b");
insert into t1 values(null, "b");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
@@ -636,6 +660,7 @@ insert into t1 values(null, "e");
...
@@ -636,6 +660,7 @@ insert into t1 values(null, "e");
SET INSERT_ID=6;
SET INSERT_ID=6;
SET TIMESTAMP=1579609943;
SET TIMESTAMP=1579609943;
insert into t1 values(null, "f");
insert into t1 values(null, "f");
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
...
...
mysql-test/r/rpl_charset.result
View file @
353dd79b
...
@@ -246,6 +246,7 @@ CREATE TABLE t1 (c1 VARBINARY(255), c2 VARBINARY(255));
...
@@ -246,6 +246,7 @@ CREATE TABLE t1 (c1 VARBINARY(255), c2 VARBINARY(255));
SET TIMESTAMP=1000000000;
SET TIMESTAMP=1000000000;
SET @@session.character_set_client=7,@@session.collation_connection=51,@@session.collation_server=30;
SET @@session.character_set_client=7,@@session.collation_connection=51,@@session.collation_server=30;
INSERT INTO t1 (c1, c2) VALUES (', ',', ');
INSERT INTO t1 (c1, c2) VALUES (', ',', ');
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
drop table t1;
drop table t1;
...
...
mysql-test/r/rpl_timezone.result
View file @
353dd79b
...
@@ -63,6 +63,7 @@ delete from t1;
...
@@ -63,6 +63,7 @@ delete from t1;
SET TIMESTAMP=100000000;
SET TIMESTAMP=100000000;
SET @@session.time_zone='Europe/Moscow';
SET @@session.time_zone='Europe/Moscow';
insert into t1 values ('20040101000000'), ('20040611093902');
insert into t1 values ('20040101000000'), ('20040611093902');
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
delete from t1;
delete from t1;
...
...
mysql-test/r/user_var-binlog.result
View file @
353dd79b
...
@@ -27,6 +27,7 @@ SET @`var1`:=_latin1 0x273B616161 COLLATE `latin1_swedish_ci`;
...
@@ -27,6 +27,7 @@ SET @`var1`:=_latin1 0x273B616161 COLLATE `latin1_swedish_ci`;
SET @`var2`:=_latin1 0x61 COLLATE `latin1_swedish_ci`;
SET @`var2`:=_latin1 0x61 COLLATE `latin1_swedish_ci`;
SET TIMESTAMP=10000;
SET TIMESTAMP=10000;
insert into t1 values (@var1),(@var2);
insert into t1 values (@var1),(@var2);
# End of log file
ROLLBACK;
ROLLBACK;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
drop table t1;
drop table t1;
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