mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-18 01:33:14 +00:00
Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1.
This commit is contained in:
73
t/lib/samples/binlogs/binlog001.txt
Normal file
73
t/lib/samples/binlogs/binlog001.txt
Normal file
@@ -0,0 +1,73 @@
|
||||
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
|
||||
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
|
||||
DELIMITER /*!*/;
|
||||
# at 498006722
|
||||
#071207 12:02:50 server id 21 end_log_pos 498006652 Query thread_id=104168 exec_time=20664 error_code=0
|
||||
SET TIMESTAMP=1197046970/*!*/;
|
||||
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.unique_checks=1/*!*/;
|
||||
SET @@session.sql_mode=0/*!*/;
|
||||
/*!\C latin1 *//*!*/;
|
||||
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8/*!*/;
|
||||
SET @@session.time_zone='SYSTEM'/*!*/;
|
||||
BEGIN/*!*/;
|
||||
# at 498006789
|
||||
#071207 12:02:07 server id 21 end_log_pos 278 Query thread_id=104168 exec_time=20675 error_code=0
|
||||
use test1/*!*/;
|
||||
SET TIMESTAMP=1197046927/*!*/;
|
||||
update test3.tblo as o
|
||||
inner join test3.tbl2 as e on o.animal = e.animal and o.oid = e.oid
|
||||
set e.tblo = o.tblo,
|
||||
e.col3 = o.col3
|
||||
where e.tblo is null/*!*/;
|
||||
# at 498007067
|
||||
#071207 12:02:08 server id 21 end_log_pos 836 Query thread_id=104168 exec_time=20704 error_code=0
|
||||
SET TIMESTAMP=1197046928/*!*/;
|
||||
replace into test4.tbl9(tbl5, day, todo, comment)
|
||||
select distinct o.tbl5, date(o.col3), 'misc', right('foo', 50)
|
||||
from test3.tblo as o
|
||||
inner join test3.tbl2 as e on o.animal = e.animal and o.oid = e.oid
|
||||
where e.tblo is not null
|
||||
and o.col1 > 0
|
||||
and o.tbl2 is null
|
||||
and o.col3 >= date_sub(current_date, interval 30 day)/*!*/;
|
||||
# at 498007625
|
||||
#071207 12:02:50 server id 21 end_log_pos 1161 Query thread_id=104168 exec_time=20664 error_code=0
|
||||
SET TIMESTAMP=1197046970/*!*/;
|
||||
update test3.tblo as o inner join test3.tbl2 as e
|
||||
on o.animal = e.animal and o.oid = e.oid
|
||||
set o.tbl2 = e.tbl2,
|
||||
e.col9 = now()
|
||||
where o.tbl2 is null/*!*/;
|
||||
# at 498007950
|
||||
#071207 12:02:50 server id 21 end_log_pos 498007840 Xid = 4584956
|
||||
COMMIT/*!*/;
|
||||
# at 498007977
|
||||
#071207 12:02:53 server id 21 end_log_pos 417 Query thread_id=103374 exec_time=20661 error_code=0
|
||||
SET TIMESTAMP=1197046973/*!*/;
|
||||
insert into test1.tbl6
|
||||
(day, tbl5, misccol9type, misccol9, metric11, metric12, secs)
|
||||
values
|
||||
(convert_tz(current_timestamp,'EST5EDT','PST8PDT'), '239', 'foo', 'bar', 1, '1', '16.3574378490448')
|
||||
on duplicate key update metric11 = metric11 + 1,
|
||||
metric12 = metric12 + values(metric12), secs = secs + values(secs)/*!*/;
|
||||
# at 498008394
|
||||
#071207 12:02:53 server id 21 end_log_pos 498008284 Xid = 4584964
|
||||
COMMIT/*!*/;
|
||||
# at 498008421
|
||||
#071207 12:02:53 server id 21 end_log_pos 314 Query thread_id=103374 exec_time=20661 error_code=0
|
||||
SET TIMESTAMP=1197046973/*!*/;
|
||||
update test2.tbl8
|
||||
set last2metric1 = last1metric1, last2time = last1time,
|
||||
last1metric1 = last0metric1, last1time = last0time,
|
||||
last0metric1 = ondeckmetric1, last0time = now()
|
||||
where tbl8 in (10800712)/*!*/;
|
||||
# at 498008735
|
||||
#071207 12:02:53 server id 21 end_log_pos 498008625 Xid = 4584965
|
||||
COMMIT/*!*/;
|
||||
# at 498008762
|
||||
#071207 12:02:53 server id 21 end_log_pos 28 Intvar
|
||||
SET INSERT_ID=86547461/*!*/;
|
||||
DELIMITER ;
|
||||
# End of log file
|
||||
ROLLBACK /* added by mysqlbinlog */;
|
||||
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
|
31
t/lib/samples/binlogs/binlog002.txt
Normal file
31
t/lib/samples/binlogs/binlog002.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
|
||||
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
|
||||
DELIMITER /*!*/;
|
||||
# at 4
|
||||
#090722 7:21:41 server id 12345 end_log_pos 98 Start: binlog v 4, server v 5.0.82-log created 090722 7:21:41 at startup
|
||||
# Warning: this binlog was not closed properly. Most probably mysqld crashed writing it.
|
||||
ROLLBACK/*!*/;
|
||||
# at 98
|
||||
#090722 7:21:59 server id 12345 end_log_pos 175 Query thread_id=3 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1248268919/*!*/;
|
||||
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.unique_checks=1/*!*/;
|
||||
SET @@session.sql_mode=0/*!*/;
|
||||
/*!\C latin1 *//*!*/;
|
||||
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8/*!*/;
|
||||
create database d
|
||||
/*!*/;
|
||||
# at 175
|
||||
#090722 7:22:16 server id 12345 end_log_pos 259 Query thread_id=3 exec_time=0 error_code=0
|
||||
use d/*!*/;
|
||||
SET TIMESTAMP=1248268936/*!*/;
|
||||
create table foo (i int)
|
||||
/*!*/;
|
||||
# at 259
|
||||
#090722 7:22:24 server id 12345 end_log_pos 344 Query thread_id=3 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1248268944/*!*/;
|
||||
insert foo values (1),(2)
|
||||
/*!*/;
|
||||
DELIMITER ;
|
||||
# End of log file
|
||||
ROLLBACK /* added by mysqlbinlog */;
|
||||
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
|
64
t/lib/samples/binlogs/binlog003.txt
Normal file
64
t/lib/samples/binlogs/binlog003.txt
Normal file
@@ -0,0 +1,64 @@
|
||||
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
|
||||
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
|
||||
DELIMITER /*!*/;
|
||||
# at 263
|
||||
#090911 9:24:52 server id 12345 end_log_pos 349 Query thread_id=3 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1252682692/*!*/;
|
||||
insert into t (i) values (1)
|
||||
/*!*/;
|
||||
# at 349
|
||||
#090911 9:25:06 server id 12345 end_log_pos 434 Query thread_id=3 exec_time=0 error_code=0
|
||||
use test1/*!*/;
|
||||
SET TIMESTAMP=1252682706/*!*/;
|
||||
delete from t where i=1
|
||||
/*!*/;
|
||||
# at 434
|
||||
#090911 11:37:23 server id 12345 end_log_pos 520 Query thread_id=7 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1252690643/*!*/;
|
||||
insert into t (i) values (1)
|
||||
/*!*/;
|
||||
# at 520
|
||||
#090911 11:37:25 server id 12345 end_log_pos 606 Query thread_id=7 exec_time=0 error_code=0
|
||||
use test2/*!*/;
|
||||
SET TIMESTAMP=1252690645/*!*/;
|
||||
insert into t (i) values (2)
|
||||
/*!*/;
|
||||
# at 606
|
||||
#090911 11:37:46 server id 12345 end_log_pos 721 Query thread_id=7 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1252690666/*!*/;
|
||||
insert into t (i) values (3),(4),(5),(6),(7),(8),(9),(10)
|
||||
/*!*/;
|
||||
# at 721
|
||||
#090911 11:37:57 server id 12345 end_log_pos 817 Query thread_id=7 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1252690677/*!*/;
|
||||
delete from t where i = 3 or i = 5
|
||||
/*!*/;
|
||||
# at 817
|
||||
#090911 11:38:05 server id 12345 end_log_pos 911 Query thread_id=7 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1252690685/*!*/;
|
||||
update t set i = 11 where i = 10
|
||||
/*!*/;
|
||||
# at 911
|
||||
#090911 11:38:16 server id 12345 end_log_pos 1013 Query thread_id=7 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1252690696/*!*/;
|
||||
insert into t (i) values (13),(14),(15),(16)
|
||||
/*!*/;
|
||||
# at 1013
|
||||
#090911 11:38:23 server id 12345 end_log_pos 1100 Query thread_id=7 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1252690703/*!*/;
|
||||
delete from t where i < 5
|
||||
/*!*/;
|
||||
# at 1100
|
||||
#090911 11:38:37 server id 12345 end_log_pos 1178 Query thread_id=7 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1252690717/*!*/;
|
||||
truncate table t
|
||||
/*!*/;
|
||||
# at 1178
|
||||
#090911 11:38:40 server id 12345 end_log_pos 1252 Query thread_id=7 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1252690720/*!*/;
|
||||
drop table t
|
||||
/*!*/;
|
||||
DELIMITER ;
|
||||
# End of log file
|
||||
ROLLBACK /* added by mysqlbinlog */;
|
||||
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
|
29
t/lib/samples/binlogs/binlog004.txt
Normal file
29
t/lib/samples/binlogs/binlog004.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
|
||||
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
|
||||
DELIMITER /*!*/;
|
||||
# at 4
|
||||
#091021 21:25:55 server id 11 end_log_pos 98 Start: binlog v 4, server v 5.0.84-percona-highperf-b18-log created 091021 21:25:55
|
||||
# at 571891091
|
||||
#091022 0:00:00 server id 11 end_log_pos 571891160 Query thread_id=140839791 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1256194800/*!*/;
|
||||
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.unique_checks=1/*!*/;
|
||||
SET @@session.sql_mode=0/*!*/;
|
||||
/*!\C latin1 *//*!*/;
|
||||
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8/*!*/;
|
||||
BEGIN
|
||||
/*!*/;
|
||||
# at 571891160
|
||||
#091022 0:00:00 server id 11 end_log_pos 571891286 Query thread_id=140839791 exec_time=0 error_code=0
|
||||
use db/*!*/;
|
||||
SET TIMESTAMP=1256194800/*!*/;
|
||||
DELETE FROM `foo` WHERE `id` = 42
|
||||
/*!*/;
|
||||
# at 572080896
|
||||
#091022 0:00:03 server id 11 end_log_pos 572081114 Query thread_id=131294991 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1256194803/*!*/;
|
||||
SET @@session.time_zone='SYSTEM'/*!*/;
|
||||
insert ignore into user (id,f_id,c_date) values (17, 18, now())
|
||||
/*!*/;
|
||||
# at 572081114
|
||||
#091022 0:00:03 server id 11 end_log_pos 572081141 Xid = 1243150725
|
||||
COMMIT/*!*/;
|
37
t/lib/samples/binlogs/binlog005.txt
Normal file
37
t/lib/samples/binlogs/binlog005.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
|
||||
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
|
||||
DELIMITER /*!*/;
|
||||
# at 498006722
|
||||
#071207 12:02:50 server id 21 end_log_pos 498006652 Query thread_id=104168 exec_time=20664 error_code=0
|
||||
insert into foo values (12)/*!*/;
|
||||
# at 498006789
|
||||
#071207 12:59:07 server id 21 end_log_pos 278 Query thread_id=104168 exec_time=20675 error_code=0
|
||||
insert into foo values (12)/*!*/;
|
||||
# at 498007067
|
||||
#071207 13:02:08 server id 21 end_log_pos 836 Query thread_id=104168 exec_time=20704 error_code=0
|
||||
insert into foo values (13)/*!*/;
|
||||
# at 498007625
|
||||
#071207 13:02:09 server id 21 end_log_pos 1161 Query thread_id=104168 exec_time=20664 error_code=0
|
||||
insert into foo values (13)/*!*/;
|
||||
# at 498007950
|
||||
#071207 13:02:10 server id 21 end_log_pos 498007840 Query thread_id=103374 exec_time=20661 error_code=0
|
||||
insert into foo values (13)/*!*/;
|
||||
# at 498007977
|
||||
#071207 18:02:53 server id 21 end_log_pos 417 Query thread_id=103374 exec_time=20661 error_code=0
|
||||
insert into foo values (18)/*!*/;
|
||||
# at 498008394
|
||||
#071207 23:02:53 server id 21 end_log_pos 498008284 Query thread_id=103374 exec_time=20661 error_code=0
|
||||
insert into foo values (23)/*!*/;
|
||||
# at 498008421
|
||||
#071208 08:00:00 server id 21 end_log_pos 314 Query thread_id=103374 exec_time=20661 error_code=0
|
||||
insert into bar values (8)/*!*/;
|
||||
# at 498008735
|
||||
#071208 10:02:53 server id 21 end_log_pos 498008625 Query thread_id=103374 exec_time=20661 error_code=0
|
||||
insert into bar values (10)/*!*/;
|
||||
# at 498008762
|
||||
#071208 12:12:12 server id 21 end_log_pos 28 Query thread_id=103374 exec_time=20661 error_code=0
|
||||
insert into bar values (12)/*!*/;
|
||||
DELIMITER ;
|
||||
# End of log file
|
||||
ROLLBACK /* added by mysqlbinlog */;
|
||||
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
|
6
t/lib/samples/binlogs/binlog006.txt
Normal file
6
t/lib/samples/binlogs/binlog006.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
|
||||
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
|
||||
DELIMITER /*!*/;
|
||||
# at 498006722
|
||||
#071207 12:02:50 server id 21 end_log_pos 498006652 Pontificate thread_id=104168 exec_time=20664 error_code=0
|
||||
insert into foo values (12)/*!*/;
|
9
t/lib/samples/binlogs/binlog007.txt
Normal file
9
t/lib/samples/binlogs/binlog007.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
|
||||
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
|
||||
DELIMITER /*!*/;
|
||||
# at 498008762
|
||||
#071208 12:12:12 server id 21 end_log_pos 28 Query thread_id=103374 exec_time=20661 error_code=0
|
||||
delete from test2.t where a=1/*!*/;
|
||||
# End of log file
|
||||
ROLLBACK /* added by mysqlbinlog */;
|
||||
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
|
7
t/lib/samples/binlogs/binlog008.txt
Normal file
7
t/lib/samples/binlogs/binlog008.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
DELIMITER /*!*/;
|
||||
# at 498008762
|
||||
#100429 08:23:12 server id 12345 end_log_pos 28 Query thread_id=10 exec_time=0 error_code=0
|
||||
delete from t where a=1/*!*/;
|
||||
# End of log file
|
||||
ROLLBACK /* added by mysqlbinlog */;
|
||||
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
|
11
t/lib/samples/binlogs/binlog009.txt
Normal file
11
t/lib/samples/binlogs/binlog009.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
DELIMITER /*!*/;
|
||||
# at 498008760
|
||||
#100429 08:23:10 server id 12345 end_log_pos 28 Query thread_id=10 exec_time=0 error_code=0
|
||||
use test2/*!*/;
|
||||
insert into t values (1,2,3)/*!*/;
|
||||
# at 498008762
|
||||
#100429 08:23:12 server id 12345 end_log_pos 28 Query thread_id=10 exec_time=0 error_code=0
|
||||
insert into test2.t values (1,2,3)/*!*/;
|
||||
# End of log file
|
||||
ROLLBACK /* added by mysqlbinlog */;
|
||||
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
|
143
t/lib/samples/binlogs/binlog010.txt
Normal file
143
t/lib/samples/binlogs/binlog010.txt
Normal file
@@ -0,0 +1,143 @@
|
||||
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
|
||||
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
|
||||
DELIMITER /*!*/;
|
||||
# at 4
|
||||
#101108 13:21:08 server id 1234 end_log_pos 106 Start: binlog v 4, server v 5.1.50-log created 101108 13:21:08 at startup
|
||||
ROLLBACK/*!*/;
|
||||
# at 106
|
||||
#101108 13:21:40 server id 1234 end_log_pos 320 Query thread_id=15 exec_time=0 error_code=0
|
||||
use test/*!*/;
|
||||
SET TIMESTAMP=1289247700/*!*/;
|
||||
SET @@session.pseudo_thread_id=15/*!*/;
|
||||
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.unique_checks=1, @@session.autocommit=1/*!*/;
|
||||
SET @@session.sql_mode=0/*!*/;
|
||||
SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/;
|
||||
/*!\C latin1 *//*!*/;
|
||||
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=33/*!*/;
|
||||
SET @@session.lc_time_names=0/*!*/;
|
||||
SET @@session.collation_database=DEFAULT/*!*/;
|
||||
CREATE TABLE `test1` (
|
||||
`kwid` int(10) unsigned NOT NULL default '0',
|
||||
`keyword` varchar(80) NOT NULL default ''
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8
|
||||
/*!*/;
|
||||
# at 320
|
||||
#101108 13:21:40 server id 1234 end_log_pos 388 Query thread_id=15 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289247700/*!*/;
|
||||
BEGIN
|
||||
/*!*/;
|
||||
# at 388
|
||||
#101108 13:21:40 server id 1234 end_log_pos 545 Query thread_id=15 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289247700/*!*/;
|
||||
INSERT INTO `test1` VALUES
|
||||
(1,'watching'),(2,'poet'),(3,'просмотра'),(4,'Поэту')
|
||||
/*!*/;
|
||||
# at 545
|
||||
#101108 13:21:40 server id 1234 end_log_pos 572 Xid = 10
|
||||
COMMIT/*!*/;
|
||||
# at 572
|
||||
#101108 13:21:40 server id 1234 end_log_pos 788 Query thread_id=15 exec_time=1 error_code=0
|
||||
SET TIMESTAMP=1289247700/*!*/;
|
||||
CREATE TABLE `test2` (
|
||||
`kwid` int(10) unsigned NOT NULL default '0',
|
||||
`keyword` varchar(80) NOT NULL default ''
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
/*!*/;
|
||||
# at 788
|
||||
#101108 13:21:41 server id 1234 end_log_pos 856 Query thread_id=15 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289247701/*!*/;
|
||||
BEGIN
|
||||
/*!*/;
|
||||
# at 856
|
||||
#101108 13:21:41 server id 1234 end_log_pos 1013 Query thread_id=15 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289247701/*!*/;
|
||||
INSERT INTO `test2` VALUES
|
||||
(1,'watching'),(2,'poet'),(3,'просмотра'),(4,'Поэту')
|
||||
/*!*/;
|
||||
# at 1013
|
||||
#101108 13:21:41 server id 1234 end_log_pos 1040 Xid = 12
|
||||
COMMIT/*!*/;
|
||||
# at 1040
|
||||
#101108 13:26:28 server id 1234 end_log_pos 1108 Query thread_id=167 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289247988/*!*/;
|
||||
BEGIN
|
||||
/*!*/;
|
||||
# at 1108
|
||||
#101108 13:26:28 server id 1234 end_log_pos 1265 Query thread_id=167 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289247988/*!*/;
|
||||
INSERT INTO `test1` VALUES (1,'watching'),(2,'poet'),(3,'просмотра'),(4,'Поэту')
|
||||
/*!*/;
|
||||
# at 1265
|
||||
#101108 13:26:28 server id 1234 end_log_pos 1292 Xid = 112
|
||||
COMMIT/*!*/;
|
||||
# at 1292
|
||||
#101108 13:26:28 server id 1234 end_log_pos 1360 Query thread_id=167 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289247988/*!*/;
|
||||
BEGIN
|
||||
/*!*/;
|
||||
# at 1360
|
||||
#101108 13:26:28 server id 1234 end_log_pos 1517 Query thread_id=167 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289247988/*!*/;
|
||||
INSERT INTO `test2` VALUES (1,'watching'),(2,'poet'),(3,'просмотра'),(4,'Поэту')
|
||||
/*!*/;
|
||||
# at 1517
|
||||
#101108 13:26:28 server id 1234 end_log_pos 1544 Xid = 114
|
||||
COMMIT/*!*/;
|
||||
# at 1544
|
||||
#101108 13:26:39 server id 1234 end_log_pos 1623 Query thread_id=167 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289247999/*!*/;
|
||||
drop table test1
|
||||
/*!*/;
|
||||
# at 1623
|
||||
#101108 13:26:39 server id 1234 end_log_pos 1702 Query thread_id=167 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289247999/*!*/;
|
||||
drop table test2
|
||||
/*!*/;
|
||||
# at 1702
|
||||
#101108 13:26:40 server id 1234 end_log_pos 1916 Query thread_id=167 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289248000/*!*/;
|
||||
CREATE TABLE `test1` (
|
||||
`kwid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`keyword` varchar(80) NOT NULL DEFAULT ''
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8
|
||||
/*!*/;
|
||||
# at 1916
|
||||
#101108 13:26:40 server id 1234 end_log_pos 1984 Query thread_id=167 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289248000/*!*/;
|
||||
BEGIN
|
||||
/*!*/;
|
||||
# at 1984
|
||||
#101108 13:26:40 server id 1234 end_log_pos 2141 Query thread_id=167 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289248000/*!*/;
|
||||
INSERT INTO `test1` VALUES (1,'watching'),(2,'poet'),(3,'просмотра'),(4,'Поэту')
|
||||
/*!*/;
|
||||
# at 2141
|
||||
#101108 13:26:40 server id 1234 end_log_pos 2168 Xid = 118
|
||||
COMMIT/*!*/;
|
||||
# at 2168
|
||||
#101108 13:26:40 server id 1234 end_log_pos 2384 Query thread_id=167 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289248000/*!*/;
|
||||
CREATE TABLE `test2` (
|
||||
`kwid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`keyword` varchar(80) NOT NULL DEFAULT ''
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
/*!*/;
|
||||
# at 2384
|
||||
#101108 13:26:40 server id 1234 end_log_pos 2452 Query thread_id=167 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289248000/*!*/;
|
||||
BEGIN
|
||||
/*!*/;
|
||||
# at 2452
|
||||
#101108 13:26:40 server id 1234 end_log_pos 2609 Query thread_id=167 exec_time=0 error_code=0
|
||||
SET TIMESTAMP=1289248000/*!*/;
|
||||
INSERT INTO `test2` VALUES (1,'watching'),(2,'poet'),(3,'просмотра'),(4,'Поэту')
|
||||
/*!*/;
|
||||
# at 2609
|
||||
#101108 13:26:40 server id 1234 end_log_pos 2636 Xid = 120
|
||||
COMMIT/*!*/;
|
||||
# at 2636
|
||||
#101108 13:28:55 server id 1234 end_log_pos 2655 Stop
|
||||
DELIMITER ;
|
||||
# End of log file
|
||||
ROLLBACK /* added by mysqlbinlog */;
|
||||
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
|
Reference in New Issue
Block a user