mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
5.5 merge
This commit is contained in:
@ -40,3 +40,4 @@ ha_blackhole storage/blackhole BLACKHOLE_PLUGIN
|
||||
ha_federated storage/federated FEDERATED_PLUGIN
|
||||
mypluglib plugin/fulltext SIMPLE_PARSER
|
||||
libdaemon_example plugin/daemon_example DAEMONEXAMPLE
|
||||
adt_null plugin/audit_null AUDIT_NULL
|
||||
|
@ -8,6 +8,7 @@
|
||||
# --let $rpl_server_number= N
|
||||
# [--let $rpl_server_parameters= --flag1 --flag2 ...]
|
||||
# [--let $rpl_debug= 1]
|
||||
# [--let $rpl_server_error= 0]
|
||||
# --source include/rpl_start_server.inc
|
||||
#
|
||||
# Parameters:
|
||||
@ -21,6 +22,9 @@
|
||||
# If set, extra parameters given by this variable are passed to
|
||||
# mysqld.
|
||||
#
|
||||
# $rpl_server_error
|
||||
# If set, failure of the server startup is expected.
|
||||
#
|
||||
# $rpl_debug
|
||||
# See include/rpl_init.inc
|
||||
#
|
||||
@ -47,8 +51,9 @@ if ($rpl_server_parameters)
|
||||
# Write file to make mysql-test-run.pl start up the server again
|
||||
--exec echo "$_rpl_start_server_command" > $MYSQLTEST_VARDIR/tmp/mysqld.$rpl_server_number.expect
|
||||
|
||||
--source include/rpl_reconnect.inc
|
||||
|
||||
|
||||
--let $include_filename= rpl_start_server.inc $_rpl_start_server_args
|
||||
--source include/end_include_file.inc
|
||||
if (!$rpl_server_error)
|
||||
{
|
||||
--source include/rpl_reconnect.inc
|
||||
--let $include_filename= rpl_start_server.inc $_rpl_start_server_args
|
||||
--source include/end_include_file.inc
|
||||
}
|
||||
|
@ -3229,6 +3229,8 @@ sub install_db ($$) {
|
||||
# for a production system
|
||||
mtr_appendfile_to_file("$path_sql_dir/mysql_system_tables.sql",
|
||||
$bootstrap_sql_file);
|
||||
mtr_appendfile_to_file("$path_sql_dir/mysql_performance_tables.sql",
|
||||
$bootstrap_sql_file);
|
||||
|
||||
# Add the mysql system tables initial data
|
||||
# for a production system
|
||||
|
@ -3523,6 +3523,11 @@ sub mysql_install_db {
|
||||
mtr_appendfile_to_file("$sql_dir/mysql_system_tables.sql",
|
||||
$bootstrap_sql_file);
|
||||
|
||||
# Add the performance tables
|
||||
# for a production system
|
||||
mtr_appendfile_to_file("$sql_dir/mysql_performance_tables.sql",
|
||||
$bootstrap_sql_file);
|
||||
|
||||
# Add the mysql system tables initial data
|
||||
# for a production system
|
||||
mtr_appendfile_to_file("$sql_dir/mysql_system_tables_data.sql",
|
||||
|
File diff suppressed because one or more lines are too long
5
mysql-test/r/change_user_notembedded.result
Normal file
5
mysql-test/r/change_user_notembedded.result
Normal file
@ -0,0 +1,5 @@
|
||||
ERROR 28000: Access denied for user 'foo'@'localhost' (using password: YES)
|
||||
ERROR 28000: Access denied for user 'foo'@'localhost' (using password: NO)
|
||||
ERROR 28000: Access denied for user 'foo'@'localhost' (using password: YES)
|
||||
ERROR 08S01: Unknown command
|
||||
ERROR 08S01: Unknown command
|
@ -3,3 +3,5 @@ Name Location Comment
|
||||
Ronald Bradford Brisbane, Australia EFF contribution for UC2006 Auction
|
||||
Sheeri Kritzer Boston, Mass. USA EFF contribution for UC2006 Auction
|
||||
Mark Shuttleworth London, UK. EFF contribution for UC2006 Auction
|
||||
Warnings:
|
||||
Warning 1681 'SHOW CONTRIBUTORS' is deprecated and will be removed in a future release.
|
||||
|
3
mysql-test/r/create_delayed.result
Normal file
3
mysql-test/r/create_delayed.result
Normal file
@ -0,0 +1,3 @@
|
||||
drop table if exists t1;
|
||||
Starting test
|
||||
# All done
|
@ -191,6 +191,32 @@ t1 CREATE TABLE `t1` (
|
||||
`r` varchar(10) CHARACTER SET ucs2 NOT NULL DEFAULT ''
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# Bug #51876 : crash/memory underrun when loading data with ucs2
|
||||
# and reverse() function
|
||||
#
|
||||
# Problem # 1 (original report): wrong parsing of ucs2 data
|
||||
SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp.txt';
|
||||
CREATE TABLE t1(a INT);
|
||||
LOAD DATA INFILE 'tmpp.txt' INTO TABLE t1 CHARACTER SET ucs2
|
||||
(@b) SET a=REVERSE(@b);
|
||||
# should return 2 zeroes (as the value is truncated)
|
||||
SELECT * FROM t1;
|
||||
a
|
||||
0
|
||||
1
|
||||
DROP TABLE t1;
|
||||
# Problem # 2 : if you write and read ucs2 data to a file they're lost
|
||||
SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp2.txt' CHARACTER SET ucs2;
|
||||
CREATE TABLE t1(a INT);
|
||||
LOAD DATA INFILE 'tmpp2.txt' INTO TABLE t1 CHARACTER SET ucs2
|
||||
(@b) SET a=REVERSE(@b);
|
||||
# should return 0 and 1 (10 reversed)
|
||||
SELECT * FROM t1;
|
||||
a
|
||||
0
|
||||
1
|
||||
DROP TABLE t1;
|
||||
create table t2(f1 Char(30));
|
||||
insert into t2 values ("103000"), ("22720000"), ("3401200"), ("78000");
|
||||
select lpad(f1, 12, "-o-/") from t2;
|
||||
|
@ -1140,6 +1140,14 @@ id l
|
||||
a 512
|
||||
Warnings:
|
||||
Warning 1260 Row 1 was cut by GROUP_CONCAT()
|
||||
SELECT id, CHAR_LENGTH(GROUP_CONCAT(body)) AS l
|
||||
FROM (SELECT 'a' AS id, REPEAT('foo bar', 100) AS body
|
||||
UNION ALL
|
||||
SELECT 'a' AS id, REPEAT('bla bla', 100) AS body) t1;
|
||||
id l
|
||||
a 512
|
||||
Warnings:
|
||||
Warning 1260 Row 1 was cut by GROUP_CONCAT()
|
||||
#
|
||||
# End of 5.5 tests
|
||||
#
|
||||
|
@ -5055,6 +5055,14 @@ id l
|
||||
a 1024
|
||||
Warnings:
|
||||
Warning 1260 Row 2 was cut by GROUP_CONCAT()
|
||||
SELECT id, CHAR_LENGTH(GROUP_CONCAT(body)) AS l
|
||||
FROM (SELECT 'a' AS id, REPEAT('foo bar', 100) AS body
|
||||
UNION ALL
|
||||
SELECT 'a' AS id, REPEAT('bla bla', 100) AS body) t1;
|
||||
id l
|
||||
a 1024
|
||||
Warnings:
|
||||
Warning 1260 Row 2 was cut by GROUP_CONCAT()
|
||||
#
|
||||
# End of 5.5 tests
|
||||
#
|
||||
|
@ -4,5 +4,5 @@ insert t1 values (addtime('9999-12-31 23:59:59', '00:00:01')),
|
||||
select * from t1;
|
||||
d
|
||||
NULL
|
||||
NULL
|
||||
0000-00-00 00:00:00
|
||||
drop table t1;
|
||||
|
@ -2115,6 +2115,55 @@ a
|
||||
4
|
||||
drop table t1,t2;
|
||||
#
|
||||
# MDEV-3873: Wrong result (extra rows) with NOT IN and
|
||||
# a subquery from a MERGE view
|
||||
#
|
||||
CREATE TABLE t1 (a INT NOT NULL) ENGINE=MyISAM;
|
||||
INSERT INTO t1 VALUES (4),(7),(0);
|
||||
CREATE TABLE t2 (b INT NOT NULL) ENGINE=MyISAM;
|
||||
INSERT INTO t2 VALUES (1),(2);
|
||||
CREATE TABLE t3 (c INT NOT NULL) ENGINE=MyISAM;
|
||||
INSERT INTO t3 VALUES (4),(6),(3);
|
||||
CREATE TABLE t4 (d INT NOT NULL) ENGINE=MyISAM;
|
||||
INSERT INTO t4 VALUES (4),(5),(3);
|
||||
CREATE TABLE tv (e INT NOT NULL) ENGINE=MyISAM;
|
||||
INSERT INTO tv VALUES (1),(3);
|
||||
CREATE ALGORITHM=TEMPTABLE VIEW v_temptable AS SELECT * FROM tv;
|
||||
CREATE ALGORITHM=MERGE VIEW v_merge AS SELECT * FROM tv;
|
||||
SELECT * FROM t1, t2
|
||||
WHERE a NOT IN ( SELECT e FROM t3 LEFT JOIN v_temptable ON (c = e) WHERE c <> b ) AND a < b;
|
||||
a b
|
||||
SELECT * FROM t1, t2
|
||||
WHERE a NOT IN ( SELECT e FROM t3 LEFT JOIN v_merge ON (c = e) WHERE c <> b ) AND a < b;
|
||||
a b
|
||||
SELECT * FROM t1, t2
|
||||
WHERE a NOT IN ( SELECT e FROM t3 LEFT JOIN (SELECT * FROM tv) as derived ON (c = e) WHERE c <> b ) AND a < b;
|
||||
a b
|
||||
drop view v_temptable, v_merge;
|
||||
drop table t1,t2,t3,t4,tv;
|
||||
#
|
||||
# MDEV-3912: Wrong result (extra rows) with FROM subquery inside
|
||||
# ALL subquery, LEFT JOIN, derived_merge.
|
||||
# (duplicate of MDEV-3873 (above))
|
||||
#
|
||||
SET @save3912_optimizer_switch=@@optimizer_switch;
|
||||
SET optimizer_switch = 'derived_merge=on,in_to_exists=on';
|
||||
CREATE TABLE t1 (a INT) ENGINE=MyISAM;
|
||||
INSERT INTO t1 VALUES (4),(8);
|
||||
CREATE TABLE t2 (b INT) ENGINE=MyISAM;
|
||||
INSERT INTO t2 VALUES (7),(0);
|
||||
CREATE TABLE t3 (c INT, d INT NOT NULL) ENGINE=MyISAM;
|
||||
INSERT INTO t3 VALUES (0,4),(8,6);
|
||||
SELECT * FROM t1
|
||||
WHERE a >= ALL (
|
||||
SELECT d FROM t2 LEFT JOIN ( SELECT * FROM t3 ) AS alias ON ( c = b )
|
||||
WHERE b >= a
|
||||
);
|
||||
a
|
||||
8
|
||||
set optimizer_switch=@save3912_optimizer_switch;
|
||||
drop table t1, t2, t3;
|
||||
#
|
||||
# end of 5.3 tests
|
||||
#
|
||||
set optimizer_switch=@exit_optimizer_switch;
|
||||
|
@ -847,6 +847,38 @@ time(f1)
|
||||
00:00:00.000200
|
||||
00:00:00.000300
|
||||
drop table t1;
|
||||
create table t1(i int, g int);
|
||||
insert into t1 values (null, 1), (0, 2);
|
||||
select distinct i from t1 group by g;
|
||||
i
|
||||
NULL
|
||||
0
|
||||
drop table t1;
|
||||
create table t1(i int, g blob);
|
||||
insert into t1 values (null, 1), (0, 2);
|
||||
select distinct i from t1 group by g;
|
||||
i
|
||||
NULL
|
||||
0
|
||||
drop table t1;
|
||||
create table t1 (a int) engine=myisam;
|
||||
insert into t1 values (0),(7);
|
||||
create table t2 (b int) engine=myisam;
|
||||
insert into t2 values (7),(0),(3);
|
||||
create algorithm=temptable view v as
|
||||
select distinct (select max(a) from t1 where alias.b = a) as field1 from t2 as alias group by field1;
|
||||
select * from v;
|
||||
field1
|
||||
NULL
|
||||
0
|
||||
7
|
||||
select distinct (select max(a) from t1 where alias.b = a) as field1 from t2 as alias group by field1;
|
||||
field1
|
||||
NULL
|
||||
0
|
||||
7
|
||||
drop view v;
|
||||
drop table t1, t2;
|
||||
#
|
||||
# Bug #11744875: 4082: integer lengths cause truncation with distinct concat and innodb
|
||||
#
|
||||
|
21
mysql-test/r/failed_auth_3909.result
Normal file
21
mysql-test/r/failed_auth_3909.result
Normal file
@ -0,0 +1,21 @@
|
||||
optimize table mysql.user;
|
||||
Table Op Msg_type Msg_text
|
||||
mysql.user optimize status OK
|
||||
insert mysql.user (user,plugin) values ('foo','bar'),('bar','bar'),('baz','bar');
|
||||
Warnings:
|
||||
Warning 1364 Field 'ssl_cipher' doesn't have a default value
|
||||
Warning 1364 Field 'x509_issuer' doesn't have a default value
|
||||
Warning 1364 Field 'x509_subject' doesn't have a default value
|
||||
Warning 1364 Field 'authentication_string' doesn't have a default value
|
||||
flush privileges;
|
||||
connect(localhost,u1,,test,MASTER_PORT,MASTER_SOCKET);
|
||||
ERROR HY000: Plugin 'bar' is not loaded
|
||||
connect(localhost,u2,,test,MASTER_PORT,MASTER_SOCKET);
|
||||
ERROR 28000: Access denied for user 'u2'@'localhost' (using password: NO)
|
||||
connect(localhost,u2,password,test,MASTER_PORT,MASTER_SOCKET);
|
||||
ERROR 28000: Access denied for user 'u2'@'localhost' (using password: YES)
|
||||
ERROR HY000: Plugin 'bar' is not loaded
|
||||
ERROR 28000: Access denied for user 'u2'@'localhost' (using password: NO)
|
||||
ERROR 28000: Access denied for user 'u2'@'localhost' (using password: YES)
|
||||
delete from mysql.user where plugin = 'bar';
|
||||
flush privileges;
|
@ -1086,3 +1086,8 @@ ERROR HY000: Row 3 was cut by GROUP_CONCAT()
|
||||
SET group_concat_max_len = DEFAULT;
|
||||
SET @@sql_mode = @old_sql_mode;
|
||||
DROP TABLE t1, t2;
|
||||
create table t1 (a char(1) character set utf8);
|
||||
insert into t1 values ('a'),('b');
|
||||
select 1 from t1 where a in (select group_concat(a) from t1);
|
||||
1
|
||||
drop table t1;
|
||||
|
@ -305,6 +305,39 @@ SELECT 1 from t1 HAVING NAME_CONST('', a);
|
||||
ERROR HY000: Incorrect arguments to NAME_CONST
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# Test or correct maybe_null of last_value
|
||||
#
|
||||
CREATE TABLE t1 (a char(2) not null );
|
||||
INSERT INTO t1 VALUES (4),(7),(1);
|
||||
set @optimizer_switch_save= @@optimizer_switch;
|
||||
set optimizer_switch='materialization=off';
|
||||
CREATE TABLE tv (e char(2) not null ) engine=mysql;
|
||||
Warnings:
|
||||
Warning 1286 Unknown storage engine 'mysql'
|
||||
Warning 1266 Using storage engine MyISAM for table 'tv'
|
||||
INSERT INTO tv VALUES (1);
|
||||
CREATE ALGORITHM=MERGE VIEW v_merge AS SELECT * FROM tv;
|
||||
CREATE ALGORITHM=MERGE VIEW vm AS SELECT * FROM tv;
|
||||
explain extended
|
||||
select a from t1 left join v_merge on (a=e) where last_value(NULL,e) not in (select last_value(NULL,e) from vm);
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 PRIMARY t1 ALL NULL NULL NULL NULL 3 100.00
|
||||
1 PRIMARY tv ALL NULL NULL NULL NULL 1 100.00 Using where; Using join buffer (flat, BNL join)
|
||||
2 DEPENDENT SUBQUERY tv system NULL NULL NULL NULL 1 100.00
|
||||
Warnings:
|
||||
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` left join (`test`.`tv`) on((`test`.`tv`.`e` = `test`.`t1`.`a`)) where (not(<expr_cache><last_value(NULL,`test`.`tv`.`e`)>(<in_optimizer>(last_value(NULL,`test`.`tv`.`e`),<exists>(select last_value(NULL,'1') from dual where trigcond((<cache>(last_value(NULL,`test`.`tv`.`e`)) = last_value(NULL,'1'))))))))
|
||||
explain extended
|
||||
select a from t1 left join v_merge on (a=e) where e not in (select last_value(NULL,e) from vm);
|
||||
id select_type table type possible_keys key key_len ref rows filtered Extra
|
||||
1 PRIMARY t1 ALL NULL NULL NULL NULL 3 100.00
|
||||
1 PRIMARY tv ALL NULL NULL NULL NULL 1 100.00 Using where; Using join buffer (flat, BNL join)
|
||||
2 DEPENDENT SUBQUERY tv system NULL NULL NULL NULL 1 100.00
|
||||
Warnings:
|
||||
Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` left join (`test`.`tv`) on((`test`.`tv`.`e` = `test`.`t1`.`a`)) where (not(<expr_cache><`test`.`tv`.`e`>(<in_optimizer>(`test`.`tv`.`e`,<exists>(select last_value(NULL,'1') from dual where trigcond((<cache>(`test`.`tv`.`e`) = last_value(NULL,'1'))))))))
|
||||
set optimizer_switch=@optimizer_switch_save;
|
||||
drop view v_merge, vm;
|
||||
drop table t1,tv;
|
||||
#
|
||||
# End of 5.5 tests
|
||||
#
|
||||
#
|
||||
|
@ -1423,7 +1423,7 @@ MAKEDATE(11111111,1)
|
||||
NULL
|
||||
SELECT WEEK(DATE_ADD(FROM_DAYS(1),INTERVAL 1 MONTH), 1);
|
||||
WEEK(DATE_ADD(FROM_DAYS(1),INTERVAL 1 MONTH), 1)
|
||||
NULL
|
||||
0
|
||||
#
|
||||
# Bug#12584302 AFTER FIX FOR #12403504: ASSERTION FAILED: DELSUM+(INT) Y/4-TEMP > 0,
|
||||
#
|
||||
|
14
mysql-test/r/gis2.result
Normal file
14
mysql-test/r/gis2.result
Normal file
@ -0,0 +1,14 @@
|
||||
CREATE TABLE t1 (
|
||||
id INT UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
point_data POINT NOT NULL,
|
||||
PRIMARY KEY (id),
|
||||
KEY idx_point_data(point_data)
|
||||
) ENGINE=MyISAM;
|
||||
INSERT t1 (point_data) VALUES
|
||||
(GeomFromText('Point(37.0248492 23.8512726)')),
|
||||
(GeomFromText('Point(38.0248492 23.8512726)'));
|
||||
SELECT id FROM t1
|
||||
WHERE ST_Contains(point_data, GeomFromText('Point(38.0248492 23.8512726)'));
|
||||
id
|
||||
2
|
||||
DROP TABLE t1;
|
20
mysql-test/r/grant_lowercase.result
Normal file
20
mysql-test/r/grant_lowercase.result
Normal file
@ -0,0 +1,20 @@
|
||||
grant file on *.* to user1@localhost with grant option;
|
||||
grant select on `a%`.* to user1@localhost with grant option;
|
||||
grant file on aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.* to 'user'@'%' identified by 'secret';
|
||||
ERROR 42000: Incorrect database name 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
|
||||
drop user user1@localhost;
|
||||
call mtr.add_suppression("Incorrect database name");
|
||||
alter table mysql.host modify Db varchar(200);
|
||||
alter table mysql.db modify Db varchar(200);
|
||||
insert mysql.host set db=concat('=>', repeat(_utf8 'й', 200));
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'Db' at row 1
|
||||
insert mysql.db set db=concat('=>', repeat(_utf8 'й', 200));
|
||||
Warnings:
|
||||
Warning 1265 Data truncated for column 'Db' at row 1
|
||||
flush privileges;
|
||||
delete from mysql.host where db like '=>%';
|
||||
delete from mysql.db where db like '=>%';
|
||||
alter table mysql.host modify Db char(64);
|
||||
alter table mysql.db modify Db char(64);
|
||||
flush privileges;
|
@ -2130,6 +2130,47 @@ the value below *must* be 1
|
||||
show status like 'Created_tmp_disk_tables';
|
||||
Variable_name Value
|
||||
Created_tmp_disk_tables 1
|
||||
#
|
||||
# Bug #1002146: Unneeded filesort if usage of join buffer is not allowed
|
||||
# (bug mdev-645)
|
||||
#
|
||||
CREATE TABLE t1 (pk int PRIMARY KEY, a int, INDEX idx(a));
|
||||
INSERT INTO t1 VALUES (3,2), (2,3), (5,3), (6,4);
|
||||
CREATE TABLE t2 (pk int PRIMARY KEY, a int, INDEX idx(a));
|
||||
INSERT INTO t2 VALUES (9,0), (10,3), (6,4), (1,6), (3,100), (5,200);
|
||||
set join_cache_level=0;
|
||||
EXPLAIN
|
||||
SELECT t2.a FROM t2 STRAIGHT_JOIN t1 ON t2.a <> 0 WHERE t2.a <> 6
|
||||
GROUP BY t2.a;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t2 range idx idx 5 NULL 5 Using where; Using index
|
||||
1 SIMPLE t1 index NULL PRIMARY 4 NULL 4 Using index
|
||||
SELECT t2.a FROM t2 STRAIGHT_JOIN t1 ON t2.a <> 0 WHERE t2.a <> 6
|
||||
GROUP BY t2.a;
|
||||
a
|
||||
3
|
||||
4
|
||||
100
|
||||
200
|
||||
set join_cache_level=default;
|
||||
set @save_optimizer_switch=@@optimizer_switch;
|
||||
set optimizer_switch='outer_join_with_cache=off';
|
||||
EXPLAIN
|
||||
SELECT t2.a FROM t2 LEFT JOIN t1 ON t2.a <> 0 WHERE t2.a <> 6
|
||||
GROUP BY t2.a;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t2 range idx idx 5 NULL 5 Using where; Using index
|
||||
1 SIMPLE t1 index NULL PRIMARY 4 NULL 4 Using where; Using index
|
||||
SELECT t2.a FROM t2 LEFT JOIN t1 ON t2.a <> 0 WHERE t2.a <> 6
|
||||
GROUP BY t2.a;
|
||||
a
|
||||
0
|
||||
3
|
||||
4
|
||||
100
|
||||
200
|
||||
set optimizer_switch=@save_optimizer_switch;
|
||||
DROP TABLE t1,t2;
|
||||
# End of 5.3 tests
|
||||
#
|
||||
# Bug#49771: Incorrect MIN (date) when minimum value is 0000-00-00
|
||||
@ -2161,6 +2202,51 @@ f1 MIN(f2) MAX(f2)
|
||||
DROP TABLE t1;
|
||||
#End of test#49771
|
||||
#
|
||||
# Test of bug in GROUP_CONCAT with ROLLUP
|
||||
#
|
||||
CREATE TABLE t1 ( b VARCHAR(8) NOT NULL, a INT NOT NULL ) ENGINE=MyISAM;
|
||||
INSERT INTO t1 (a,b) VALUES (1,'c'),(2,'v');
|
||||
CREATE TABLE t2 ( c VARCHAR(8), d INT, KEY (c, d) ) ENGINE=MyISAM;
|
||||
INSERT INTO t2 VALUES ('v',6),('c',4),('v',3);
|
||||
SELECT b, GROUP_CONCAT( a, b ORDER BY a, b )
|
||||
FROM t1 JOIN t2 ON c = b GROUP BY b;
|
||||
b GROUP_CONCAT( a, b ORDER BY a, b )
|
||||
c 1c
|
||||
v 2v,2v
|
||||
SELECT b, GROUP_CONCAT( a, b ORDER BY a, b )
|
||||
FROM t1 JOIN t2 ON c = b GROUP BY b WITH ROLLUP;
|
||||
b GROUP_CONCAT( a, b ORDER BY a, b )
|
||||
c 1c
|
||||
v 2v,2v
|
||||
NULL 1c,2v,2v
|
||||
DROP TABLE t1,t2;
|
||||
#
|
||||
# Test of MDEV-4002
|
||||
#
|
||||
CREATE TABLE t1 (
|
||||
pk INT NOT NULL PRIMARY KEY,
|
||||
d1 DOUBLE,
|
||||
d2 DOUBLE,
|
||||
i INT NOT NULL DEFAULT '0',
|
||||
KEY (i)
|
||||
) ENGINE=InnoDB;
|
||||
INSERT INTO t1 VALUES (1,1.0,1.1,1),(2,2.0,2.2,2);
|
||||
PREPARE stmt FROM "
|
||||
SELECT DISTINCT i, GROUP_CONCAT( d1, d2 ORDER BY d1, d2 )
|
||||
FROM t1 a1 NATURAL JOIN t1 a2 GROUP BY i WITH ROLLUP
|
||||
";
|
||||
EXECUTE stmt;
|
||||
i GROUP_CONCAT( d1, d2 ORDER BY d1, d2 )
|
||||
1 11.1
|
||||
2 22.2
|
||||
NULL 11.1,22.2
|
||||
EXECUTE stmt;
|
||||
i GROUP_CONCAT( d1, d2 ORDER BY d1, d2 )
|
||||
1 11.1
|
||||
2 22.2
|
||||
NULL 11.1,22.2
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# Bug #58782
|
||||
# Missing rows with SELECT .. WHERE .. IN subquery
|
||||
# with full GROUP BY and no aggr
|
||||
|
30
mysql-test/r/group_by_innodb.result
Normal file
30
mysql-test/r/group_by_innodb.result
Normal file
@ -0,0 +1,30 @@
|
||||
#
|
||||
# MDEV-3992 Server crash or valgrind errors in test_if_skip_sort_order/test_if_cheaper_ordering
|
||||
# on GROUP BY with indexes on InnoDB table
|
||||
#
|
||||
CREATE TABLE t1 (
|
||||
pk INT PRIMARY KEY,
|
||||
a VARCHAR(1) NOT NULL,
|
||||
KEY (pk)
|
||||
) ENGINE=InnoDB;
|
||||
INSERT INTO t1 VALUES (1,'a'),(2,'b');
|
||||
EXPLAIN
|
||||
SELECT COUNT(*), pk field1, pk AS field2
|
||||
FROM t1 WHERE a = 'r' OR pk = 183
|
||||
GROUP BY field1, field2;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 index PRIMARY,pk pk 4 NULL 2 Using where
|
||||
SELECT COUNT(*), pk field1, pk AS field2
|
||||
FROM t1 WHERE a = 'r' OR pk = 183
|
||||
GROUP BY field1, field2;
|
||||
COUNT(*) field1 field2
|
||||
EXPLAIN
|
||||
SELECT COUNT(*), pk field1 FROM t1
|
||||
WHERE a = 'r' OR pk = 183 GROUP BY field1, field1;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 index PRIMARY,pk pk 4 NULL 2 Using where
|
||||
SELECT COUNT(*), pk field1 FROM t1
|
||||
WHERE a = 'r' OR pk = 183 GROUP BY field1, field1;
|
||||
COUNT(*) field1
|
||||
drop table t1;
|
||||
End of 5.5 tests
|
@ -2933,6 +2933,13 @@ ORDER BY min_a;
|
||||
min_a
|
||||
NULL
|
||||
DROP TABLE t1;
|
||||
create table t1 (a int, b varchar(1), key(b,a)) engine=myisam;
|
||||
insert t1 values (1,'a'),(2,'b'),(3,'c'),(4,'d'),(5,'e'),(6,'f'),(7,'g'),(8,'h'),(null,'i');
|
||||
select min(a), b from t1 where a=7 or b='z' group by b;
|
||||
min(a) b
|
||||
7 g
|
||||
flush tables;
|
||||
drop table t1;
|
||||
#
|
||||
# LP BUG#888456 Wrong result with DISTINCT , ANY , subquery_cache=off , NOT NULL
|
||||
#
|
||||
|
@ -5,7 +5,7 @@ plugin_version 1.0
|
||||
plugin_status ACTIVE
|
||||
plugin_type DAEMON
|
||||
plugin_library handlersocket.so
|
||||
plugin_library_version 1.3
|
||||
plugin_library_version 1.4
|
||||
plugin_author higuchi dot akira at dena dot jp
|
||||
plugin_description Direct access into InnoDB
|
||||
plugin_license BSD
|
||||
|
8
mysql-test/r/information_schema2.result
Normal file
8
mysql-test/r/information_schema2.result
Normal file
@ -0,0 +1,8 @@
|
||||
select variable_name from information_schema.session_status where variable_name =
|
||||
(select variable_name from information_schema.session_status where variable_name = 'uptime');
|
||||
variable_name
|
||||
UPTIME
|
||||
select variable_name from information_schema.session_variables where variable_name =
|
||||
(select variable_name from information_schema.session_variables where variable_name = 'basedir');
|
||||
variable_name
|
||||
BASEDIR
|
@ -149,3 +149,25 @@ set @@join_cache_level= @save_join_cache_level;
|
||||
set storage_engine=@save_storage_engine;
|
||||
set optimizer_switch=@innodb_mrr_cpk_tmp;
|
||||
drop table t0;
|
||||
#
|
||||
# MDEV-3817: Wrong result with index_merge+index_merge_intersection, InnoDB table, join, AND and OR conditions
|
||||
#
|
||||
set @tmp_mdev3817=@@optimizer_switch;
|
||||
SET optimizer_switch='index_merge=on,index_merge_intersection=on';
|
||||
CREATE TABLE t1 (
|
||||
a INT PRIMARY KEY,
|
||||
b INT,
|
||||
c VARCHAR(1024) CHARACTER SET utf8,
|
||||
d INT,
|
||||
KEY (b)
|
||||
) ENGINE=InnoDB;
|
||||
INSERT INTO t1 VALUES
|
||||
(1, 9, 'one', 11), (2, 6, 'two', 12), (3, 2, 'three', 13), (4, 5, 'four', 14);
|
||||
CREATE TABLE t2 (e INT, g INT) ENGINE=InnoDB;
|
||||
INSERT INTO t2 VALUES (1,9), (2,6) ;
|
||||
SELECT * FROM t1, t2 WHERE g = b AND ( a < 7 OR a > e );
|
||||
a b c d e g
|
||||
1 9 one 11 1 9
|
||||
2 6 two 12 2 6
|
||||
DROP TABLE t1, t2;
|
||||
set optimizer_switch=@tmp_mdev3817;
|
||||
|
@ -504,35 +504,6 @@ CREATE TABLE t1 (id INT NOT NULL);
|
||||
LOAD DATA LOCAL INFILE 'tb.txt' INTO TABLE t1;
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# Bug #51876 : crash/memory underrun when loading data with ucs2
|
||||
# and reverse() function
|
||||
#
|
||||
# Problem # 1 (original report): wrong parsing of ucs2 data
|
||||
SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp.txt';
|
||||
CREATE TABLE t1(a INT);
|
||||
LOAD DATA INFILE 'tmpp.txt' INTO TABLE t1 CHARACTER SET ucs2
|
||||
(@b) SET a=REVERSE(@b);
|
||||
Warnings:
|
||||
Warning 1366 Incorrect integer value: '?' for column 'a' at row 1
|
||||
Warning 1366 Incorrect integer value: '?' for column 'a' at row 2
|
||||
# should return 2 zeroes (as the value is truncated)
|
||||
SELECT * FROM t1;
|
||||
a
|
||||
0
|
||||
0
|
||||
DROP TABLE t1;
|
||||
# Problem # 2 : if you write and read ucs2 data to a file they're lost
|
||||
SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp2.txt' CHARACTER SET ucs2;
|
||||
CREATE TABLE t1(a INT);
|
||||
LOAD DATA INFILE 'tmpp2.txt' INTO TABLE t1 CHARACTER SET ucs2
|
||||
(@b) SET a=REVERSE(@b);
|
||||
# should return 0 and 1 (10 reversed)
|
||||
SELECT * FROM t1;
|
||||
a
|
||||
0
|
||||
1
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# Bug#11765139 58069: LOAD DATA INFILE: VALGRIND REPORTS INVALID MEMORY READS AND WRITES WITH U
|
||||
#
|
||||
CREATE TABLE t1(f1 INT);
|
||||
|
0
mysql-test/r/lowercase_table4.result
Executable file → Normal file
0
mysql-test/r/lowercase_table4.result
Executable file → Normal file
@ -509,5 +509,9 @@ SHOW TABLES IN connected_db;
|
||||
Tables_in_connected_db
|
||||
table_in_connected_db
|
||||
DROP DATABASE connected_db;
|
||||
create database `aa``bb````cc`;
|
||||
DATABASE()
|
||||
aa`bb``cc
|
||||
drop database `aa``bb````cc`;
|
||||
|
||||
End of tests
|
||||
|
@ -935,9 +935,9 @@ a int(11) YES NULL
|
||||
b varchar(255) YES NULL
|
||||
c datetime YES NULL
|
||||
drop table t1;
|
||||
mysqltest: At line 1: change user failed: Unknown database 'inexistent'
|
||||
mysqltest: At line 1: change user failed: Access denied for user 'inexistent'@'localhost' (using password: NO)
|
||||
mysqltest: At line 1: change user failed: Access denied for user 'root'@'localhost' (using password: YES)
|
||||
mysqltest: At line 1: query 'change_user root,,inexistent' failed: 1049: Unknown database 'inexistent'
|
||||
mysqltest: At line 1: query 'change_user inexistent,,test' failed: 1045: Access denied for user 'inexistent'@'localhost' (using password: NO)
|
||||
mysqltest: At line 1: query 'change_user root,inexistent,test' failed: 1045: Access denied for user 'root'@'localhost' (using password: YES)
|
||||
REPLACED_FILE1.txt
|
||||
file1.txt
|
||||
file2.txt
|
||||
|
@ -574,4 +574,24 @@ a b
|
||||
1 2
|
||||
0 1
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# BUG#12912171 - ASSERTION FAILED: QUICK->HEAD->READ_SET ==
|
||||
# SAVE_READ_SET
|
||||
#
|
||||
CREATE TABLE t1 (
|
||||
a INT,
|
||||
b INT,
|
||||
c INT,
|
||||
PRIMARY KEY (c,a), KEY (a),KEY (a)
|
||||
) ENGINE=INNODB PARTITION BY KEY () PARTITIONS 2;
|
||||
INSERT INTO t1 VALUES (1,5,1),(2,4,1),(3,3,1),(4,2,1),(5,1,1);
|
||||
UPDATE t1 SET b = 0, c=1 WHERE a <=>0;
|
||||
SELECT * FROM t1;
|
||||
a b c
|
||||
1 5 1
|
||||
2 4 1
|
||||
3 3 1
|
||||
4 2 1
|
||||
5 1 1
|
||||
DROP TABLE t1;
|
||||
set global default_storage_engine=default;
|
||||
|
@ -15,7 +15,7 @@ PLUGIN_STATUS ACTIVE
|
||||
PLUGIN_TYPE STORAGE ENGINE
|
||||
PLUGIN_TYPE_VERSION #
|
||||
PLUGIN_LIBRARY ha_example.so
|
||||
PLUGIN_LIBRARY_VERSION 1.3
|
||||
PLUGIN_LIBRARY_VERSION 1.4
|
||||
PLUGIN_AUTHOR Brian Aker, MySQL AB
|
||||
PLUGIN_DESCRIPTION Example storage engine
|
||||
PLUGIN_LICENSE GPL
|
||||
@ -28,7 +28,7 @@ PLUGIN_STATUS ACTIVE
|
||||
PLUGIN_TYPE DAEMON
|
||||
PLUGIN_TYPE_VERSION #
|
||||
PLUGIN_LIBRARY ha_example.so
|
||||
PLUGIN_LIBRARY_VERSION 1.3
|
||||
PLUGIN_LIBRARY_VERSION 1.4
|
||||
PLUGIN_AUTHOR Sergei Golubchik
|
||||
PLUGIN_DESCRIPTION Unusable Daemon
|
||||
PLUGIN_LICENSE GPL
|
||||
@ -57,7 +57,7 @@ PLUGIN_STATUS DELETED
|
||||
PLUGIN_TYPE STORAGE ENGINE
|
||||
PLUGIN_TYPE_VERSION #
|
||||
PLUGIN_LIBRARY ha_example.so
|
||||
PLUGIN_LIBRARY_VERSION 1.3
|
||||
PLUGIN_LIBRARY_VERSION 1.4
|
||||
PLUGIN_AUTHOR Brian Aker, MySQL AB
|
||||
PLUGIN_DESCRIPTION Example storage engine
|
||||
PLUGIN_LICENSE GPL
|
||||
@ -69,6 +69,8 @@ UNINSTALL PLUGIN EXAMPLE;
|
||||
ERROR 42000: PLUGIN EXAMPLE does not exist
|
||||
UNINSTALL PLUGIN non_exist;
|
||||
ERROR 42000: PLUGIN non_exist does not exist
|
||||
UNINSTALL SONAME 'non_exist';
|
||||
ERROR 42000: SONAME non_exist.so does not exist
|
||||
#
|
||||
# Bug#32034: check_func_enum() does not check correct values but set it
|
||||
# to impossible int val
|
||||
|
@ -121,17 +121,20 @@ ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost'
|
||||
this should fail : not the same user
|
||||
GRANT PROXY ON grant_plug TO grant_plug_dest;
|
||||
ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost'
|
||||
this should fail : same user, but on a different host
|
||||
This is a valid grant
|
||||
GRANT PROXY ON grant_plug_dest TO grant_plug;
|
||||
ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost'
|
||||
this should work : same user
|
||||
GRANT PROXY ON grant_plug_dest@localhost TO grant_plug_dest2;
|
||||
REVOKE PROXY ON grant_plug_dest@localhost FROM grant_plug_dest2;
|
||||
REVOKE PROXY ON grant_plug_dest FROM grant_plug;
|
||||
this should work : same user
|
||||
GRANT PROXY ON grant_plug_dest TO grant_plug_dest2;
|
||||
REVOKE PROXY ON grant_plug_dest FROM grant_plug_dest2;
|
||||
this should fail : not the same user
|
||||
GRANT PROXY ON grant_plug_dest@localhost TO grant_plug WITH GRANT OPTION;
|
||||
ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost'
|
||||
this should fail : not the same user
|
||||
REVOKE PROXY ON grant_plug_dest@localhost FROM grant_plug;
|
||||
ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost'
|
||||
this should fail : can't create users
|
||||
GRANT PROXY ON grant_plug_dest@localhost TO grant_plug@localhost;
|
||||
GRANT PROXY ON grant_plug_dest TO grant_plug@localhost;
|
||||
ERROR 42000: You are not allowed to create a user with GRANT
|
||||
in default connection
|
||||
# test what root can grant
|
||||
@ -149,12 +152,12 @@ GRANT PROXY ON future_user TO grant_plug;
|
||||
in default connection
|
||||
SHOW GRANTS FOR grant_plug;
|
||||
Grants for grant_plug@%
|
||||
GRANT ALL PRIVILEGES ON *.* TO 'grant_plug'@'%' IDENTIFIED VIA test_plugin_server USING 'grant_plug_dest' WITH GRANT OPTION
|
||||
GRANT ALL PRIVILEGES ON *.* TO 'grant_plug'@'%' IDENTIFIED VIA test_plugin_server USING 'grant_plug_dest'
|
||||
GRANT PROXY ON 'future_user'@'%' TO 'grant_plug'@'%'
|
||||
REVOKE PROXY ON future_user FROM grant_plug;
|
||||
SHOW GRANTS FOR grant_plug;
|
||||
Grants for grant_plug@%
|
||||
GRANT ALL PRIVILEGES ON *.* TO 'grant_plug'@'%' IDENTIFIED VIA test_plugin_server USING 'grant_plug_dest' WITH GRANT OPTION
|
||||
GRANT ALL PRIVILEGES ON *.* TO 'grant_plug'@'%' IDENTIFIED VIA test_plugin_server USING 'grant_plug_dest'
|
||||
## testing drop user
|
||||
CREATE USER test_drop@localhost;
|
||||
GRANT PROXY ON future_user TO test_drop@localhost;
|
||||
|
@ -1953,3 +1953,49 @@ a b c d
|
||||
14 1 1 q
|
||||
9 7 1 s
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# BUG#13256446 - ASSERTION QUICK->HEAD->READ_SET ==
|
||||
# SAVE_READ_SET' FAILED IN OPT_RANGE.CC:1606
|
||||
#
|
||||
CREATE TABLE t1 (
|
||||
f1 INT AUTO_INCREMENT,
|
||||
f2 INT,
|
||||
f3 INT,
|
||||
f4 INT,
|
||||
PRIMARY KEY (f1),KEY(f2)
|
||||
) ENGINE=INNODB;
|
||||
CREATE ALGORITHM=MERGE VIEW v2 AS SELECT f1,f2,f3,f4 FROM t1 WHERE f2=103;
|
||||
INSERT INTO t1 VALUES (154,0,NULL,0),(0,NULL,9,0),
|
||||
(NULL,102,NULL,3),(0,3,NULL,0), (9,0,NULL,0),(0,9,NULL,157);
|
||||
SELECT * FROM v2;
|
||||
f1 f2 f3 f4
|
||||
UPDATE v2 SET f4=0, f2=NULL, f1=NULL WHERE f1 > 16 ORDER BY f1;
|
||||
SELECT * FROM v2;
|
||||
f1 f2 f3 f4
|
||||
DROP TABLE t1;
|
||||
DROP VIEW v2;
|
||||
CREATE TABLE t1 (
|
||||
f1 INT AUTO_INCREMENT,
|
||||
f2 INT,
|
||||
f3 INT,
|
||||
f4 INT,
|
||||
PRIMARY KEY (f1),KEY(f2)
|
||||
) ENGINE=INNODB;
|
||||
INSERT INTO t1 VALUES(1,NULL,NULL,0), (2,2,0,3), (9,0,107,18),
|
||||
(10,0,0,0), (231,0,0,0), (232,0,8,0), (234,0,0,NULL), (235,8,0,3);
|
||||
CREATE ALGORITHM=MERGE VIEW v3 AS SELECT f1,f2,f3,f4 FROM t1 WHERE f1<=85 ;
|
||||
SELECT * FROM v3;
|
||||
f1 f2 f3 f4
|
||||
1 NULL NULL 0
|
||||
2 2 0 3
|
||||
9 0 107 18
|
||||
10 0 0 0
|
||||
UPDATE v3 SET f3=0, f4=4 WHERE f2=68 ORDER BY f1;
|
||||
SELECT * FROM v3;
|
||||
f1 f2 f3 f4
|
||||
1 NULL NULL 0
|
||||
2 2 0 3
|
||||
9 0 107 18
|
||||
10 0 0 0
|
||||
DROP TABLE t1;
|
||||
DROP VIEW v3;
|
||||
|
@ -1955,4 +1955,50 @@ a b c d
|
||||
9 7 1 s
|
||||
14 1 1 q
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# BUG#13256446 - ASSERTION QUICK->HEAD->READ_SET ==
|
||||
# SAVE_READ_SET' FAILED IN OPT_RANGE.CC:1606
|
||||
#
|
||||
CREATE TABLE t1 (
|
||||
f1 INT AUTO_INCREMENT,
|
||||
f2 INT,
|
||||
f3 INT,
|
||||
f4 INT,
|
||||
PRIMARY KEY (f1),KEY(f2)
|
||||
) ENGINE=INNODB;
|
||||
CREATE ALGORITHM=MERGE VIEW v2 AS SELECT f1,f2,f3,f4 FROM t1 WHERE f2=103;
|
||||
INSERT INTO t1 VALUES (154,0,NULL,0),(0,NULL,9,0),
|
||||
(NULL,102,NULL,3),(0,3,NULL,0), (9,0,NULL,0),(0,9,NULL,157);
|
||||
SELECT * FROM v2;
|
||||
f1 f2 f3 f4
|
||||
UPDATE v2 SET f4=0, f2=NULL, f1=NULL WHERE f1 > 16 ORDER BY f1;
|
||||
SELECT * FROM v2;
|
||||
f1 f2 f3 f4
|
||||
DROP TABLE t1;
|
||||
DROP VIEW v2;
|
||||
CREATE TABLE t1 (
|
||||
f1 INT AUTO_INCREMENT,
|
||||
f2 INT,
|
||||
f3 INT,
|
||||
f4 INT,
|
||||
PRIMARY KEY (f1),KEY(f2)
|
||||
) ENGINE=INNODB;
|
||||
INSERT INTO t1 VALUES(1,NULL,NULL,0), (2,2,0,3), (9,0,107,18),
|
||||
(10,0,0,0), (231,0,0,0), (232,0,8,0), (234,0,0,NULL), (235,8,0,3);
|
||||
CREATE ALGORITHM=MERGE VIEW v3 AS SELECT f1,f2,f3,f4 FROM t1 WHERE f1<=85 ;
|
||||
SELECT * FROM v3;
|
||||
f1 f2 f3 f4
|
||||
1 NULL NULL 0
|
||||
2 2 0 3
|
||||
9 0 107 18
|
||||
10 0 0 0
|
||||
UPDATE v3 SET f3=0, f4=4 WHERE f2=68 ORDER BY f1;
|
||||
SELECT * FROM v3;
|
||||
f1 f2 f3 f4
|
||||
1 NULL NULL 0
|
||||
2 2 0 3
|
||||
9 0 107 18
|
||||
10 0 0 0
|
||||
DROP TABLE t1;
|
||||
DROP VIEW v3;
|
||||
set optimizer_switch=@mrr_icp_extra_tmp;
|
||||
|
@ -1552,3 +1552,14 @@ RELEASE_LOCK('t')
|
||||
óóóó
|
||||
1
|
||||
SET NAMES latin1;
|
||||
#
|
||||
# WL#6454: Deprecate SHOW AUTHORS and SHOW CONTRIBUTORS
|
||||
#
|
||||
SHOW AUTHORS;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1681 'SHOW AUTHORS' is deprecated and will be removed in a future release.
|
||||
SHOW CONTRIBUTORS;
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Warning 1681 'SHOW CONTRIBUTORS' is deprecated and will be removed in a future release.
|
||||
|
@ -6530,16 +6530,16 @@ id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 ref c1 c1 5 const 1 Using index
|
||||
EXPLAIN SELECT * FROM t1 WHERE c1=f1();
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 ref c1 c1 5 const 0 Using where; Using index
|
||||
1 SIMPLE t1 ref c1 c1 5 const 1 Using where; Using index
|
||||
EXPLAIN SELECT * FROM v1 WHERE c1=1;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 ref c1 c1 5 const 1 Using index
|
||||
EXPLAIN SELECT * FROM v1 WHERE c1=f1();
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 ref c1 c1 5 const 0 Using where; Using index
|
||||
1 SIMPLE t1 ref c1 c1 5 const 1 Using where; Using index
|
||||
EXPLAIN SELECT * FROM t1 WHERE c1=f2(10);
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 ref c1 c1 5 const 0 Using where; Using index
|
||||
1 SIMPLE t1 ref c1 c1 5 const 1 Using where; Using index
|
||||
EXPLAIN SELECT * FROM t1 WHERE c1=f2(c1);
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 index NULL c1 5 NULL 5 Using where; Using index
|
||||
@ -7852,6 +7852,38 @@ c1 c2 count(c3)
|
||||
2012-03-01 01:00:00 3 1
|
||||
2012-03-01 02:00:00 3 1
|
||||
DROP PROCEDURE p1;
|
||||
|
||||
MDEV-3900 Optimizer difference between MySQL and MariaDB with stored functions in WHERE clause of UPDATE or DELETE statements
|
||||
|
||||
CREATE FUNCTION tdn() RETURNS int(7) DETERMINISTIC RETURN to_days(now());
|
||||
CREATE TABLE t1 (pk INT NOT NULL AUTO_INCREMENT PRIMARY KEY, daynum INT, a CHAR(1), INDEX(daynum), INDEX(a)) ENGINE=MyISAM;
|
||||
INSERT INTO t1 (daynum) VALUES (1),(2),(3),(4),(5),(TO_DAYS(NOW())),(7),(8);
|
||||
INSERT INTO t1 (daynum) SELECT a1.daynum FROM t1 a1, t1 a2, t1 a3, t1 a4, t1 a5;
|
||||
FLUSH TABLES;
|
||||
FLUSH STATUS;
|
||||
SHOW STATUS LIKE '%Handler_read%';
|
||||
Variable_name Value
|
||||
Handler_read_first 0
|
||||
Handler_read_key 0
|
||||
Handler_read_last 0
|
||||
Handler_read_next 0
|
||||
Handler_read_prev 0
|
||||
Handler_read_rnd 0
|
||||
Handler_read_rnd_deleted 0
|
||||
Handler_read_rnd_next 0
|
||||
UPDATE t1 SET a = '+' WHERE daynum=tdn();
|
||||
SHOW STATUS LIKE '%Handler_read%';
|
||||
Variable_name Value
|
||||
Handler_read_first 0
|
||||
Handler_read_key 2
|
||||
Handler_read_last 0
|
||||
Handler_read_next 4097
|
||||
Handler_read_prev 0
|
||||
Handler_read_rnd 0
|
||||
Handler_read_rnd_deleted 0
|
||||
Handler_read_rnd_next 0
|
||||
drop function tdn;
|
||||
drop table t1;
|
||||
#
|
||||
# lp:1002157 : testing stored function
|
||||
# bug#62125 result for null incorrectly yields 1292 warning.
|
||||
|
@ -259,7 +259,6 @@ SELECT `my.db`.f1(2);
|
||||
# Switching to default connection.
|
||||
DROP DATABASE `my.db`;
|
||||
USE test;
|
||||
set @@global.concurrent_insert= @old_concurrent_insert;
|
||||
#
|
||||
# Bug#11763507 - 56224: FUNCTION NAME IS CASE-SENSITIVE
|
||||
#
|
||||
@ -280,3 +279,7 @@ Event sql_mode time_zone Create Event character_set_client collation_connection
|
||||
teste_bug11763507 SYSTEM # latin1 latin1_swedish_ci latin1_swedish_ci
|
||||
DROP EVENT teste_bug11763507;
|
||||
#END OF BUG#11763507 test.
|
||||
# ------------------------------------------------------------------
|
||||
# -- End of 5.1 tests
|
||||
# ------------------------------------------------------------------
|
||||
set @@global.concurrent_insert= @old_concurrent_insert;
|
||||
|
@ -2248,6 +2248,53 @@ NULL NULL
|
||||
drop table t1, t2;
|
||||
set optimizer_switch=@subselect4_tmp;
|
||||
#
|
||||
# MDEV-3928 Assertion `example' failed in Item_cache::is_expensive_processor with a 2-level IN subquery
|
||||
#
|
||||
CREATE TABLE t1 (a1 INT, b1 TIME) ENGINE=MyISAM;
|
||||
INSERT INTO t1 VALUES (4,'21:22:34'),(6,'10:50:38');
|
||||
CREATE TABLE t2 (a2 INT, b2 TIME) ENGINE=MyISAM;
|
||||
INSERT INTO t2 VALUES (8, '06:17:39');
|
||||
CREATE TABLE t3 (a3 INT, b3 TIME) ENGINE=MyISAM;
|
||||
INSERT INTO t3 VALUES (1,'00:00:01'),(7,'00:00:02');
|
||||
EXPLAIN
|
||||
SELECT * FROM t1 WHERE a1 IN (
|
||||
SELECT a2 FROM t2 WHERE a2 IN (
|
||||
SELECT a3 FROM t3 WHERE b2 = b1 AND b2 <= b1 ORDER BY b3
|
||||
)
|
||||
);
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 PRIMARY t2 system NULL NULL NULL NULL 1
|
||||
1 PRIMARY t1 ALL NULL NULL NULL NULL 2 Using where
|
||||
3 DEPENDENT SUBQUERY t3 ALL NULL NULL NULL NULL 2 Using where
|
||||
SELECT * FROM t1 WHERE a1 IN (
|
||||
SELECT a2 FROM t2 WHERE a2 IN (
|
||||
SELECT a3 FROM t3 WHERE b2 = b1 AND b2 <= b1 ORDER BY b3
|
||||
)
|
||||
);
|
||||
a1 b1
|
||||
drop table t1, t2, t3;
|
||||
#
|
||||
# MDEV-4056:Server crashes in Item_func_trig_cond::val_int
|
||||
# with FROM and NOT IN subqueries, LEFT JOIN, derived_merge+in_to_exists
|
||||
#
|
||||
set @optimizer_switch_MDEV4056 = @@optimizer_switch;
|
||||
SET optimizer_switch = 'derived_merge=on,in_to_exists=on';
|
||||
CREATE TABLE t1 (a VARCHAR(1)) ENGINE=MyISAM;
|
||||
INSERT INTO t1 VALUES ('x'),('d');
|
||||
CREATE TABLE t2 (pk INT PRIMARY KEY, b INT, c VARCHAR(1)) ENGINE=MyISAM;
|
||||
INSERT INTO t2 VALUES (1,2,'v'),(2,150,'v');
|
||||
SELECT * FROM t1 LEFT JOIN (
|
||||
SELECT * FROM t2 WHERE ( pk, pk ) NOT IN (
|
||||
SELECT MIN(b), SUM(pk) FROM t1
|
||||
)
|
||||
) AS alias1 ON (a = c)
|
||||
WHERE b IS NULL OR a < 'u';
|
||||
a pk b c
|
||||
x NULL NULL NULL
|
||||
d NULL NULL NULL
|
||||
drop table t1,t2;
|
||||
set @@optimizer_switch = @optimizer_switch_MDEV4056;
|
||||
#
|
||||
# MDEV-3899 Valgrind warnings (blocks are definitely lost) in filesort on IN subquery with SUM and DISTINCT
|
||||
#
|
||||
CREATE TABLE t1 (a INT) ENGINE=MyISAM;
|
||||
|
@ -432,4 +432,22 @@ select 1 from t1 where 1 like (select 1 from t1 where 1 <=> (select 1 from t1 gr
|
||||
1
|
||||
1
|
||||
drop table t1;
|
||||
#
|
||||
# MDEV-3988 crash in create_tmp_table
|
||||
#
|
||||
drop table if exists `t1`,`t2`;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 't1'
|
||||
Note 1051 Unknown table 't2'
|
||||
create table `t1`(`a` char(1) character set utf8)engine=innodb;
|
||||
create table `t2`(`b` char(1) character set utf8)engine=memory;
|
||||
select distinct (select 1 from `t2` where `a`) `d2` from `t1`;
|
||||
d2
|
||||
select distinct (select 1 from `t2` where `a`) `d2`, a from `t1`;
|
||||
d2 a
|
||||
select distinct a, (select 1 from `t2` where `a`) `d2` from `t1`;
|
||||
a d2
|
||||
select distinct (1 + (select 1 from `t2` where `a`)) `d2` from `t1`;
|
||||
d2
|
||||
drop table t1,t2;
|
||||
set optimizer_switch=@subselect_innodb_tmp;
|
||||
|
@ -2767,4 +2767,79 @@ GROUP BY b
|
||||
HAVING t1sum <> 1;
|
||||
t1sum b
|
||||
DROP TABLE t1, t2;
|
||||
#
|
||||
# MDEV-3911: Assertion `fixed == 0' failed in Item_field::fix_fields
|
||||
# on 2nd execution of PS with semijoin=on and IN subquery
|
||||
#
|
||||
CREATE TABLE t1 (a INT, b INT) ENGINE=MyISAM;
|
||||
INSERT INTO t1 VALUES (0,4),(8,6);
|
||||
CREATE TABLE t2 (c INT, d INT) ENGINE=MyISAM;
|
||||
INSERT INTO t2 VALUES (7,1),(0,7);
|
||||
PREPARE stmt FROM ' SELECT * FROM t1 WHERE ( a, b ) IN ( SELECT c, d FROM t2 ) ';
|
||||
execute stmt;
|
||||
a b
|
||||
execute stmt;
|
||||
a b
|
||||
deallocate prepare stmt;
|
||||
drop table t1,t2;
|
||||
#
|
||||
# MySQL Bug#13340270: assertion table->sort.record_pointers == __null
|
||||
#
|
||||
CREATE TABLE t1 (
|
||||
pk int NOT NULL,
|
||||
col_int_key int DEFAULT NULL,
|
||||
col_varchar_key varchar(1) DEFAULT NULL,
|
||||
col_varchar_nokey varchar(1) DEFAULT NULL,
|
||||
PRIMARY KEY (pk),
|
||||
KEY col_int_key (col_int_key),
|
||||
KEY col_varchar_key (col_varchar_key, col_int_key)
|
||||
) ENGINE=InnoDB;
|
||||
Warnings:
|
||||
Warning 1286 Unknown storage engine 'InnoDB'
|
||||
Warning 1266 Using storage engine MyISAM for table 't1'
|
||||
INSERT INTO t1 VALUES
|
||||
(10,8,'x','x'),
|
||||
(11,7,'d','d'),
|
||||
(12,1,'r','r'),
|
||||
(13,7,'f','f'),
|
||||
(14,9,'y','y'),
|
||||
(15,NULL,'u','u'),
|
||||
(16,1,'m','m'),
|
||||
(17,9,NULL,NULL),
|
||||
(18,2,'o','o'),
|
||||
(19,9,'w','w'),
|
||||
(20,2,'m','m'),
|
||||
(21,4,'q','q');
|
||||
CREATE TABLE t2
|
||||
SELECT alias1.col_varchar_nokey AS field1
|
||||
FROM t1 AS alias1 JOIN t1 AS alias2
|
||||
ON alias2.col_int_key = alias1.pk OR
|
||||
alias2.col_int_key = alias1.col_int_key
|
||||
WHERE alias1.pk = 58 OR alias1.col_varchar_key = 'o'
|
||||
|
||||
;
|
||||
EXPLAIN SELECT *
|
||||
FROM t2
|
||||
WHERE (field1) IN (SELECT alias1.col_varchar_nokey AS field1
|
||||
FROM t1 AS alias1 JOIN t1 AS alias2
|
||||
ON alias2.col_int_key = alias1.pk OR
|
||||
alias2.col_int_key = alias1.col_int_key
|
||||
WHERE alias1.pk = 58 OR alias1.col_varchar_key = 'o'
|
||||
);
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 PRIMARY t2 ALL NULL NULL NULL NULL 2
|
||||
1 PRIMARY alias1 index_merge PRIMARY,col_int_key,col_varchar_key PRIMARY,col_varchar_key 4,4 NULL 2 Using sort_union(PRIMARY,col_varchar_key); Using where
|
||||
1 PRIMARY alias2 ALL col_int_key NULL NULL NULL 12 Range checked for each record (index map: 0x2); FirstMatch(t2)
|
||||
SELECT *
|
||||
FROM t2
|
||||
WHERE (field1) IN (SELECT alias1.col_varchar_nokey AS field1
|
||||
FROM t1 AS alias1 JOIN t1 AS alias2
|
||||
ON alias2.col_int_key = alias1.pk OR
|
||||
alias2.col_int_key = alias1.col_int_key
|
||||
WHERE alias1.pk = 58 OR alias1.col_varchar_key = 'o'
|
||||
);
|
||||
field1
|
||||
o
|
||||
o
|
||||
DROP TABLE t1, t2;
|
||||
set optimizer_switch=@subselect_sj_tmp;
|
||||
|
@ -2781,6 +2781,81 @@ GROUP BY b
|
||||
HAVING t1sum <> 1;
|
||||
t1sum b
|
||||
DROP TABLE t1, t2;
|
||||
#
|
||||
# MDEV-3911: Assertion `fixed == 0' failed in Item_field::fix_fields
|
||||
# on 2nd execution of PS with semijoin=on and IN subquery
|
||||
#
|
||||
CREATE TABLE t1 (a INT, b INT) ENGINE=MyISAM;
|
||||
INSERT INTO t1 VALUES (0,4),(8,6);
|
||||
CREATE TABLE t2 (c INT, d INT) ENGINE=MyISAM;
|
||||
INSERT INTO t2 VALUES (7,1),(0,7);
|
||||
PREPARE stmt FROM ' SELECT * FROM t1 WHERE ( a, b ) IN ( SELECT c, d FROM t2 ) ';
|
||||
execute stmt;
|
||||
a b
|
||||
execute stmt;
|
||||
a b
|
||||
deallocate prepare stmt;
|
||||
drop table t1,t2;
|
||||
#
|
||||
# MySQL Bug#13340270: assertion table->sort.record_pointers == __null
|
||||
#
|
||||
CREATE TABLE t1 (
|
||||
pk int NOT NULL,
|
||||
col_int_key int DEFAULT NULL,
|
||||
col_varchar_key varchar(1) DEFAULT NULL,
|
||||
col_varchar_nokey varchar(1) DEFAULT NULL,
|
||||
PRIMARY KEY (pk),
|
||||
KEY col_int_key (col_int_key),
|
||||
KEY col_varchar_key (col_varchar_key, col_int_key)
|
||||
) ENGINE=InnoDB;
|
||||
Warnings:
|
||||
Warning 1286 Unknown storage engine 'InnoDB'
|
||||
Warning 1266 Using storage engine MyISAM for table 't1'
|
||||
INSERT INTO t1 VALUES
|
||||
(10,8,'x','x'),
|
||||
(11,7,'d','d'),
|
||||
(12,1,'r','r'),
|
||||
(13,7,'f','f'),
|
||||
(14,9,'y','y'),
|
||||
(15,NULL,'u','u'),
|
||||
(16,1,'m','m'),
|
||||
(17,9,NULL,NULL),
|
||||
(18,2,'o','o'),
|
||||
(19,9,'w','w'),
|
||||
(20,2,'m','m'),
|
||||
(21,4,'q','q');
|
||||
CREATE TABLE t2
|
||||
SELECT alias1.col_varchar_nokey AS field1
|
||||
FROM t1 AS alias1 JOIN t1 AS alias2
|
||||
ON alias2.col_int_key = alias1.pk OR
|
||||
alias2.col_int_key = alias1.col_int_key
|
||||
WHERE alias1.pk = 58 OR alias1.col_varchar_key = 'o'
|
||||
|
||||
;
|
||||
EXPLAIN SELECT *
|
||||
FROM t2
|
||||
WHERE (field1) IN (SELECT alias1.col_varchar_nokey AS field1
|
||||
FROM t1 AS alias1 JOIN t1 AS alias2
|
||||
ON alias2.col_int_key = alias1.pk OR
|
||||
alias2.col_int_key = alias1.col_int_key
|
||||
WHERE alias1.pk = 58 OR alias1.col_varchar_key = 'o'
|
||||
);
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 PRIMARY t2 ALL NULL NULL NULL NULL 2
|
||||
1 PRIMARY alias1 index_merge PRIMARY,col_int_key,col_varchar_key PRIMARY,col_varchar_key 4,4 NULL 2 Using sort_union(PRIMARY,col_varchar_key); Using where
|
||||
1 PRIMARY alias2 ALL col_int_key NULL NULL NULL 12 Range checked for each record (index map: 0x2); FirstMatch(t2)
|
||||
SELECT *
|
||||
FROM t2
|
||||
WHERE (field1) IN (SELECT alias1.col_varchar_nokey AS field1
|
||||
FROM t1 AS alias1 JOIN t1 AS alias2
|
||||
ON alias2.col_int_key = alias1.pk OR
|
||||
alias2.col_int_key = alias1.col_int_key
|
||||
WHERE alias1.pk = 58 OR alias1.col_varchar_key = 'o'
|
||||
);
|
||||
field1
|
||||
o
|
||||
o
|
||||
DROP TABLE t1, t2;
|
||||
set optimizer_switch=@subselect_sj_tmp;
|
||||
#
|
||||
# BUG#49129: Wrong result with IN-subquery with join_cache_level=6 and firstmatch=off
|
||||
@ -2988,7 +3063,7 @@ EXPLAIN
|
||||
SELECT a FROM t1 t WHERE a IN (SELECT b FROM t1, t2 WHERE b = a)
|
||||
GROUP BY a HAVING a != 'z';
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 PRIMARY t index idx_a idx_a 4 NULL 3 Using index; Using temporary; Using filesort
|
||||
1 PRIMARY t index idx_a idx_a 4 NULL 3 Using index
|
||||
1 PRIMARY <subquery2> eq_ref distinct_key distinct_key 4 func 1
|
||||
2 MATERIALIZED t2 ALL NULL NULL NULL NULL 2 Using where
|
||||
2 MATERIALIZED t1 ref idx_a idx_a 4 test.t2.b 2 Using index
|
||||
@ -3002,7 +3077,7 @@ EXPLAIN
|
||||
SELECT a FROM t1 t WHERE a IN (SELECT b FROM t1, t2 WHERE b = a)
|
||||
GROUP BY a HAVING a != 'z';
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 PRIMARY t index idx_a idx_a 4 NULL 3 Using index; Using temporary; Using filesort
|
||||
1 PRIMARY t index idx_a idx_a 4 NULL 3 Using index
|
||||
1 PRIMARY <subquery2> eq_ref distinct_key distinct_key 4 func 1
|
||||
2 MATERIALIZED t2 ALL NULL NULL NULL NULL 2 Using where
|
||||
2 MATERIALIZED t1 ref idx_a idx_a 4 test.t2.b 2 Using index
|
||||
|
@ -103,5 +103,20 @@ sm
|
||||
10323810
|
||||
10325070
|
||||
10326330
|
||||
#
|
||||
# Bug mdev-4063: SUM(DISTINCT...) with small'max_heap_table_size
|
||||
# (bug #56927)
|
||||
#
|
||||
SET max_heap_table_size=default;
|
||||
INSERT INTO t1 SELECT id+16384 FROM t1;
|
||||
DELETE FROM t2;
|
||||
INSERT INTO t2 SELECT id FROM t1 ORDER BY id*rand();
|
||||
SELECT SUM(DISTINCT id) sm FROM t2;
|
||||
sm
|
||||
536887296
|
||||
SET max_heap_table_size=16384;
|
||||
SELECT SUM(DISTINCT id) sm FROM t2;
|
||||
sm
|
||||
536887296
|
||||
DROP TABLE t1;
|
||||
DROP TABLE t2;
|
||||
|
@ -389,6 +389,7 @@ select a from t1 where a=(select 2000 from dual where 1);
|
||||
a
|
||||
select a from t1 where a=y2k();
|
||||
a
|
||||
00
|
||||
select a from t1 where a=b;
|
||||
a
|
||||
drop table t1;
|
||||
|
@ -561,3 +561,45 @@ ERROR HY000: View 'test.v1' references invalid table(s) or column(s) or function
|
||||
DROP VIEW v1;
|
||||
DROP FUNCTION f1;
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# Verify that UPDATE does the same number of handler_update
|
||||
# operations, no matter if there is ORDER BY or not.
|
||||
#
|
||||
CREATE TABLE t1 (i INT) ENGINE=INNODB;
|
||||
INSERT INTO t1 VALUES (10),(11),(12),(13),(14),(15),(16),(17),(18),(19),
|
||||
(20),(21),(22),(23),(24),(25),(26),(27),(28),(29),
|
||||
(30),(31),(32),(33),(34),(35);
|
||||
CREATE TABLE t2 (a CHAR(2), b CHAR(2), c CHAR(2), d CHAR(2),
|
||||
INDEX idx (a,b(1),c)) ENGINE=INNODB;
|
||||
INSERT INTO t2 SELECT i, i, i, i FROM t1;
|
||||
FLUSH STATUS;
|
||||
START TRANSACTION;
|
||||
UPDATE t2 SET d = 10 WHERE b = 10 LIMIT 5;
|
||||
SHOW STATUS LIKE 'HANDLER_UPDATE';
|
||||
Variable_name Value
|
||||
Handler_update 1
|
||||
ROLLBACK;
|
||||
FLUSH STATUS;
|
||||
START TRANSACTION;
|
||||
UPDATE t2 SET d = 10 WHERE b = 10 ORDER BY a, c LIMIT 5;
|
||||
SHOW STATUS LIKE 'HANDLER_UPDATE';
|
||||
Variable_name Value
|
||||
Handler_update 1
|
||||
ROLLBACK;
|
||||
Same test with a different UPDATE.
|
||||
ALTER TABLE t2 DROP INDEX idx, ADD INDEX idx2 (a, b);
|
||||
FLUSH STATUS;
|
||||
START TRANSACTION;
|
||||
UPDATE t2 SET c = 10 LIMIT 5;
|
||||
SHOW STATUS LIKE 'HANDLER_UPDATE';
|
||||
Variable_name Value
|
||||
Handler_update 5
|
||||
ROLLBACK;
|
||||
FLUSH STATUS;
|
||||
START TRANSACTION;
|
||||
UPDATE t2 SET c = 10 ORDER BY a, b DESC LIMIT 5;
|
||||
SHOW STATUS LIKE 'HANDLER_UPDATE';
|
||||
Variable_name Value
|
||||
Handler_update 5
|
||||
ROLLBACK;
|
||||
DROP TABLE t1, t2;
|
||||
|
@ -4780,6 +4780,30 @@ id id bbb iddqd val1
|
||||
drop view v2;
|
||||
drop table t1,t2;
|
||||
#
|
||||
# MDEV-3914: Wrong result (NULLs instead of real values)
|
||||
# with INNER and RIGHT JOIN in a FROM subquery, derived_merge=on
|
||||
# (fix of above MDEV-486 fix)
|
||||
#
|
||||
SET @save_optimizer_switch_MDEV_3914=@@optimizer_switch;
|
||||
SET optimizer_switch = 'derived_merge=on';
|
||||
CREATE TABLE t1 (a INT) ENGINE=MyISAM;
|
||||
INSERT INTO t1 VALUES (1),(2);
|
||||
CREATE TABLE t2 (b INT) ENGINE=MyISAM;
|
||||
INSERT INTO t2 VALUES (3),(4);
|
||||
CREATE TABLE t3 (c INT) ENGINE=MyISAM;
|
||||
INSERT INTO t3 VALUES (5),(6);
|
||||
SELECT * FROM ( SELECT c FROM ( t1 INNER JOIN t2 ) RIGHT JOIN t3 ON a = c ) AS alias;
|
||||
c
|
||||
5
|
||||
6
|
||||
SET optimizer_switch = 'derived_merge=off';
|
||||
SELECT * FROM ( SELECT c FROM ( t1 INNER JOIN t2 ) RIGHT JOIN t3 ON a = c ) AS alias;
|
||||
c
|
||||
5
|
||||
6
|
||||
SET optimizer_switch=@save_optimizer_switch_MDEV_3914;
|
||||
drop table t1,t2,t3;
|
||||
#
|
||||
# MDEV-589 (LP BUG#1007647) :
|
||||
# Assertion `vcol_table == 0 || vcol_table == table' failed in
|
||||
# fill_record(THD*, List<Item>&, List<Item>&, bool)
|
||||
@ -4822,6 +4846,23 @@ f2 f1
|
||||
7 NULL
|
||||
8 NULL
|
||||
drop tables t1,t2;
|
||||
#
|
||||
# MDEV-3876 Wrong result (extra rows) with ALL subquery
|
||||
# from a MERGE view (duplicate of MDEV-3873)
|
||||
#
|
||||
CREATE TABLE t1 (a INT NOT NULL) ENGINE=MyISAM;
|
||||
INSERT INTO t1 VALUES (1),(2);
|
||||
CREATE TABLE t2 (b INT NOT NULL) ENGINE=MyISAM;
|
||||
INSERT INTO t2 VALUES (1),(3);
|
||||
CREATE OR REPLACE ALGORITHM=MERGE VIEW v1 AS SELECT * FROM t2;
|
||||
SELECT a FROM t1 AS alias
|
||||
WHERE a >= ALL (
|
||||
SELECT b FROM t1 LEFT JOIN v1 ON (a = b)
|
||||
WHERE a = alias.a );
|
||||
a
|
||||
1
|
||||
drop view v1;
|
||||
drop table t1,t2;
|
||||
# -----------------------------------------------------------------
|
||||
# -- End of 5.3 tests.
|
||||
# -----------------------------------------------------------------
|
||||
|
@ -58,7 +58,7 @@ Tables_in_db1
|
||||
t2
|
||||
show binlog events from <binlog_start>;
|
||||
Log_name Pos Event_type Server_id End_log_pos Info
|
||||
master-bin.000001 # Query # # use `db1`; drop table `t1`
|
||||
master-bin.000001 # Query # # use `db1`; DROP TABLE `t1`
|
||||
DROP TABLE t3;
|
||||
DROP DATABASE db1;
|
||||
set binlog_format=mixed;
|
||||
@ -121,7 +121,7 @@ Tables_in_db1
|
||||
t2
|
||||
show binlog events from <binlog_start>;
|
||||
Log_name Pos Event_type Server_id End_log_pos Info
|
||||
master-bin.000001 # Query # # use `db1`; drop table `t1`
|
||||
master-bin.000001 # Query # # use `db1`; DROP TABLE `t1`
|
||||
DROP TABLE t3;
|
||||
DROP DATABASE db1;
|
||||
set binlog_format=row;
|
||||
@ -185,7 +185,7 @@ Tables_in_db1
|
||||
t2
|
||||
show binlog events from <binlog_start>;
|
||||
Log_name Pos Event_type Server_id End_log_pos Info
|
||||
master-bin.000001 # Query # # use `db1`; drop table `t1`
|
||||
master-bin.000001 # Query # # use `db1`; DROP TABLE `t1`
|
||||
DROP TABLE t3;
|
||||
DROP DATABASE db1;
|
||||
show databases;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -2365,7 +2365,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=b'0' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'0000000000000000000000000000000000000000000000000000000000000000' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -2458,7 +2458,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=b'1' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'1111111111111111111111111111111111111111111111111111111111111111' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -2553,7 +2553,7 @@ BEGIN
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=NULL /* type=16 meta=1 nullable=1 is_null=1 */
|
||||
### @2=NULL /* type=16 meta=2048 nullable=1 is_null=1 */
|
||||
@ -2634,7 +2634,7 @@ BEGIN
|
||||
### @77=NULL /* TIMESTAMP meta=63233 nullable=1 is_null=1 */
|
||||
### @78=NULL /* TIMESTAMP meta=63489 nullable=1 is_null=1 */
|
||||
### @79=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=b'1' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'1111111111111111111111111111111111111111111111111111111111111111' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -2727,7 +2727,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=b'0' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'0000000000000000000000000000000000000000000000000000000000000000' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -2900,7 +2900,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=b'1' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'1111111111111111111111111111111111111111111111111111111111111111' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -3073,7 +3073,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=NULL /* type=16 meta=1 nullable=1 is_null=1 */
|
||||
### @2=NULL /* type=16 meta=2048 nullable=1 is_null=1 */
|
||||
@ -3246,7 +3246,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=b'1' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'1111111111111111111111111111111111111111111111111111111111111111' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -3419,7 +3419,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1=b'1' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'1111111111111111111111111111111111111111111111111111111111111111' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -3512,7 +3512,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1=b'0' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'0000000000000000000000000000000000000000000000000000000000000000' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -3605,7 +3605,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1=b'1' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'1111111111111111111111111111111111111111111111111111111111111111' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -3698,7 +3698,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1=NULL /* type=16 meta=1 nullable=1 is_null=1 */
|
||||
### @2=NULL /* type=16 meta=2048 nullable=1 is_null=1 */
|
||||
@ -3905,47 +3905,47 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:01' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-04' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-05' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-06' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-07' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:08' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-08' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=8 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:09' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-09' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -3962,7 +3962,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:01' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -3971,7 +3971,7 @@ BEGIN
|
||||
### @1='2008:08:11' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -3980,7 +3980,7 @@ BEGIN
|
||||
### @1='2008:08:12' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -3989,7 +3989,7 @@ BEGIN
|
||||
### @1='2008:08:13' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-04' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -3998,7 +3998,7 @@ BEGIN
|
||||
### @1='2008:08:14' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-04' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-05' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -4007,7 +4007,7 @@ BEGIN
|
||||
### @1='2008:08:15' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-05' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-06' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -4016,7 +4016,7 @@ BEGIN
|
||||
### @1='2008:08:16' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-06' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-07' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -4037,37 +4037,37 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:11' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:12' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:13' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:14' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-04' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:15' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-05' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:16' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-06' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:17' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-07' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -4292,47 +4292,47 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:01' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-01' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=11 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:08' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-08' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=18 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:09' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-09' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4349,47 +4349,47 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:01' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-01' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=21 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:08' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-08' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=28 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:09' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-09' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4406,47 +4406,47 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t3` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:01' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-01' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=31 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:08' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-08' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=38 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:09' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-09' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4471,7 +4471,7 @@ BEGIN
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:01:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4480,7 +4480,7 @@ BEGIN
|
||||
### @1='2018:01:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:01:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4489,7 +4489,7 @@ BEGIN
|
||||
### @1='2018:01:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:01:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4498,7 +4498,7 @@ BEGIN
|
||||
### @1='2018:01:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:01:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4507,7 +4507,7 @@ BEGIN
|
||||
### @1='2018:01:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:01:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4516,7 +4516,7 @@ BEGIN
|
||||
### @1='2018:01:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:01:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4525,7 +4525,7 @@ BEGIN
|
||||
### @1='2018:01:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2008:02:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4534,7 +4534,7 @@ BEGIN
|
||||
### @1='2028:02:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2008:02:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4543,7 +4543,7 @@ BEGIN
|
||||
### @1='2028:02:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2008:02:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4552,7 +4552,7 @@ BEGIN
|
||||
### @1='2028:02:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2008:02:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4561,7 +4561,7 @@ BEGIN
|
||||
### @1='2028:02:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2008:02:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4570,7 +4570,7 @@ BEGIN
|
||||
### @1='2028:02:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2008:02:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4579,7 +4579,7 @@ BEGIN
|
||||
### @1='2028:02:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t3
|
||||
### UPDATE `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2008:03:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4588,7 +4588,7 @@ BEGIN
|
||||
### @1='2038:03:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t3
|
||||
### UPDATE `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2008:03:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4597,7 +4597,7 @@ BEGIN
|
||||
### @1='2038:03:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t3
|
||||
### UPDATE `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2008:03:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4606,7 +4606,7 @@ BEGIN
|
||||
### @1='2038:03:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t3
|
||||
### UPDATE `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2008:03:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4615,7 +4615,7 @@ BEGIN
|
||||
### @1='2038:03:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t3
|
||||
### UPDATE `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2008:03:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4624,7 +4624,7 @@ BEGIN
|
||||
### @1='2038:03:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t3
|
||||
### UPDATE `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2008:03:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4653,92 +4653,92 @@ BEGIN
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2018:01:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2018:01:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2018:01:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2018:01:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2018:01:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2018:01:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2028:02:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2028:02:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2028:02:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2028:02:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2028:02:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2028:02:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t3
|
||||
### DELETE FROM `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2038:03:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t3
|
||||
### DELETE FROM `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2038:03:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t3
|
||||
### DELETE FROM `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2038:03:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t3
|
||||
### DELETE FROM `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2038:03:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t3
|
||||
### DELETE FROM `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2038:03:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t3
|
||||
### DELETE FROM `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2038:03:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4837,17 +4837,17 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @3='Wow' /* VARSTRING(60) meta=60 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @3='Wow' /* VARSTRING(60) meta=60 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=6 /* INT meta=0 nullable=1 is_null=0 */
|
@ -2365,7 +2365,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=b'0' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'0000000000000000000000000000000000000000000000000000000000000000' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -2460,7 +2460,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=b'1' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'1111111111111111111111111111111111111111111111111111111111111111' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -2557,7 +2557,7 @@ BEGIN
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=NULL /* type=16 meta=1 nullable=1 is_null=1 */
|
||||
### @2=NULL /* type=16 meta=2048 nullable=1 is_null=1 */
|
||||
@ -2638,7 +2638,7 @@ BEGIN
|
||||
### @77=NULL /* TIMESTAMP meta=63233 nullable=1 is_null=1 */
|
||||
### @78=NULL /* TIMESTAMP meta=63489 nullable=1 is_null=1 */
|
||||
### @79=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=b'1' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'1111111111111111111111111111111111111111111111111111111111111111' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -2733,7 +2733,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=b'0' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'0000000000000000000000000000000000000000000000000000000000000000' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -2908,7 +2908,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=b'1' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'1111111111111111111111111111111111111111111111111111111111111111' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -3083,7 +3083,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=NULL /* type=16 meta=1 nullable=1 is_null=1 */
|
||||
### @2=NULL /* type=16 meta=2048 nullable=1 is_null=1 */
|
||||
@ -3258,7 +3258,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=b'1' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'1111111111111111111111111111111111111111111111111111111111111111' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -3433,7 +3433,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1=b'1' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'1111111111111111111111111111111111111111111111111111111111111111' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -3528,7 +3528,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1=b'0' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'0000000000000000000000000000000000000000000000000000000000000000' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -3623,7 +3623,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1=b'1' /* BIT(1) meta=1 nullable=1 is_null=0 */
|
||||
### @2=b'1111111111111111111111111111111111111111111111111111111111111111' /* BIT(64) meta=2048 nullable=1 is_null=0 */
|
||||
@ -3718,7 +3718,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1=NULL /* type=16 meta=1 nullable=1 is_null=1 */
|
||||
### @2=NULL /* type=16 meta=2048 nullable=1 is_null=1 */
|
||||
@ -3927,47 +3927,47 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:01' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-04' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-05' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-06' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-07' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:08' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-08' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=8 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:08:09' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-09' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -3986,7 +3986,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:01' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -3995,7 +3995,7 @@ BEGIN
|
||||
### @1='2008:08:11' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -4004,7 +4004,7 @@ BEGIN
|
||||
### @1='2008:08:12' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -4013,7 +4013,7 @@ BEGIN
|
||||
### @1='2008:08:13' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-04' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -4022,7 +4022,7 @@ BEGIN
|
||||
### @1='2008:08:14' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-04' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-05' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -4031,7 +4031,7 @@ BEGIN
|
||||
### @1='2008:08:15' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-05' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-06' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -4040,7 +4040,7 @@ BEGIN
|
||||
### @1='2008:08:16' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-06' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-07' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -4063,37 +4063,37 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:11' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:12' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:13' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:14' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-04' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:15' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-05' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:16' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-06' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:08:17' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-07' /* VARSTRING(24) meta=24 nullable=1 is_null=0 */
|
||||
@ -4320,47 +4320,47 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:01' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-01' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=11 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:08' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-08' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=18 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1='2008:01:09' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-09' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4379,47 +4379,47 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:01' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-01' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=21 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:08' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-08' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=28 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1='2008:02:09' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-09' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4438,47 +4438,47 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t3` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:01' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-01' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=31 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:08' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-08' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=38 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t3
|
||||
### INSERT INTO `test`.`t3`
|
||||
### SET
|
||||
### @1='2008:03:09' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-09' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4505,7 +4505,7 @@ BEGIN
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:01:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4514,7 +4514,7 @@ BEGIN
|
||||
### @1='2018:01:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:01:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4523,7 +4523,7 @@ BEGIN
|
||||
### @1='2018:01:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:01:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4532,7 +4532,7 @@ BEGIN
|
||||
### @1='2018:01:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:01:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4541,7 +4541,7 @@ BEGIN
|
||||
### @1='2018:01:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:01:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4550,7 +4550,7 @@ BEGIN
|
||||
### @1='2018:01:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2008:01:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4559,7 +4559,7 @@ BEGIN
|
||||
### @1='2018:01:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2008:02:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4568,7 +4568,7 @@ BEGIN
|
||||
### @1='2028:02:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2008:02:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4577,7 +4577,7 @@ BEGIN
|
||||
### @1='2028:02:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2008:02:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4586,7 +4586,7 @@ BEGIN
|
||||
### @1='2028:02:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2008:02:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4595,7 +4595,7 @@ BEGIN
|
||||
### @1='2028:02:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2008:02:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4604,7 +4604,7 @@ BEGIN
|
||||
### @1='2028:02:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2008:02:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4613,7 +4613,7 @@ BEGIN
|
||||
### @1='2028:02:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t3
|
||||
### UPDATE `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2008:03:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4622,7 +4622,7 @@ BEGIN
|
||||
### @1='2038:03:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t3
|
||||
### UPDATE `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2008:03:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4631,7 +4631,7 @@ BEGIN
|
||||
### @1='2038:03:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t3
|
||||
### UPDATE `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2008:03:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4640,7 +4640,7 @@ BEGIN
|
||||
### @1='2038:03:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t3
|
||||
### UPDATE `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2008:03:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4649,7 +4649,7 @@ BEGIN
|
||||
### @1='2038:03:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t3
|
||||
### UPDATE `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2008:03:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4658,7 +4658,7 @@ BEGIN
|
||||
### @1='2038:03:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### UPDATE test.t3
|
||||
### UPDATE `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2008:03:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4689,92 +4689,92 @@ BEGIN
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2018:01:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2018:01:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2018:01:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2018:01:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2018:01:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1='2018:01:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-01-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2028:02:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2028:02:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2028:02:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2028:02:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2028:02:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1='2028:02:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-02-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=7 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t3
|
||||
### DELETE FROM `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2038:03:02' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-02' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t3
|
||||
### DELETE FROM `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2038:03:03' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-03' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t3
|
||||
### DELETE FROM `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2038:03:04' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-04' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t3
|
||||
### DELETE FROM `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2038:03:05' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-05' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t3
|
||||
### DELETE FROM `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2038:03:06' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-06' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
### @3=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test.t3
|
||||
### DELETE FROM `test`.`t3`
|
||||
### WHERE
|
||||
### @1='2038:03:07' /* DATE meta=0 nullable=1 is_null=0 */
|
||||
### @2='VARCHAR-03-07' /* VARSTRING(255) meta=255 nullable=1 is_null=0 */
|
||||
@ -4875,17 +4875,17 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @3='Wow' /* VARSTRING(60) meta=60 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @3='Wow' /* VARSTRING(60) meta=60 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=6 /* INT meta=0 nullable=1 is_null=0 */
|
@ -166,15 +166,15 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-1' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-3' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
@ -182,21 +182,21 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-1' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### SET
|
||||
### @1=11 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-1' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### SET
|
||||
### @1=12 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-3' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
@ -207,7 +207,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1=12 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
@ -233,15 +233,15 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-1' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-3' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
@ -259,21 +259,21 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-1' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### SET
|
||||
### @1=11 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-1' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### SET
|
||||
### @1=12 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-3' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
@ -294,7 +294,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1=12 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
@ -312,15 +312,15 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-1' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t1
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-3' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
@ -328,21 +328,21 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-1' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### SET
|
||||
### @1=11 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-1' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### SET
|
||||
### @1=12 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### UPDATE test.t1
|
||||
### UPDATE `test`.`t1`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-3' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
@ -353,7 +353,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t1
|
||||
### DELETE FROM `test`.`t1`
|
||||
### WHERE
|
||||
### @1=12 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
@ -379,15 +379,15 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-1' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### INSERT INTO test.t2
|
||||
### INSERT INTO `test`.`t2`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-3' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
@ -405,21 +405,21 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Update_rows: table id # flags: STMT_END_F
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-1' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### SET
|
||||
### @1=11 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-1' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### SET
|
||||
### @1=12 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
### UPDATE test.t2
|
||||
### UPDATE `test`.`t2`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-3' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
||||
@ -440,7 +440,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Table_map: `test`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id 1 end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test.t2
|
||||
### DELETE FROM `test`.`t2`
|
||||
### WHERE
|
||||
### @1=12 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2='varchar-2' /* VARSTRING(20) meta=20 nullable=1 is_null=0 */
|
@ -116,13 +116,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -142,13 +142,13 @@ BEGIN
|
||||
#Q> INSERT INTO test2.t2 VALUES (1), (2), (3)
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -168,13 +168,13 @@ BEGIN
|
||||
#Q> INSERT INTO test3.t3 VALUES (1), (2), (3)
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test3`.`t3` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test3.t3
|
||||
### INSERT INTO `test3`.`t3`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test3.t3
|
||||
### INSERT INTO `test3`.`t3`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test3.t3
|
||||
### INSERT INTO `test3`.`t3`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -200,22 +200,22 @@ BEGIN
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -235,13 +235,13 @@ BEGIN
|
||||
#Q> INSERT INTO test2.v2 VALUES (1), (2), (3)
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -263,13 +263,13 @@ BEGIN
|
||||
#Q> WHERE xtest1.xt1.a=test2.t2.a AND test2.t2.a=test3.t3
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -328,13 +328,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -384,13 +384,13 @@ BEGIN
|
||||
#Q> WHERE test1.t1.a=test2.t2.a AND test2.t2.a=test3.t3
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id #
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -490,13 +490,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -514,13 +514,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -538,13 +538,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test3`.`t3` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test3.t3
|
||||
### INSERT INTO `test3`.`t3`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test3.t3
|
||||
### INSERT INTO `test3`.`t3`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test3.t3
|
||||
### INSERT INTO `test3`.`t3`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -566,22 +566,22 @@ BEGIN
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -599,13 +599,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -623,13 +623,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -708,13 +708,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -734,13 +734,13 @@ BEGIN
|
||||
#Q> INSERT INTO test2.t2 VALUES (1), (2), (3)
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -760,13 +760,13 @@ BEGIN
|
||||
#Q> INSERT INTO test3.t3 VALUES (1), (2), (3)
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test3`.`t3` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test3.t3
|
||||
### INSERT INTO `test3`.`t3`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test3.t3
|
||||
### INSERT INTO `test3`.`t3`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test3.t3
|
||||
### INSERT INTO `test3`.`t3`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -792,22 +792,22 @@ BEGIN
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -827,13 +827,13 @@ BEGIN
|
||||
#Q> INSERT INTO test2.v2 VALUES (1), (2), (3)
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -855,13 +855,13 @@ BEGIN
|
||||
#Q> WHERE xtest1.xt1.a=test2.t2.a AND test2.t2.a=test3.t3
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -920,13 +920,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -976,13 +976,13 @@ BEGIN
|
||||
#Q> WHERE test1.t1.a=test2.t2.a AND test2.t2.a=test3.t3
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id #
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -1082,13 +1082,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test1.t1
|
||||
### INSERT INTO `test1`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -1105,13 +1105,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -1128,13 +1128,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test3`.`t3` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test3.t3
|
||||
### INSERT INTO `test3`.`t3`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test3.t3
|
||||
### INSERT INTO `test3`.`t3`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test3.t3
|
||||
### INSERT INTO `test3`.`t3`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -1155,22 +1155,22 @@ BEGIN
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test1.t1
|
||||
### DELETE FROM `test1`.`t1`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -1187,13 +1187,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -1210,13 +1210,13 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### DELETE FROM test2.t2
|
||||
### DELETE FROM `test2`.`t2`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
|
@ -59,11 +59,11 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `new_test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
@ -87,10 +87,10 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -107,7 +107,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `new_test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM new_test1.t1
|
||||
### DELETE FROM `new_test1`.`t1`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
@ -131,10 +131,10 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `new_test3`.`t3` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO new_test3.t3
|
||||
### INSERT INTO `new_test3`.`t3`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO new_test3.t3
|
||||
### INSERT INTO `new_test3`.`t3`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -151,7 +151,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `new_test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
@ -169,23 +169,23 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `new_test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
@ -203,7 +203,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `new_test3`.`t3` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM new_test3.t3
|
||||
### DELETE FROM `new_test3`.`t3`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -255,11 +255,11 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `new_test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
@ -283,10 +283,10 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO test2.t2
|
||||
### INSERT INTO `test2`.`t2`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -303,7 +303,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `new_test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM new_test1.t1
|
||||
### DELETE FROM `new_test1`.`t1`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
@ -327,10 +327,10 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `new_test3`.`t3` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO new_test3.t3
|
||||
### INSERT INTO `new_test3`.`t3`
|
||||
### SET
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO new_test3.t3
|
||||
### INSERT INTO `new_test3`.`t3`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
@ -347,7 +347,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `new_test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
@ -365,23 +365,23 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `new_test1`.`t1` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Write_rows: table id # flags: STMT_END_F
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=2 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=3 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=4 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=5 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### INSERT INTO new_test1.t1
|
||||
### INSERT INTO `new_test1`.`t1`
|
||||
### SET
|
||||
### @1=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
### @2=6 /* INT meta=0 nullable=1 is_null=0 */
|
||||
@ -399,7 +399,7 @@ BEGIN
|
||||
# at #
|
||||
#010909 4:46:40 server id # end_log_pos # Table_map: `new_test3`.`t3` mapped to number #
|
||||
#010909 4:46:40 server id # end_log_pos # Delete_rows: table id # flags: STMT_END_F
|
||||
### DELETE FROM new_test3.t3
|
||||
### DELETE FROM `new_test3`.`t3`
|
||||
### WHERE
|
||||
### @1=1 /* INT meta=0 nullable=1 is_null=0 */
|
||||
# at #
|
||||
|
@ -1,152 +1,152 @@
|
||||
Verbose statements from : write-partial-row.binlog
|
||||
select replace(txt,'\r', '') as stmt from raw_binlog_rows where txt like '###%';
|
||||
stmt
|
||||
### INSERT INTO mysql.ndb_apply_status
|
||||
### INSERT INTO `mysql`.`ndb_apply_status`
|
||||
### SET
|
||||
### @1=1
|
||||
### @2=25769803786
|
||||
### @3=''
|
||||
### @4=0
|
||||
### @5=0
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=3
|
||||
### @2=3
|
||||
### @3=3
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=1
|
||||
### @2=1
|
||||
### @3=1
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=2
|
||||
### @2=2
|
||||
### @3=2
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=4
|
||||
### @2=4
|
||||
### @3=4
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=4
|
||||
### @3=40
|
||||
### DELETE FROM test.ba
|
||||
### DELETE FROM `test`.`ba`
|
||||
### WHERE
|
||||
### @1=2
|
||||
drop table raw_binlog_rows;
|
||||
Verbose statements from : write-full-row.binlog
|
||||
select replace(txt,'\r', '') as stmt from raw_binlog_rows where txt like '###%';
|
||||
stmt
|
||||
### INSERT INTO mysql.ndb_apply_status
|
||||
### INSERT INTO `mysql`.`ndb_apply_status`
|
||||
### SET
|
||||
### @1=2
|
||||
### @2=25769803786
|
||||
### @3=''
|
||||
### @4=0
|
||||
### @5=0
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=3
|
||||
### @2=3
|
||||
### @3=3
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=1
|
||||
### @2=1
|
||||
### @3=1
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=2
|
||||
### @2=2
|
||||
### @3=2
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=4
|
||||
### @2=4
|
||||
### @3=4
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=4
|
||||
### @2=4
|
||||
### @3=40
|
||||
### DELETE FROM test.ba
|
||||
### DELETE FROM `test`.`ba`
|
||||
### WHERE
|
||||
### @1=2
|
||||
drop table raw_binlog_rows;
|
||||
Verbose statements from : update-partial-row.binlog
|
||||
select replace(txt,'\r', '') as stmt from raw_binlog_rows where txt like '###%';
|
||||
stmt
|
||||
### INSERT INTO mysql.ndb_apply_status
|
||||
### INSERT INTO `mysql`.`ndb_apply_status`
|
||||
### SET
|
||||
### @1=3
|
||||
### @2=25769803786
|
||||
### @3=''
|
||||
### @4=0
|
||||
### @5=0
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=3
|
||||
### @2=3
|
||||
### @3=3
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=1
|
||||
### @2=1
|
||||
### @3=1
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=2
|
||||
### @2=2
|
||||
### @3=2
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=4
|
||||
### @2=4
|
||||
### @3=4
|
||||
### UPDATE test.ba
|
||||
### UPDATE `test`.`ba`
|
||||
### WHERE
|
||||
### @1=4
|
||||
### @3=4
|
||||
### SET
|
||||
### @1=4
|
||||
### @3=40
|
||||
### DELETE FROM test.ba
|
||||
### DELETE FROM `test`.`ba`
|
||||
### WHERE
|
||||
### @1=2
|
||||
drop table raw_binlog_rows;
|
||||
Verbose statements from : update-full-row.binlog
|
||||
select replace(txt,'\r', '') as stmt from raw_binlog_rows where txt like '###%';
|
||||
stmt
|
||||
### INSERT INTO mysql.ndb_apply_status
|
||||
### INSERT INTO `mysql`.`ndb_apply_status`
|
||||
### SET
|
||||
### @1=4
|
||||
### @2=25769803786
|
||||
### @3=''
|
||||
### @4=0
|
||||
### @5=0
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=3
|
||||
### @2=3
|
||||
### @3=3
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=1
|
||||
### @2=1
|
||||
### @3=1
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=2
|
||||
### @2=2
|
||||
### @3=2
|
||||
### INSERT INTO test.ba
|
||||
### INSERT INTO `test`.`ba`
|
||||
### SET
|
||||
### @1=4
|
||||
### @2=4
|
||||
### @3=4
|
||||
### UPDATE test.ba
|
||||
### UPDATE `test`.`ba`
|
||||
### WHERE
|
||||
### @1=4
|
||||
### @2=4
|
||||
@ -155,7 +155,7 @@ stmt
|
||||
### @1=4
|
||||
### @2=4
|
||||
### @3=40
|
||||
### DELETE FROM test.ba
|
||||
### DELETE FROM `test`.`ba`
|
||||
### WHERE
|
||||
### @1=2
|
||||
drop table raw_binlog_rows;
|
||||
|
@ -20,5 +20,5 @@ let $engine_type=InnoDB;
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/have_ucs2.inc
|
||||
|
||||
--source include/mysqlbinlog_row_engine.inc
|
||||
--source extra/binlog_tests/mysqlbinlog_row_engine.inc
|
||||
|
@ -20,4 +20,4 @@ let $engine_type=MyISAM;
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/have_ucs2.inc
|
||||
|
||||
--source include/mysqlbinlog_row_engine.inc
|
||||
--source extra/binlog_tests/mysqlbinlog_row_engine.inc
|
@ -13,7 +13,7 @@ INSERT INTO t1(k) VALUES (1), (2), (3) ON DUPLICATE KEY UPDATE c='1';
|
||||
#
|
||||
# Connection 2
|
||||
#
|
||||
SET DEBUG_SYNC='start_ha_write_row WAIT_FOR continue2';
|
||||
SET DEBUG_SYNC='ha_write_row_start WAIT_FOR continue2';
|
||||
affected rows: 0
|
||||
SET DEBUG_SYNC='after_mysql_insert SIGNAL continue1';
|
||||
affected rows: 0
|
||||
|
@ -6,8 +6,8 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
|
||||
master-bin.000001 421
|
||||
SHOW STATUS LIKE 'binlog_snapshot_%';
|
||||
Variable_name Value
|
||||
binlog_snapshot_file master-bin.000001
|
||||
binlog_snapshot_position 421
|
||||
Binlog_snapshot_file master-bin.000001
|
||||
Binlog_snapshot_position 421
|
||||
BEGIN;
|
||||
INSERT INTO t1 VALUES (0, "");
|
||||
# Connection con1
|
||||
@ -37,8 +37,8 @@ a b
|
||||
0
|
||||
SHOW STATUS LIKE 'binlog_snapshot_%';
|
||||
Variable_name Value
|
||||
binlog_snapshot_file master-bin.000001
|
||||
binlog_snapshot_position 945
|
||||
Binlog_snapshot_file master-bin.000001
|
||||
Binlog_snapshot_position 945
|
||||
SHOW MASTER STATUS;
|
||||
File Position Binlog_Do_DB Binlog_Ignore_DB
|
||||
master-bin.000001 1357
|
||||
@ -59,16 +59,16 @@ a b
|
||||
0
|
||||
SHOW STATUS LIKE 'binlog_snapshot_%';
|
||||
Variable_name Value
|
||||
binlog_snapshot_file master-bin.000001
|
||||
binlog_snapshot_position 945
|
||||
Binlog_snapshot_file master-bin.000001
|
||||
Binlog_snapshot_position 945
|
||||
SHOW MASTER STATUS;
|
||||
File Position Binlog_Do_DB Binlog_Ignore_DB
|
||||
master-bin.000002 326
|
||||
COMMIT;
|
||||
SHOW STATUS LIKE 'binlog_snapshot_%';
|
||||
Variable_name Value
|
||||
binlog_snapshot_file master-bin.000002
|
||||
binlog_snapshot_position 326
|
||||
Binlog_snapshot_file master-bin.000002
|
||||
Binlog_snapshot_position 326
|
||||
SHOW MASTER STATUS;
|
||||
File Position Binlog_Do_DB Binlog_Ignore_DB
|
||||
master-bin.000002 326
|
||||
|
@ -1269,3 +1269,43 @@ SELECT * FROM t1;
|
||||
c1 c2
|
||||
1 NULL
|
||||
DROP TABLE t1;
|
||||
SET @@SESSION.AUTO_INCREMENT_INCREMENT=1, @@SESSION.AUTO_INCREMENT_OFFSET=1;
|
||||
SHOW VARIABLES LIKE "%auto_inc%";
|
||||
Variable_name Value
|
||||
auto_increment_increment 1
|
||||
auto_increment_offset 1
|
||||
CREATE TABLE t1 (c1 INT UNSIGNED PRIMARY KEY AUTO_INCREMENT, c2 VARCHAR(10)) ENGINE=InnoDB;
|
||||
INSERT INTO t1 VALUES (2147483648, 'a');
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`c2` varchar(10) DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2147483649 DEFAULT CHARSET=latin1
|
||||
SELECT * FROM t1;
|
||||
c1 c2
|
||||
2147483648 a
|
||||
ALTER TABLE t1 CHANGE c1 c1 INT;
|
||||
Warnings:
|
||||
Warning 1264 Out of range value for column 'c1' at row 1
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` int(11) NOT NULL DEFAULT '0',
|
||||
`c2` varchar(10) DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
INSERT INTO t1(c2) VALUES('b');
|
||||
SELECT * FROM t1;
|
||||
c1 c2
|
||||
0 b
|
||||
2147483647 a
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`c1` int(11) NOT NULL DEFAULT '0',
|
||||
`c2` varchar(10) DEFAULT NULL,
|
||||
PRIMARY KEY (`c1`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
DROP TABLE t1;
|
||||
|
@ -126,12 +126,12 @@ CREATE TABLE t1(
|
||||
c TEXT NOT NULL, d TEXT NOT NULL,
|
||||
PRIMARY KEY (c(767),d(767)))
|
||||
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
|
||||
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
|
||||
ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
|
||||
CREATE TABLE t1(
|
||||
c TEXT NOT NULL, d TEXT NOT NULL,
|
||||
PRIMARY KEY (c(767),d(767)))
|
||||
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=2 CHARSET=ASCII;
|
||||
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
|
||||
ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
|
||||
CREATE TABLE t1(
|
||||
c TEXT NOT NULL, d TEXT NOT NULL,
|
||||
PRIMARY KEY (c(767),d(767)))
|
||||
@ -139,7 +139,7 @@ ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=4 CHARSET=ASCII;
|
||||
drop table t1;
|
||||
CREATE TABLE t1(c TEXT, PRIMARY KEY (c(440)))
|
||||
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
|
||||
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
|
||||
ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
|
||||
CREATE TABLE t1(c TEXT, PRIMARY KEY (c(438)))
|
||||
ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 CHARSET=ASCII;
|
||||
INSERT INTO t1 VALUES(REPEAT('A',512)),(REPEAT('B',512));
|
||||
|
@ -3026,7 +3026,7 @@ c21 CHAR(255), c22 CHAR(255), c23 CHAR(255), c24 CHAR(255),
|
||||
c25 CHAR(255), c26 CHAR(255), c27 CHAR(255), c28 CHAR(255),
|
||||
c29 CHAR(255), c30 CHAR(255), c31 CHAR(255), c32 CHAR(255)
|
||||
) ENGINE = InnoDB;
|
||||
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
|
||||
ERROR 42000: Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.
|
||||
DROP TABLE IF EXISTS t1;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 't1'
|
||||
|
53
mysql-test/suite/innodb/r/innodb_bug14704286.result
Normal file
53
mysql-test/suite/innodb/r/innodb_bug14704286.result
Normal file
@ -0,0 +1,53 @@
|
||||
use test;
|
||||
drop table if exists t1;
|
||||
create table t1 (id int primary key, value int, value2 int,
|
||||
value3 int, index(value,value2)) engine=innodb;
|
||||
insert into t1 values
|
||||
(10,10,10,10),(11,11,11,11),(12,12,12,12),(13,13,13,13),(14,14,14,14),
|
||||
(15,15,15,15),(16,16,16,16),(17,17,17,17),(18,18,18,18),(19,19,19,19),
|
||||
(20,20,20,20);
|
||||
use test;
|
||||
start transaction with consistent snapshot;
|
||||
use test;
|
||||
CREATE PROCEDURE update_t1()
|
||||
BEGIN
|
||||
DECLARE i INT DEFAULT 1;
|
||||
while (i <= 5000) DO
|
||||
update test.t1 set value2=value2+1, value3=value3+1 where id=12;
|
||||
SET i = i + 1;
|
||||
END WHILE;
|
||||
END|
|
||||
set autocommit=0;
|
||||
CALL update_t1();
|
||||
select * from t1;
|
||||
id value value2 value3
|
||||
10 10 10 10
|
||||
11 11 11 11
|
||||
12 12 5012 5012
|
||||
13 13 13 13
|
||||
14 14 14 14
|
||||
15 15 15 15
|
||||
16 16 16 16
|
||||
17 17 17 17
|
||||
18 18 18 18
|
||||
19 19 19 19
|
||||
20 20 20 20
|
||||
set autocommit=1;
|
||||
select * from t1;
|
||||
id value value2 value3
|
||||
10 10 10 10
|
||||
11 11 11 11
|
||||
12 12 5012 5012
|
||||
13 13 13 13
|
||||
14 14 14 14
|
||||
15 15 15 15
|
||||
16 16 16 16
|
||||
17 17 17 17
|
||||
18 18 18 18
|
||||
19 19 19 19
|
||||
20 20 20 20
|
||||
select * from t1 force index(value) where value=12;
|
||||
kill query @id;
|
||||
ERROR 70100: Query execution was interrupted
|
||||
drop procedure if exists update_t1;
|
||||
drop table if exists t1;
|
@ -8,7 +8,7 @@ ERROR HY000: Too big row
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Error 139 Too big row
|
||||
Error 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
|
||||
Error 1118 Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
|
||||
DROP TABLE bug53591;
|
||||
SET GLOBAL innodb_file_format=Antelope;
|
||||
SET GLOBAL innodb_file_per_table=0;
|
||||
|
0
mysql-test/suite/innodb/r/innodb_bug60196.result
Executable file → Normal file
0
mysql-test/suite/innodb/r/innodb_bug60196.result
Executable file → Normal file
@ -649,7 +649,7 @@ CREATE TABLE worklog5743 (col_1_varchar VARCHAR (4000) CHARACTER SET 'utf8',
|
||||
col_2_varchar VARCHAR (4000) CHARACTER SET 'utf8' ,
|
||||
PRIMARY KEY (col_1_varchar(1024))
|
||||
) ROW_FORMAT=DYNAMIC, engine = innodb;
|
||||
ERROR 42000: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
|
||||
ERROR 42000: Row size too large (> max_row_size). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
|
||||
CREATE TABLE worklog5743 (
|
||||
col_1_varbinary VARBINARY (4000) ,
|
||||
col_2_varchar VARCHAR (4000) CHARACTER SET 'utf8',
|
||||
|
@ -33,7 +33,7 @@ SET DEBUG_SYNC='ha_write_row_end SIGNAL continue2 WAIT_FOR continue1';
|
||||
--echo #
|
||||
--echo # Connection 2
|
||||
--echo #
|
||||
SET DEBUG_SYNC='start_ha_write_row WAIT_FOR continue2';
|
||||
SET DEBUG_SYNC='ha_write_row_start WAIT_FOR continue2';
|
||||
SET DEBUG_SYNC='after_mysql_insert SIGNAL continue1';
|
||||
INSERT INTO t1(k) VALUES (2), (4), (5) ON DUPLICATE KEY UPDATE c='2';
|
||||
|
||||
|
@ -139,7 +139,7 @@ DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1 (c1 INT AUTO_INCREMENT, c2 INT, PRIMARY KEY(c1)) ENGINE=InnoDB;
|
||||
INSERT INTO t1 VALUES (NULL, 1);
|
||||
DELETE FROM t1 WHERE c1 = 1;
|
||||
INSERT INTO t1 VALUES (2,1);
|
||||
INSERT INTO t1 VALUES (2,1);
|
||||
INSERT INTO t1 VALUES (NULL,8);
|
||||
SELECT * FROM t1;
|
||||
DROP TABLE t1;
|
||||
@ -639,7 +639,7 @@ SHOW CREATE TABLE t1;
|
||||
DROP TABLE t1;
|
||||
|
||||
|
||||
# Check if we handl offset > column max value properly
|
||||
# Check if we handle offset > column max value properly
|
||||
SET @@SESSION.AUTO_INCREMENT_INCREMENT=1, @@SESSION.AUTO_INCREMENT_OFFSET=256;
|
||||
SHOW VARIABLES LIKE "%auto_inc%";
|
||||
# TINYINT
|
||||
@ -648,3 +648,21 @@ INSERT INTO t1 VALUES (1, NULL);
|
||||
SHOW CREATE TABLE t1;
|
||||
SELECT * FROM t1;
|
||||
DROP TABLE t1;
|
||||
|
||||
# Check if we handle the case where a current value is greater than the max
|
||||
# of the column. IMO, this should not be allowed and the assertion that fails
|
||||
# is actually an invariant.
|
||||
SET @@SESSION.AUTO_INCREMENT_INCREMENT=1, @@SESSION.AUTO_INCREMENT_OFFSET=1;
|
||||
SHOW VARIABLES LIKE "%auto_inc%";
|
||||
# TINYINT
|
||||
CREATE TABLE t1 (c1 INT UNSIGNED PRIMARY KEY AUTO_INCREMENT, c2 VARCHAR(10)) ENGINE=InnoDB;
|
||||
INSERT INTO t1 VALUES (2147483648, 'a');
|
||||
SHOW CREATE TABLE t1;
|
||||
SELECT * FROM t1;
|
||||
ALTER TABLE t1 CHANGE c1 c1 INT;
|
||||
SHOW CREATE TABLE t1;
|
||||
INSERT INTO t1(c2) VALUES('b');
|
||||
SELECT * FROM t1;
|
||||
SHOW CREATE TABLE t1;
|
||||
DROP TABLE t1;
|
||||
|
||||
|
@ -1,5 +1,10 @@
|
||||
-- source include/have_innodb.inc
|
||||
|
||||
if (`select plugin_auth_version <= "1.1.8-29.3" from information_schema.plugins where plugin_name='innodb'`)
|
||||
{
|
||||
--skip Not fixed in XtraDB 1.1.8-29.3 or earlier
|
||||
}
|
||||
|
||||
let $per_table=`select @@innodb_file_per_table`;
|
||||
let $format=`select @@innodb_file_format`;
|
||||
let $innodb_strict_mode_orig=`select @@session.innodb_strict_mode`;
|
||||
|
@ -4,6 +4,11 @@
|
||||
# .\sync\sync0sync.c line 324
|
||||
# is fixed
|
||||
|
||||
if (`select plugin_auth_version <= "1.1.8-29.3" from information_schema.plugins where plugin_name='innodb'`)
|
||||
{
|
||||
--skip Not fixed in XtraDB 1.1.8-29.3 or earlier
|
||||
}
|
||||
|
||||
#######################################################################
|
||||
# #
|
||||
# Please, DO NOT TOUCH this file as well as the innodb.result file. #
|
||||
|
95
mysql-test/suite/innodb/t/innodb_bug14704286.test
Normal file
95
mysql-test/suite/innodb/t/innodb_bug14704286.test
Normal file
@ -0,0 +1,95 @@
|
||||
--source include/have_innodb.inc
|
||||
|
||||
#
|
||||
# create test-bed to run test
|
||||
#
|
||||
use test;
|
||||
--disable_warnings
|
||||
drop table if exists t1;
|
||||
--enable_warnings
|
||||
create table t1 (id int primary key, value int, value2 int,
|
||||
value3 int, index(value,value2)) engine=innodb;
|
||||
|
||||
insert into t1 values
|
||||
(10,10,10,10),(11,11,11,11),(12,12,12,12),(13,13,13,13),(14,14,14,14),
|
||||
(15,15,15,15),(16,16,16,16),(17,17,17,17),(18,18,18,18),(19,19,19,19),
|
||||
(20,20,20,20);
|
||||
let $ID= `SELECT @id := CONNECTION_ID()`;
|
||||
|
||||
#
|
||||
# we need multiple connections as we need to keep one connection
|
||||
# active with trx requesting consistent read.
|
||||
#
|
||||
connect (conn1, localhost, root,,);
|
||||
connect (conn2, localhost, root,,);
|
||||
connect (conn3, localhost, root,,);
|
||||
|
||||
#
|
||||
# start trx with consistent read
|
||||
#
|
||||
connection conn1;
|
||||
use test;
|
||||
|
||||
start transaction with consistent snapshot;
|
||||
|
||||
#
|
||||
# update table such that secondary index is updated.
|
||||
#
|
||||
connection conn2;
|
||||
use test;
|
||||
delimiter |;
|
||||
CREATE PROCEDURE update_t1()
|
||||
BEGIN
|
||||
DECLARE i INT DEFAULT 1;
|
||||
while (i <= 5000) DO
|
||||
update test.t1 set value2=value2+1, value3=value3+1 where id=12;
|
||||
SET i = i + 1;
|
||||
END WHILE;
|
||||
END|
|
||||
|
||||
delimiter ;|
|
||||
set autocommit=0;
|
||||
CALL update_t1();
|
||||
select * from t1;
|
||||
set autocommit=1;
|
||||
select * from t1;
|
||||
|
||||
#
|
||||
# Now try to fire select query from connection-1 enforcing
|
||||
# use of secondary index.
|
||||
#
|
||||
connection conn1;
|
||||
let $ID= `SELECT @id := CONNECTION_ID()`;
|
||||
#--error ER_QUERY_INTERRUPTED
|
||||
--send
|
||||
select * from t1 force index(value) where value=12;
|
||||
|
||||
#
|
||||
# select is going to take good time so let's kill query.
|
||||
#
|
||||
connection conn3;
|
||||
let $wait_condition=
|
||||
select * from information_schema.processlist where state = 'Sending data' and
|
||||
info = 'select * from t1 force index(value) where value=12';
|
||||
--source include/wait_condition.inc
|
||||
let $ignore= `SELECT @id := $ID`;
|
||||
kill query @id;
|
||||
|
||||
#
|
||||
# reap the value of connection-1
|
||||
#
|
||||
connection conn1;
|
||||
--error ER_QUERY_INTERRUPTED
|
||||
reap;
|
||||
|
||||
#
|
||||
# clean test-bed.
|
||||
#
|
||||
connection default;
|
||||
disconnect conn1;
|
||||
disconnect conn2;
|
||||
disconnect conn3;
|
||||
drop procedure if exists update_t1;
|
||||
drop table if exists t1;
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
--source include/have_innodb.inc
|
||||
|
||||
if (`select plugin_auth_version <= "1.1.8-29.3" from information_schema.plugins where plugin_name='innodb'`)
|
||||
{
|
||||
--skip Not fixed in XtraDB 1.1.8-29.3 or earlier
|
||||
}
|
||||
let $file_format=`select @@innodb_file_format`;
|
||||
let $file_per_table=`select @@innodb_file_per_table`;
|
||||
|
||||
|
0
mysql-test/suite/innodb/t/innodb_bug57904.test
Executable file → Normal file
0
mysql-test/suite/innodb/t/innodb_bug57904.test
Executable file → Normal file
0
mysql-test/suite/innodb/t/innodb_bug60196-master.opt
Executable file → Normal file
0
mysql-test/suite/innodb/t/innodb_bug60196-master.opt
Executable file → Normal file
0
mysql-test/suite/innodb/t/innodb_bug60196.test
Executable file → Normal file
0
mysql-test/suite/innodb/t/innodb_bug60196.test
Executable file → Normal file
@ -14,6 +14,10 @@
|
||||
# #
|
||||
######################################################################
|
||||
|
||||
if (`select plugin_auth_version <= "1.1.8-29.3" from information_schema.plugins where plugin_name='innodb'`)
|
||||
{
|
||||
--skip Not fixed in XtraDB 1.1.8-29.3 or earlier
|
||||
}
|
||||
|
||||
# Save innodb variables
|
||||
let $innodb_file_format_orig=`select @@innodb_file_format`;
|
||||
@ -601,6 +605,7 @@ DROP TABLE worklog5743;
|
||||
# Prefix index with utf8 charset + varchar.
|
||||
# For varchar we also log the column itself as oppose of TEXT so it error
|
||||
# with limit 1024 due to overhead.
|
||||
--replace_regex /> [0-9]*/> max_row_size/
|
||||
-- error 1118
|
||||
CREATE TABLE worklog5743 (col_1_varchar VARCHAR (4000) CHARACTER SET 'utf8',
|
||||
col_2_varchar VARCHAR (4000) CHARACTER SET 'utf8' ,
|
||||
|
@ -35,3 +35,15 @@ select count(*) from t1;
|
||||
count(*)
|
||||
0
|
||||
drop table t1,t2;
|
||||
CREATE TEMPORARY TABLE t1 ( i int) ENGINE=aria;
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TEMPORARY TABLE `t1` (
|
||||
`i` int(11) DEFAULT NULL
|
||||
) ENGINE=Aria DEFAULT CHARSET=latin1 PAGE_CHECKSUM=0
|
||||
TRUNCATE TABLE t1;
|
||||
INSERT INTO t1 (i) VALUES (1);
|
||||
lock table t1 write;
|
||||
truncate table t1;
|
||||
unlock tables;
|
||||
drop table t1;
|
||||
|
@ -45,3 +45,16 @@ select * from t1;
|
||||
truncate t1;
|
||||
select count(*) from t1;
|
||||
drop table t1,t2;
|
||||
|
||||
#
|
||||
# MDEV-3890
|
||||
# Server crash inserting record on a temporary table after truncating it
|
||||
#
|
||||
CREATE TEMPORARY TABLE t1 ( i int) ENGINE=aria;
|
||||
SHOW CREATE TABLE t1;
|
||||
TRUNCATE TABLE t1;
|
||||
INSERT INTO t1 (i) VALUES (1);
|
||||
lock table t1 write;
|
||||
truncate table t1;
|
||||
unlock tables;
|
||||
drop table t1;
|
||||
|
@ -8,6 +8,8 @@
|
||||
--source include/wait_until_count_sessions.inc
|
||||
|
||||
# Verify that mysql_upgrade complained about the performance_schema
|
||||
|
||||
--replace_regex /at line [0-9]+/at line ###/
|
||||
--cat_file $err_file
|
||||
--error 0,1
|
||||
--remove_file $out_file
|
||||
|
@ -1,6 +1,7 @@
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'NO', timed = 'YES';
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'YES'
|
||||
WHERE name LIKE 'wait/io/file/%';
|
||||
flush status;
|
||||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1 (id INT PRIMARY KEY, b CHAR(100) DEFAULT 'initial value')
|
||||
ENGINE=MyISAM;
|
||||
@ -113,3 +114,19 @@ WHERE p.PROCESSLIST_ID = 1
|
||||
GROUP BY h.EVENT_NAME
|
||||
HAVING TOTAL_WAIT > 0;
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'YES';
|
||||
show status like "performance_schema%";
|
||||
Variable_name Value
|
||||
Performance_schema_cond_classes_lost 0
|
||||
Performance_schema_cond_instances_lost 0
|
||||
Performance_schema_file_classes_lost 0
|
||||
Performance_schema_file_handles_lost 0
|
||||
Performance_schema_file_instances_lost 0
|
||||
Performance_schema_locker_lost 0
|
||||
Performance_schema_mutex_classes_lost 0
|
||||
Performance_schema_mutex_instances_lost 0
|
||||
Performance_schema_rwlock_classes_lost 0
|
||||
Performance_schema_rwlock_instances_lost 0
|
||||
Performance_schema_table_handles_lost 0
|
||||
Performance_schema_table_instances_lost 0
|
||||
Performance_schema_thread_classes_lost 0
|
||||
Performance_schema_thread_instances_lost 0
|
||||
|
@ -2,6 +2,15 @@ UPDATE performance_schema.setup_instruments SET enabled = 'NO', timed = 'YES';
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'YES'
|
||||
WHERE name LIKE 'wait/synch/mutex/%'
|
||||
OR name LIKE 'wait/synch/rwlock/%';
|
||||
flush status;
|
||||
select NAME from performance_schema.mutex_instances
|
||||
where NAME = 'wait/synch/mutex/sql/LOCK_open';
|
||||
NAME
|
||||
wait/synch/mutex/sql/LOCK_open
|
||||
select NAME from performance_schema.rwlock_instances
|
||||
where NAME = 'wait/synch/rwlock/sql/LOCK_grant';
|
||||
NAME
|
||||
wait/synch/rwlock/sql/LOCK_grant
|
||||
DROP TABLE IF EXISTS t1;
|
||||
CREATE TABLE t1 (id INT PRIMARY KEY, b CHAR(100) DEFAULT 'initial value')
|
||||
ENGINE=MyISAM;
|
||||
@ -112,3 +121,19 @@ test_fm2_rw_timed
|
||||
Success
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'YES';
|
||||
DROP TABLE t1;
|
||||
show status like "performance_schema%";
|
||||
Variable_name Value
|
||||
Performance_schema_cond_classes_lost 0
|
||||
Performance_schema_cond_instances_lost 0
|
||||
Performance_schema_file_classes_lost 0
|
||||
Performance_schema_file_handles_lost 0
|
||||
Performance_schema_file_instances_lost 0
|
||||
Performance_schema_locker_lost 0
|
||||
Performance_schema_mutex_classes_lost 0
|
||||
Performance_schema_mutex_instances_lost 0
|
||||
Performance_schema_rwlock_classes_lost 0
|
||||
Performance_schema_rwlock_instances_lost 0
|
||||
Performance_schema_table_handles_lost 0
|
||||
Performance_schema_table_instances_lost 0
|
||||
Performance_schema_thread_classes_lost 0
|
||||
Performance_schema_thread_instances_lost 0
|
||||
|
@ -8,24 +8,24 @@ use performance_schema;
|
||||
show tables like "user_table";
|
||||
Tables_in_performance_schema (user_table)
|
||||
user_table
|
||||
ERROR 1050 (42S01) at line 183: Table 'cond_instances' already exists
|
||||
ERROR 1050 (42S01) at line 213: Table 'events_waits_current' already exists
|
||||
ERROR 1050 (42S01) at line 227: Table 'events_waits_history' already exists
|
||||
ERROR 1050 (42S01) at line 241: Table 'events_waits_history_long' already exists
|
||||
ERROR 1050 (42S01) at line 262: Table 'events_waits_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line 283: Table 'events_waits_summary_by_thread_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 303: Table 'events_waits_summary_global_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 320: Table 'file_instances' already exists
|
||||
ERROR 1050 (42S01) at line 339: Table 'file_summary_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 359: Table 'file_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line 376: Table 'mutex_instances' already exists
|
||||
ERROR 1050 (42S01) at line 394: Table 'performance_timers' already exists
|
||||
ERROR 1050 (42S01) at line 412: Table 'rwlock_instances' already exists
|
||||
ERROR 1050 (42S01) at line 428: Table 'setup_consumers' already exists
|
||||
ERROR 1050 (42S01) at line 445: Table 'setup_instruments' already exists
|
||||
ERROR 1050 (42S01) at line 461: Table 'setup_timers' already exists
|
||||
ERROR 1050 (42S01) at line 478: Table 'threads' already exists
|
||||
ERROR 1644 (HY000) at line 1132: Unexpected content found in the performance_schema database.
|
||||
ERROR 1050 (42S01) at line ###: Table 'cond_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_current' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_history' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_history_long' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_by_thread_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_global_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_summary_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'mutex_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'performance_timers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'rwlock_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_consumers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_instruments' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_timers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'threads' already exists
|
||||
ERROR 1644 (HY000) at line ###: Unexpected content found in the performance_schema database.
|
||||
FATAL ERROR: Upgrade failed
|
||||
show tables like "user_table";
|
||||
Tables_in_performance_schema (user_table)
|
||||
@ -38,24 +38,24 @@ use performance_schema;
|
||||
show tables like "user_view";
|
||||
Tables_in_performance_schema (user_view)
|
||||
user_view
|
||||
ERROR 1050 (42S01) at line 183: Table 'cond_instances' already exists
|
||||
ERROR 1050 (42S01) at line 213: Table 'events_waits_current' already exists
|
||||
ERROR 1050 (42S01) at line 227: Table 'events_waits_history' already exists
|
||||
ERROR 1050 (42S01) at line 241: Table 'events_waits_history_long' already exists
|
||||
ERROR 1050 (42S01) at line 262: Table 'events_waits_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line 283: Table 'events_waits_summary_by_thread_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 303: Table 'events_waits_summary_global_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 320: Table 'file_instances' already exists
|
||||
ERROR 1050 (42S01) at line 339: Table 'file_summary_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 359: Table 'file_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line 376: Table 'mutex_instances' already exists
|
||||
ERROR 1050 (42S01) at line 394: Table 'performance_timers' already exists
|
||||
ERROR 1050 (42S01) at line 412: Table 'rwlock_instances' already exists
|
||||
ERROR 1050 (42S01) at line 428: Table 'setup_consumers' already exists
|
||||
ERROR 1050 (42S01) at line 445: Table 'setup_instruments' already exists
|
||||
ERROR 1050 (42S01) at line 461: Table 'setup_timers' already exists
|
||||
ERROR 1050 (42S01) at line 478: Table 'threads' already exists
|
||||
ERROR 1644 (HY000) at line 1132: Unexpected content found in the performance_schema database.
|
||||
ERROR 1050 (42S01) at line ###: Table 'cond_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_current' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_history' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_history_long' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_by_thread_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_global_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_summary_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'mutex_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'performance_timers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'rwlock_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_consumers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_instruments' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_timers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'threads' already exists
|
||||
ERROR 1644 (HY000) at line ###: Unexpected content found in the performance_schema database.
|
||||
FATAL ERROR: Upgrade failed
|
||||
show tables like "user_view";
|
||||
Tables_in_performance_schema (user_view)
|
||||
@ -66,24 +66,24 @@ drop view test.user_view;
|
||||
create procedure test.user_proc()
|
||||
select "Not supposed to be here";
|
||||
update mysql.proc set db='performance_schema' where name='user_proc';
|
||||
ERROR 1050 (42S01) at line 183: Table 'cond_instances' already exists
|
||||
ERROR 1050 (42S01) at line 213: Table 'events_waits_current' already exists
|
||||
ERROR 1050 (42S01) at line 227: Table 'events_waits_history' already exists
|
||||
ERROR 1050 (42S01) at line 241: Table 'events_waits_history_long' already exists
|
||||
ERROR 1050 (42S01) at line 262: Table 'events_waits_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line 283: Table 'events_waits_summary_by_thread_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 303: Table 'events_waits_summary_global_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 320: Table 'file_instances' already exists
|
||||
ERROR 1050 (42S01) at line 339: Table 'file_summary_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 359: Table 'file_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line 376: Table 'mutex_instances' already exists
|
||||
ERROR 1050 (42S01) at line 394: Table 'performance_timers' already exists
|
||||
ERROR 1050 (42S01) at line 412: Table 'rwlock_instances' already exists
|
||||
ERROR 1050 (42S01) at line 428: Table 'setup_consumers' already exists
|
||||
ERROR 1050 (42S01) at line 445: Table 'setup_instruments' already exists
|
||||
ERROR 1050 (42S01) at line 461: Table 'setup_timers' already exists
|
||||
ERROR 1050 (42S01) at line 478: Table 'threads' already exists
|
||||
ERROR 1644 (HY000) at line 1132: Unexpected content found in the performance_schema database.
|
||||
ERROR 1050 (42S01) at line ###: Table 'cond_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_current' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_history' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_history_long' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_by_thread_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_global_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_summary_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'mutex_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'performance_timers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'rwlock_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_consumers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_instruments' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_timers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'threads' already exists
|
||||
ERROR 1644 (HY000) at line ###: Unexpected content found in the performance_schema database.
|
||||
FATAL ERROR: Upgrade failed
|
||||
select name from mysql.proc where db='performance_schema';
|
||||
name
|
||||
@ -94,24 +94,24 @@ drop procedure test.user_proc;
|
||||
create function test.user_func() returns integer
|
||||
return 0;
|
||||
update mysql.proc set db='performance_schema' where name='user_func';
|
||||
ERROR 1050 (42S01) at line 183: Table 'cond_instances' already exists
|
||||
ERROR 1050 (42S01) at line 213: Table 'events_waits_current' already exists
|
||||
ERROR 1050 (42S01) at line 227: Table 'events_waits_history' already exists
|
||||
ERROR 1050 (42S01) at line 241: Table 'events_waits_history_long' already exists
|
||||
ERROR 1050 (42S01) at line 262: Table 'events_waits_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line 283: Table 'events_waits_summary_by_thread_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 303: Table 'events_waits_summary_global_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 320: Table 'file_instances' already exists
|
||||
ERROR 1050 (42S01) at line 339: Table 'file_summary_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 359: Table 'file_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line 376: Table 'mutex_instances' already exists
|
||||
ERROR 1050 (42S01) at line 394: Table 'performance_timers' already exists
|
||||
ERROR 1050 (42S01) at line 412: Table 'rwlock_instances' already exists
|
||||
ERROR 1050 (42S01) at line 428: Table 'setup_consumers' already exists
|
||||
ERROR 1050 (42S01) at line 445: Table 'setup_instruments' already exists
|
||||
ERROR 1050 (42S01) at line 461: Table 'setup_timers' already exists
|
||||
ERROR 1050 (42S01) at line 478: Table 'threads' already exists
|
||||
ERROR 1644 (HY000) at line 1132: Unexpected content found in the performance_schema database.
|
||||
ERROR 1050 (42S01) at line ###: Table 'cond_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_current' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_history' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_history_long' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_by_thread_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_global_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_summary_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'mutex_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'performance_timers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'rwlock_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_consumers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_instruments' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_timers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'threads' already exists
|
||||
ERROR 1644 (HY000) at line ###: Unexpected content found in the performance_schema database.
|
||||
FATAL ERROR: Upgrade failed
|
||||
select name from mysql.proc where db='performance_schema';
|
||||
name
|
||||
@ -122,24 +122,24 @@ drop function test.user_func;
|
||||
create event test.user_event on schedule every 1 day do
|
||||
select "not supposed to be here";
|
||||
update mysql.event set db='performance_schema' where name='user_event';
|
||||
ERROR 1050 (42S01) at line 183: Table 'cond_instances' already exists
|
||||
ERROR 1050 (42S01) at line 213: Table 'events_waits_current' already exists
|
||||
ERROR 1050 (42S01) at line 227: Table 'events_waits_history' already exists
|
||||
ERROR 1050 (42S01) at line 241: Table 'events_waits_history_long' already exists
|
||||
ERROR 1050 (42S01) at line 262: Table 'events_waits_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line 283: Table 'events_waits_summary_by_thread_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 303: Table 'events_waits_summary_global_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 320: Table 'file_instances' already exists
|
||||
ERROR 1050 (42S01) at line 339: Table 'file_summary_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line 359: Table 'file_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line 376: Table 'mutex_instances' already exists
|
||||
ERROR 1050 (42S01) at line 394: Table 'performance_timers' already exists
|
||||
ERROR 1050 (42S01) at line 412: Table 'rwlock_instances' already exists
|
||||
ERROR 1050 (42S01) at line 428: Table 'setup_consumers' already exists
|
||||
ERROR 1050 (42S01) at line 445: Table 'setup_instruments' already exists
|
||||
ERROR 1050 (42S01) at line 461: Table 'setup_timers' already exists
|
||||
ERROR 1050 (42S01) at line 478: Table 'threads' already exists
|
||||
ERROR 1644 (HY000) at line 1132: Unexpected content found in the performance_schema database.
|
||||
ERROR 1050 (42S01) at line ###: Table 'cond_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_current' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_history' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_history_long' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_by_thread_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'events_waits_summary_global_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_summary_by_event_name' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'file_summary_by_instance' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'mutex_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'performance_timers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'rwlock_instances' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_consumers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_instruments' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'setup_timers' already exists
|
||||
ERROR 1050 (42S01) at line ###: Table 'threads' already exists
|
||||
ERROR 1644 (HY000) at line ###: Unexpected content found in the performance_schema database.
|
||||
FATAL ERROR: Upgrade failed
|
||||
select name from mysql.event where db='performance_schema';
|
||||
name
|
||||
|
@ -12,6 +12,9 @@ UPDATE performance_schema.setup_instruments SET enabled = 'NO', timed = 'YES';
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'YES'
|
||||
WHERE name LIKE 'wait/io/file/%';
|
||||
|
||||
# reset lost counters
|
||||
flush status;
|
||||
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS t1;
|
||||
--enable_warnings
|
||||
@ -182,3 +185,7 @@ HAVING TOTAL_WAIT > 0;
|
||||
|
||||
# Clean-up.
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'YES';
|
||||
|
||||
# In case of failure, will indicate the root cause
|
||||
show status like "performance_schema%";
|
||||
|
||||
|
@ -13,6 +13,15 @@ UPDATE performance_schema.setup_instruments SET enabled = 'YES'
|
||||
WHERE name LIKE 'wait/synch/mutex/%'
|
||||
OR name LIKE 'wait/synch/rwlock/%';
|
||||
|
||||
# reset lost counters
|
||||
flush status;
|
||||
|
||||
# Make sure objects are instrumented
|
||||
select NAME from performance_schema.mutex_instances
|
||||
where NAME = 'wait/synch/mutex/sql/LOCK_open';
|
||||
select NAME from performance_schema.rwlock_instances
|
||||
where NAME = 'wait/synch/rwlock/sql/LOCK_grant';
|
||||
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS t1;
|
||||
--enable_warnings
|
||||
@ -116,3 +125,7 @@ SELECT IF((COALESCE(@after_count, 0) - COALESCE(@before_count, 0)) = 0, 'Success
|
||||
# Clean-up.
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'YES';
|
||||
DROP TABLE t1;
|
||||
|
||||
# In case of failure, will indicate the root cause
|
||||
show status like "performance_schema%";
|
||||
|
||||
|
12
mysql-test/suite/plugins/r/audit_null_debug.result
Normal file
12
mysql-test/suite/plugins/r/audit_null_debug.result
Normal file
@ -0,0 +1,12 @@
|
||||
call mtr.add_suppression("mysql/plugin.MYI");
|
||||
SET debug_dbug='+d,myisam_pretend_crashed_table_on_usage';
|
||||
install plugin audit_null soname 'adt_null';
|
||||
ERROR HY000: Incorrect key file for table './mysql/plugin.MYI'; try to repair it
|
||||
SET debug_dbug='-d,myisam_pretend_crashed_table_on_usage';
|
||||
install plugin audit_null soname 'adt_null';
|
||||
SET debug_dbug='+d,myisam_pretend_crashed_table_on_usage';
|
||||
uninstall plugin audit_null;
|
||||
ERROR HY000: Incorrect key file for table './mysql/plugin.MYI'; try to repair it
|
||||
SET debug_dbug='-d,myisam_pretend_crashed_table_on_usage';
|
||||
uninstall plugin audit_null;
|
||||
ERROR 42000: PLUGIN audit_null does not exist
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user