~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/r/mysqlbinlog.result

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-05-11 18:47:32 UTC
  • mto: (2.1.2 sid) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100511184732-jhn055kfhxze24kt
Tags: upstream-5.1.46
ImportĀ upstreamĀ versionĀ 5.1.46

Show diffs side-by-side

added added

removed removed

Lines of Context:
479
479
RESET MASTER;
480
480
FLUSH LOGS;
481
481
#
482
 
# Test if the 'BEGIN', 'ROLLBACK' and 'COMMIT' are output if the database specified is exist
 
482
# Test if the 'BEGIN', 'ROLLBACK' and 'COMMIT' are output if the database specified exists
483
483
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
484
484
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
485
485
DELIMITER /*!*/;
532
532
ROLLBACK /* added by mysqlbinlog */;
533
533
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
534
534
#
535
 
# Test if the 'BEGIN', 'ROLLBACK' and 'COMMIT' are output if the database specified is not exist
 
535
# Test if the 'BEGIN', 'ROLLBACK' and 'COMMIT' are output if the database specified does not exist
536
536
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
537
537
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
538
538
DELIMITER /*!*/;
565
565
# End of log file
566
566
ROLLBACK /* added by mysqlbinlog */;
567
567
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
 
568
#
 
569
# Test if the 'SAVEPOINT', 'ROLLBACK TO' are output if the database specified exists
 
570
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
 
571
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
 
572
DELIMITER /*!*/;
 
573
SET TIMESTAMP=1266652094/*!*/;
 
574
SET @@session.pseudo_thread_id=999999999/*!*/;
 
575
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.unique_checks=1, @@session.autocommit=1/*!*/;
 
576
SET @@session.sql_mode=0/*!*/;
 
577
SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/;
 
578
/*!\C latin1 *//*!*/;
 
579
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8/*!*/;
 
580
SET @@session.lc_time_names=0/*!*/;
 
581
SET @@session.collation_database=DEFAULT/*!*/;
 
582
BEGIN
 
583
/*!*/;
 
584
use test/*!*/;
 
585
SET TIMESTAMP=1266652094/*!*/;
 
586
SavePoint mixed_cases
 
587
/*!*/;
 
588
use db1/*!*/;
 
589
SET TIMESTAMP=1266652094/*!*/;
 
590
INSERT INTO db1.t2 VALUES("in savepoint mixed_cases")
 
591
/*!*/;
 
592
SET TIMESTAMP=1266652094/*!*/;
 
593
INSERT INTO db1.t1 VALUES(40)
 
594
/*!*/;
 
595
use test/*!*/;
 
596
SET TIMESTAMP=1266652094/*!*/;
 
597
ROLLBACK TO mixed_cases
 
598
/*!*/;
 
599
use db1/*!*/;
 
600
SET TIMESTAMP=1266652094/*!*/;
 
601
INSERT INTO db1.t2 VALUES("after rollback to")
 
602
/*!*/;
 
603
SET TIMESTAMP=1266652094/*!*/;
 
604
INSERT INTO db1.t1 VALUES(50)
 
605
/*!*/;
 
606
COMMIT/*!*/;
 
607
DELIMITER ;
 
608
# End of log file
 
609
ROLLBACK /* added by mysqlbinlog */;
 
610
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
 
611
#
 
612
# Test if the 'SAVEPOINT', 'ROLLBACK TO' are output if the database specified does not exist
 
613
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
 
614
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
 
615
DELIMITER /*!*/;
 
616
SET TIMESTAMP=1266652094/*!*/;
 
617
SET @@session.pseudo_thread_id=999999999/*!*/;
 
618
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=1, @@session.unique_checks=1, @@session.autocommit=1/*!*/;
 
619
SET @@session.sql_mode=0/*!*/;
 
620
SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/;
 
621
/*!\C latin1 *//*!*/;
 
622
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8/*!*/;
 
623
SET @@session.lc_time_names=0/*!*/;
 
624
SET @@session.collation_database=DEFAULT/*!*/;
 
625
BEGIN
 
626
/*!*/;
 
627
use test/*!*/;
 
628
SET TIMESTAMP=1266652094/*!*/;
 
629
SavePoint mixed_cases
 
630
/*!*/;
 
631
SET TIMESTAMP=1266652094/*!*/;
 
632
ROLLBACK TO mixed_cases
 
633
/*!*/;
 
634
COMMIT/*!*/;
 
635
DELIMITER ;
 
636
# End of log file
 
637
ROLLBACK /* added by mysqlbinlog */;
 
638
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
568
639
End of 5.0 tests
569
640
End of 5.1 tests