~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

Viewing changes to mysql-test/suite/binlog/r/binlog_unsafe.result

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-02-14 23:59:22 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120214235922-cux5uek1e5l0hje9
Tags: 5.5.20-0ubuntu1
* New upstream release.
* d/mysql-server-5.5.mysql.upstart: Fix stop on to make sure mysql is
  fully stopped before shutdown commences. (LP: #688541) Also simplify
  start on as it is redundant.
* d/control: Depend on upstart version which has apparmor profile load
  script to prevent failure on upgrade from lucid to precise.
  (LP: #907465)
* d/apparmor-profile: need to allow /run since that is the true path
  of /var/run files. (LP: #917542)
* d/control: mysql-server-5.5 has files in it that used to be owned
  by libmysqlclient-dev, so it must break/replace it. (LP: #912487)
* d/rules, d/control: 5.5.20 Fixes segfault on tests with gcc 4.6,
  change compiler back to system default.
* d/rules: Turn off embedded libedit/readline.(Closes: #659566)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2352
2352
REPLACE INTO t1 SELECT * FROM t1 LIMIT 1;
2353
2353
Warnings:
2354
2354
Note    1592    Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. The statement is unsafe because it uses a LIMIT clause. This is unsafe because the set of rows included cannot be predicted.
 
2355
Note    1592    Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. REPLACE... SELECT is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are replaced. This order cannot be predicted and may differ on master and the slave.
2355
2356
UPDATE t1 SET a=1 LIMIT 1;
2356
2357
Warnings:
2357
2358
Note    1592    Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. The statement is unsafe because it uses a LIMIT clause. This is unsafe because the set of rows included cannot be predicted.
2368
2369
CALL p1();
2369
2370
Warnings:
2370
2371
Note    1592    Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. The statement is unsafe because it uses a LIMIT clause. This is unsafe because the set of rows included cannot be predicted.
 
2372
Note    1592    Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. REPLACE... SELECT is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are replaced. This order cannot be predicted and may differ on master and the slave.
2371
2373
DROP PROCEDURE p1;
2372
2374
DROP TABLE t1;
2373
2375
DROP TABLE IF EXISTS t1;
2651
2653
13:46:40
2652
2654
1970-01-12 13:46:40
2653
2655
DROP TABLE t1;
 
2656
CREATE TABLE filler_table (a INT, b INT);
 
2657
INSERT INTO filler_table values (1,1),(1,2);
 
2658
CREATE TABLE insert_table (a INT, b INT, PRIMARY KEY(a));
 
2659
CREATE TABLE replace_table (a INT, b INT, PRIMARY KEY(a));
 
2660
INSERT INTO replace_table values (1,1),(2,2);
 
2661
CREATE TABLE update_table (a INT, b INT, PRIMARY KEY(a));
 
2662
INSERT INTO update_table values (1,1),(2,2);
 
2663
INSERT IGNORE INTO insert_table SELECT * FROM filler_table;
 
2664
Warnings:
 
2665
Note    1592    Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. INSERT IGNORE... SELECT is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are ignored. This order cannot be predicted and may differ on master and the slave.
 
2666
TRUNCATE TABLE insert_table;
 
2667
INSERT INTO insert_table SELECT * FROM filler_table ON DUPLICATE KEY UPDATE a = 1;
 
2668
Warnings:
 
2669
Note    1592    Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. INSERT... SELECT... ON DUPLICATE KEY UPDATE is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are updated. This order cannot be predicted and may differ on master and the slave.
 
2670
TRUNCATE TABLE insert_table;
 
2671
REPLACE INTO replace_table SELECT * FROM filler_table;
 
2672
Warnings:
 
2673
Note    1592    Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. REPLACE... SELECT is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are replaced. This order cannot be predicted and may differ on master and the slave.
 
2674
UPDATE IGNORE update_table SET a=2;
 
2675
Warnings:
 
2676
Note    1592    Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. UPDATE IGNORE is unsafe because the order in which rows are updated determines which (if any) rows are ignored. This order cannot be predicted and may differ on master and the slave.
 
2677
CREATE TABLE create_ignore_test (a INT, b INT, PRIMARY KEY(b)) IGNORE SELECT * FROM filler_table;
 
2678
Warnings:
 
2679
Note    1592    Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. CREATE... IGNORE SELECT is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are ignored. This order cannot be predicted and may differ on master and the slave.
 
2680
CREATE TABLE create_replace_test (a INT, b INT, PRIMARY KEY(b)) REPLACE SELECT * FROM filler_table;
 
2681
Warnings:
 
2682
Note    1592    Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. CREATE... REPLACE SELECT is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are replaced. This order cannot be predicted and may differ on master and the slave.
 
2683
CREATE TEMPORARY TABLE temp1 (a INT, b INT, PRIMARY KEY(b)) REPLACE SELECT * FROM filler_table;
 
2684
Warnings:
 
2685
Note    1592    Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. CREATE... REPLACE SELECT is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are replaced. This order cannot be predicted and may differ on master and the slave.
 
2686
DROP TABLE filler_table;
 
2687
DROP TABLE insert_table;
 
2688
DROP TABLE update_table;
 
2689
DROP TABLE replace_table;
 
2690
DROP TABLE create_ignore_test;
 
2691
DROP TABLE create_replace_test;
2654
2692
"End of tests"