binlog_stm_binlog.result 49.8 KB
Newer Older
1 2 3 4
create table t1 (a int, b int) engine=innodb;
begin;
insert into t1 values (1,2);
commit;
5
show binlog events from <binlog_start>;
6
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
7 8 9 10
master-bin.000001	#	Query	#	#	use `test`; create table t1 (a int, b int) engine=innodb
master-bin.000001	#	Query	#	#	BEGIN
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values (1,2)
master-bin.000001	#	Xid	#	#	COMMIT /* XID */
11
drop table t1;
12
drop table if exists t1, t2;
13
reset master;
14
create table t1 (a int) engine=innodb;
15 16 17 18 19 20 21
create table t2 (a int) engine=innodb;
begin;
insert t1 values (5);
commit;
begin;
insert t2 values (5);
commit;
22
show binlog events from <binlog_start>;
23
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
24 25
master-bin.000001	#	Query	#	#	use `test`; create table t1 (a int) engine=innodb
master-bin.000001	#	Query	#	#	use `test`; create table t2 (a int) engine=innodb
26
master-bin.000001	#	Query	#	#	BEGIN
27
master-bin.000001	#	Query	#	#	use `test`; insert t1 values (5)
28
master-bin.000001	#	Xid	#	#	COMMIT /* XID */
29
master-bin.000001	#	Query	#	#	BEGIN
30
master-bin.000001	#	Query	#	#	use `test`; insert t2 values (5)
31
master-bin.000001	#	Xid	#	#	COMMIT /* XID */
32
drop table t1,t2;
33 34 35 36 37
reset master;
create table t1 (n int) engine=innodb;
begin;
commit;
drop table t1;
38
show binlog events from <binlog_start>;
39
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
master-bin.000001	#	Query	#	#	use `test`; create table t1 (n int) engine=innodb
master-bin.000001	#	Query	#	#	BEGIN
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(100 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(99 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(98 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(97 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(96 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(95 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(94 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(93 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(92 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(91 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(90 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(89 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(88 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(87 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(86 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(85 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(84 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(83 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(82 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(81 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(80 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(79 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(78 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(77 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(76 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(75 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(74 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(73 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(72 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(71 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(70 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(69 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(68 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(67 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(66 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(65 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(64 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(63 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(62 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(61 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(60 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(59 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(58 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(57 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(56 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(55 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(54 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(53 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(52 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(51 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(50 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(49 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(48 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(47 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(46 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(45 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(44 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(43 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(42 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(41 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(40 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(39 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(38 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(37 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(36 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(35 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(34 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(33 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(32 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(31 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(30 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(29 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(28 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(27 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(26 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(25 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(24 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(23 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(22 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(21 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(20 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(19 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(18 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(17 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(16 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(15 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(14 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(13 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(12 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(11 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(10 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(9 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(8 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(7 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(6 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(5 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(4 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(3 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(2 + 4)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(1 + 4)
master-bin.000001	#	Xid	#	#	COMMIT /* XID */
master-bin.000001	#	Rotate	#	#	master-bin.000002;pos=4
show binlog events in 'master-bin.000002' from <binlog_start>;
145
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
146
master-bin.000002	#	Query	#	#	use `test`; drop table t1
147 148 149 150 151 152 153 154 155 156
set @ac = @@autocommit;
set autocommit= 0;
reset master;
create table t1(n int) engine=innodb;
begin;
insert into t1 values (1);
insert into t1 values (2);
insert into t1 values (3);
commit;
drop table t1;
157
show binlog events from <binlog_start>;
158
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
159 160 161 162 163 164 165
master-bin.000001	#	Query	#	#	use `test`; create table t1(n int) engine=innodb
master-bin.000001	#	Query	#	#	BEGIN
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values (1)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values (2)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values (3)
master-bin.000001	#	Xid	#	#	COMMIT /* XID */
master-bin.000001	#	Query	#	#	use `test`; drop table t1
166 167 168 169
set @bcs = @@binlog_cache_size;
set global binlog_cache_size=4096;
reset master;
create table t1 (a int) engine=innodb;
170
show binlog events from <binlog_start>;
171
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575
master-bin.000001	#	Query	#	#	use `test`; create table t1 (a int) engine=innodb
master-bin.000001	#	Query	#	#	BEGIN
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 400 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 399 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 398 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 397 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 396 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 395 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 394 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 393 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 392 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 391 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 390 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 389 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 388 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 387 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 386 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 385 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 384 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 383 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 382 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 381 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 380 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 379 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 378 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 377 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 376 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 375 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 374 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 373 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 372 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 371 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 370 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 369 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 368 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 367 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 366 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 365 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 364 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 363 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 362 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 361 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 360 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 359 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 358 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 357 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 356 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 355 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 354 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 353 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 352 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 351 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 350 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 349 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 348 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 347 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 346 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 345 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 344 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 343 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 342 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 341 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 340 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 339 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 338 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 337 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 336 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 335 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 334 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 333 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 332 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 331 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 330 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 329 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 328 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 327 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 326 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 325 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 324 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 323 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 322 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 321 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 320 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 319 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 318 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 317 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 316 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 315 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 314 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 313 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 312 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 311 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 310 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 309 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 308 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 307 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 306 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 305 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 304 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 303 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 302 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 301 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 300 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 299 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 298 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 297 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 296 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 295 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 294 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 293 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 292 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 291 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 290 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 289 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 288 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 287 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 286 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 285 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 284 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 283 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 282 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 281 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 280 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 279 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 278 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 277 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 276 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 275 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 274 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 273 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 272 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 271 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 270 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 269 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 268 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 267 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 266 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 265 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 264 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 263 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 262 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 261 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 260 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 259 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 258 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 257 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 256 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 255 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 254 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 253 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 252 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 251 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 250 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 249 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 248 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 247 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 246 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 245 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 244 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 243 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 242 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 241 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 240 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 239 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 238 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 237 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 236 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 235 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 234 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 233 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 232 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 231 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 230 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 229 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 228 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 227 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 226 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 225 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 224 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 223 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 222 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 221 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 220 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 219 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 218 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 217 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 216 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 215 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 214 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 213 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 212 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 211 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 210 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 209 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 208 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 207 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 206 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 205 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 204 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 203 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 202 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 201 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 200 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 199 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 198 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 197 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 196 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 195 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 194 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 193 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 192 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 191 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 190 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 189 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 188 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 187 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 186 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 185 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 184 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 183 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 182 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 181 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 180 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 179 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 178 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 177 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 176 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 175 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 174 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 173 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 172 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 171 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 170 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 169 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 168 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 167 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 166 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 165 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 164 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 163 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 162 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 161 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 160 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 159 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 158 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 157 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 156 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 155 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 154 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 153 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 152 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 151 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 150 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 149 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 148 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 147 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 146 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 145 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 144 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 143 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 142 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 141 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 140 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 139 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 138 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 137 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 136 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 135 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 134 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 133 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 132 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 131 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 130 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 129 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 128 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 127 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 126 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 125 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 124 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 123 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 122 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 121 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 120 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 119 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 118 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 117 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 116 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 115 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 114 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 113 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 112 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 111 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 110 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 109 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 108 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 107 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( <binlog_start> )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 105 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 104 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 103 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 102 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 101 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 100 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 99 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 98 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 97 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 96 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 95 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 94 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 93 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 92 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 91 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 90 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 89 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 88 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 87 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 86 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 85 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 84 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 83 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 82 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 81 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 80 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 79 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 78 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 77 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 76 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 75 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 74 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 73 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 72 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 71 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 70 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 69 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 68 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 67 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 66 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 65 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 64 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 63 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 62 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 61 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 60 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 59 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 58 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 57 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 56 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 55 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 54 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 53 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 52 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 51 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 50 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 49 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 48 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 47 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 46 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 45 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 44 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 43 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 42 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 41 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 40 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 39 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 38 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 37 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 36 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 35 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 34 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 33 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 32 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 31 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 30 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 29 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 28 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 27 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 26 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 25 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 24 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 23 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 22 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 21 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 20 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 19 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 18 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 17 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 16 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 15 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 14 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 13 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 12 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 11 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 10 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 9 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 8 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 7 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 6 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 5 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 4 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 3 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 2 )
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values( 1 )
master-bin.000001	#	Xid	#	#	COMMIT /* XID */
master-bin.000001	#	Rotate	#	#	master-bin.000002;pos=4
576 577 578
drop table t1;
set global binlog_cache_size=@bcs;
set session autocommit = @ac;
579 580 581 582 583 584 585 586 587
drop table if exists t1;
reset master;
create table t1 (a bigint unsigned, b bigint(20) unsigned);
prepare stmt from "insert into t1 values (?,?)";
set @a= 9999999999999999;
set @b= 14632475938453979136;
execute stmt using @a, @b;
deallocate prepare stmt;
drop table t1;
588
show binlog events from <binlog_start>;
589
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
590 591 592
master-bin.000001	#	Query	#	#	use `test`; create table t1 (a bigint unsigned, b bigint(20) unsigned)
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values (9999999999999999,14632475938453979136)
master-bin.000001	#	Query	#	#	use `test`; drop table t1
Ramil Kalimullin's avatar
Merge  
Ramil Kalimullin committed
593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642
reset master;
CREATE DATABASE bug39182 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
USE bug39182;
CREATE TABLE t1 (a VARCHAR(255) COLLATE utf8_unicode_ci)
DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
CREATE PROCEDURE p1()
BEGIN
DECLARE s1 VARCHAR(255);
SET s1= "test";
CREATE TEMPORARY TABLE tmp1
SELECT * FROM t1 WHERE a LIKE CONCAT("%", s1, "%");
SELECT 
COLLATION(NAME_CONST('s1', _utf8'test')) c1,
COLLATION(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) c2,
COLLATION(s1) c3,
COERCIBILITY(NAME_CONST('s1', _utf8'test')) d1,
COERCIBILITY(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) d2,
COERCIBILITY(s1) d3;
DROP TEMPORARY TABLE tmp1;
END//
CALL p1();
c1	c2	c3	d1	d2	d3
utf8_general_ci	utf8_unicode_ci	utf8_unicode_ci	2	2	2
show binlog events from <binlog_start>;
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
master-bin.000001	#	Query	#	#	CREATE DATABASE bug39182 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci
master-bin.000001	#	Query	#	#	use `bug39182`; CREATE TABLE t1 (a VARCHAR(255) COLLATE utf8_unicode_ci)
DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
master-bin.000001	#	Query	#	#	use `bug39182`; CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`()
BEGIN
DECLARE s1 VARCHAR(255);
SET s1= "test";
CREATE TEMPORARY TABLE tmp1
SELECT * FROM t1 WHERE a LIKE CONCAT("%", s1, "%");
SELECT 
COLLATION(NAME_CONST('s1', _utf8'test')) c1,
COLLATION(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) c2,
COLLATION(s1) c3,
COERCIBILITY(NAME_CONST('s1', _utf8'test')) d1,
COERCIBILITY(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) d2,
COERCIBILITY(s1) d3;
DROP TEMPORARY TABLE tmp1;
END
master-bin.000001	#	Query	#	#	use `bug39182`; CREATE TEMPORARY TABLE tmp1
SELECT * FROM t1 WHERE a LIKE CONCAT("%",  NAME_CONST('s1',_utf8'test' COLLATE 'utf8_unicode_ci'), "%")
master-bin.000001	#	Query	#	#	use `bug39182`; DROP TEMPORARY TABLE tmp1
DROP PROCEDURE p1;
DROP TABLE t1;
DROP DATABASE bug39182;
USE test;
Ramil Kalimullin's avatar
Ramil Kalimullin committed
643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674
CREATE PROCEDURE p1(IN v1 INT)
BEGIN
CREATE TABLE t1 SELECT v1;
DROP TABLE t1;
END//
CREATE PROCEDURE p2()
BEGIN
DECLARE v1 INT;
CREATE TABLE t1 SELECT v1+1;
DROP TABLE t1;
END//
CREATE PROCEDURE p3(IN v1 INT)
BEGIN
CREATE TABLE t1 SELECT 1 FROM DUAL WHERE v1!=0;
DROP TABLE t1;
END//
CREATE PROCEDURE p4(IN v1 INT)
BEGIN
DECLARE v2 INT;
CREATE TABLE t1 SELECT 1, v1, v2;
DROP TABLE t1;
CREATE TABLE t1 SELECT 1, v1+1, v2;
DROP TABLE t1;
END//
CALL p1(1);
CALL p2();
CALL p3(0);
CALL p4(0);
DROP PROCEDURE p1;
DROP PROCEDURE p2;
DROP PROCEDURE p3;
DROP PROCEDURE p4;
675
End of 5.0 tests
676 677 678 679 680 681 682 683 684 685
reset master;
create table t1 (id tinyint auto_increment primary key);
set insert_id=128;
insert into t1 values(null);
Warnings:
Warning	1264	Out of range value for column 'id' at row 1
select * from t1;
id
127
drop table t1;
686 687 688 689
create table t1 (a int);
create table if not exists t2 select * from t1;
create temporary table tt1 (a int);
create table if not exists t3 like tt1;
690 691 692 693 694
USE mysql;
INSERT INTO user SET host='localhost', user='@#@', password=password('Just a test');
UPDATE user SET password=password('Another password') WHERE host='localhost' AND user='@#@';
DELETE FROM user WHERE host='localhost' AND user='@#@';
use test;
695
show binlog events from <binlog_start>;
696
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
697 698 699 700 701 702 703 704 705 706 707
master-bin.000001	#	Query	#	#	use `test`; create table t1 (id tinyint auto_increment primary key)
master-bin.000001	#	Intvar	#	#	INSERT_ID=127
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(null)
master-bin.000001	#	Query	#	#	use `test`; drop table t1
master-bin.000001	#	Query	#	#	use `test`; create table t1 (a int)
master-bin.000001	#	Query	#	#	use `test`; create table if not exists t2 select * from t1
master-bin.000001	#	Query	#	#	use `test`; create temporary table tt1 (a int)
master-bin.000001	#	Query	#	#	use `test`; create table if not exists t3 like tt1
master-bin.000001	#	Query	#	#	use `mysql`; INSERT INTO user SET host='localhost', user='@#@', password=password('Just a test')
master-bin.000001	#	Query	#	#	use `mysql`; UPDATE user SET password=password('Another password') WHERE host='localhost' AND user='@#@'
master-bin.000001	#	Query	#	#	use `mysql`; DELETE FROM user WHERE host='localhost' AND user='@#@'
708
drop table t1,t2,t3,tt1;
709 710 711 712
create table t1 (a int not null auto_increment, primary key (a)) engine=myisam;
insert delayed into t1 values (207);
insert delayed into t1 values (null);
insert delayed into t1 values (300);
713
FLUSH TABLES;
714
show binlog events from <binlog_start>;
715
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
716 717 718 719 720 721 722 723 724 725 726 727 728
master-bin.000001	#	Query	#	#	use `test`; create table t1 (id tinyint auto_increment primary key)
master-bin.000001	#	Intvar	#	#	INSERT_ID=127
master-bin.000001	#	Query	#	#	use `test`; insert into t1 values(null)
master-bin.000001	#	Query	#	#	use `test`; drop table t1
master-bin.000001	#	Query	#	#	use `test`; create table t1 (a int)
master-bin.000001	#	Query	#	#	use `test`; create table if not exists t2 select * from t1
master-bin.000001	#	Query	#	#	use `test`; create temporary table tt1 (a int)
master-bin.000001	#	Query	#	#	use `test`; create table if not exists t3 like tt1
master-bin.000001	#	Query	#	#	use `mysql`; INSERT INTO user SET host='localhost', user='@#@', password=password('Just a test')
master-bin.000001	#	Query	#	#	use `mysql`; UPDATE user SET password=password('Another password') WHERE host='localhost' AND user='@#@'
master-bin.000001	#	Query	#	#	use `mysql`; DELETE FROM user WHERE host='localhost' AND user='@#@'
master-bin.000001	#	Query	#	#	use `test`; drop table t1,t2,t3,tt1
master-bin.000001	#	Query	#	#	use `test`; create table t1 (a int not null auto_increment, primary key (a)) engine=myisam
729
master-bin.000001	#	Query	#	#	BEGIN
730 731
master-bin.000001	#	Table_map	#	#	table_id: # (test.t1)
master-bin.000001	#	Write_rows	#	#	table_id: # flags: STMT_END_F
732 733
master-bin.000001	#	Query	#	#	COMMIT
master-bin.000001	#	Query	#	#	BEGIN
734 735
master-bin.000001	#	Table_map	#	#	table_id: # (test.t1)
master-bin.000001	#	Write_rows	#	#	table_id: # flags: STMT_END_F
736 737
master-bin.000001	#	Query	#	#	COMMIT
master-bin.000001	#	Query	#	#	BEGIN
738 739
master-bin.000001	#	Table_map	#	#	table_id: # (test.t1)
master-bin.000001	#	Write_rows	#	#	table_id: # flags: STMT_END_F
740
master-bin.000001	#	Query	#	#	COMMIT
741
master-bin.000001	#	Query	#	#	use `test`; FLUSH TABLES
742 743
insert delayed into t1 values (null),(null),(null),(null);
insert delayed into t1 values (null),(null),(400),(null);
744 745 746 747 748
select * from t1;
a
207
208
300
749 750 751 752 753 754 755 756
301
302
303
304
305
306
400
401
757
drop table t1;
758 759 760 761 762
reset master;
drop table if exists t3;
create table t3 (a int(11) NOT NULL AUTO_INCREMENT, b text, PRIMARY KEY (a) ) engine=innodb;
show master status;
File	Position	Binlog_Do_DB	Binlog_Ignore_DB
763
master-bin.000001	#	<Binlog_Do_DB>	<Binlog_Ignore_DB>
764 765 766 767
insert into t3(b) values ('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa');
768
show master status;
769
File	Position	Binlog_Do_DB	Binlog_Ignore_DB
770
master-bin.000002	#	<Binlog_Do_DB>	<Binlog_Ignore_DB>
771
drop table t3;
772 773 774 775 776 777 778 779 780 781 782
#
# Bug #45998: database crashes when running "create as select"
#
CREATE DATABASE test1;
USE test1;
DROP DATABASE test1;
CREATE TABLE test.t1(a int);
INSERT INTO test.t1 VALUES (1), (2);
CREATE TABLE test.t2 SELECT * FROM test.t1;
USE test;
DROP TABLES t1, t2;
783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803
RESET MASTER;
CREATE TABLE t1 (a INT PRIMARY KEY);
BINLOG '
3u9kSA8KAAAAZgAAAGoAAAABAAQANS4xLjM1LW1hcmlhLWJldGExLWRlYnVnLWxvZwAAAAAAAAAA
AAAAAAAAAAAAAAAAAADe72RIEzgNAAgAEgAEBAQEEgAAUwAEGggAAAAICAgC
';
INSERT INTO t1 VALUES (1);
BINLOG '
3u9kSBMUAAAAKQAAAJEBAAAAABoAAAAAAAAABHRlc3QAAnQxAAEDAAA=
3u9kSBcUAAAAIgAAALMBAAAQABoAAAAAAAEAAf/+AgAAAA==
';
SHOW BINLOG EVENTS;
Log_name	Pos	Event_type	Server_id	End_log_pos	Info
#	#	Format_desc	1	#	Server ver: #, Binlog ver: #
#	#	Query	1	#	use `test`; CREATE TABLE t1 (a INT PRIMARY KEY)
#	#	Query	1	#	use `test`; INSERT INTO t1 VALUES (1)
#	#	Query	1	#	BEGIN
#	#	Table_map	1	#	table_id: # (test.t1)
#	#	Write_rows	1	#	table_id: # flags: STMT_END_F
#	#	Query	1	#	COMMIT
DROP TABLE t1;