~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid-security

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl_ndb/r/rpl_row_basic_7ndb.result

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120222223355-or06x1euyk8n0ldi
Tags: 5.1.61-0ubuntu0.10.04.1
* SECURITY UPDATE: Update to 5.1.61 to fix multiple security issues
  (LP: #937869)
  - http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
  - CVE-2011-2262
  - CVE-2012-0075
  - CVE-2012-0112
  - CVE-2012-0113
  - CVE-2012-0114
  - CVE-2012-0115
  - CVE-2012-0116
  - CVE-2012-0117
  - CVE-2012-0118
  - CVE-2012-0119
  - CVE-2012-0120
  - CVE-2012-0484
  - CVE-2012-0485
  - CVE-2012-0486
  - CVE-2012-0487
  - CVE-2012-0488
  - CVE-2012-0489
  - CVE-2012-0490
  - CVE-2012-0491
  - CVE-2012-0492
  - CVE-2012-0493
  - CVE-2012-0494
  - CVE-2012-0495
  - CVE-2012-0496
* Dropped patches unnecessary with 5.1.61:
  - debian/patches/90_mysql_safer_strmov.dpatch
  - debian/patches/51_ssl_test_certs.dpatch
  - debian/patches/52_CVE-2009-4030.dpatch
  - debian/patches/53_CVE-2009-4484.dpatch
  - debian/patches/54_CVE-2008-7247.dpatch
  - debian/patches/55_CVE-2010-1621.dpatch
  - debian/patches/56_CVE-2010-1850.dpatch
  - debian/patches/57_CVE-2010-1849.dpatch
  - debian/patches/58_CVE-2010-1848.dpatch
  - debian/patches/59_CVE-2010-1626.dpatch
  - debian/patches/60_CVE-2010-2008.dpatch
  - debian/patches/60_CVE-2010-3677.dpatch
  - debian/patches/60_CVE-2010-3678.dpatch
  - debian/patches/60_CVE-2010-3679.dpatch
  - debian/patches/60_CVE-2010-3680.dpatch
  - debian/patches/60_CVE-2010-3681.dpatch
  - debian/patches/60_CVE-2010-3682.dpatch
  - debian/patches/60_CVE-2010-3683.dpatch
  - debian/patches/60_CVE-2010-3833.dpatch
  - debian/patches/60_CVE-2010-3834.dpatch
  - debian/patches/60_CVE-2010-3835.dpatch
  - debian/patches/60_CVE-2010-3836.dpatch
  - debian/patches/60_CVE-2010-3837.dpatch
  - debian/patches/60_CVE-2010-3838.dpatch
  - debian/patches/60_CVE-2010-3839.dpatch
  - debian/patches/60_CVE-2010-3840.dpatch
  - debian/patches/61_disable_longfilename_test.dpatch
  - debian/patches/62_alter_table_fix.dpatch
  - debian/patches/63_cherrypick-upstream-49479.dpatch
  - debian/patches/10_readline_build_fix.dpatch
* debian/mysql-client-5.1.docs: removed EXCEPTIONS-CLIENT file
* debian/mysql-server-5.1.docs,debian/libmysqlclient16.docs,
  debian/libmysqlclient-dev.docs: removed, no longer necessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
stop slave;
2
 
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
3
 
reset master;
4
 
reset slave;
5
 
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
6
 
start slave;
 
1
include/master-slave.inc
 
2
[connection master]
7
3
CREATE TABLE t1 (C1 CHAR(1), C2 CHAR(1), INDEX (C1)) ENGINE = 'NDB'  ;
8
4
SELECT * FROM t1;
9
5
C1      C2
422
418
**** Test for BUG#31552 ****
423
419
**** On Master ****
424
420
DELETE FROM t1;
425
 
**** Resetting master and slave ****
426
 
include/stop_slave.inc
427
 
RESET SLAVE;
428
 
RESET MASTER;
429
 
include/start_slave.inc
 
421
include/rpl_reset.inc
430
422
**** On Master ****
431
423
INSERT INTO t1 VALUES ('K','K'), ('L','L'), ('M','M');
432
424
**** On Master ****
436
428
SELECT COUNT(*) FROM t1 ORDER BY c1,c2;
437
429
COUNT(*)        0
438
430
set @@global.slave_exec_mode= default;
439
 
Last_SQL_Error
440
 
 
 
431
include/check_slave_is_running.inc
441
432
SELECT COUNT(*) FROM t1 ORDER BY c1,c2;
442
433
COUNT(*)        0
443
434
**** Test for BUG#37076 ****
479
470
[expecting slave to replicate correctly]
480
471
INSERT INTO t1 VALUES (1, "", 1);
481
472
INSERT INTO t1 VALUES (2, repeat(_utf8'a', 16), 2);
482
 
Comparing tables master:test.t1 and slave:test.t1
 
473
include/diff_tables.inc [master:t1, slave:t1]
483
474
[expecting slave to replicate correctly]
484
475
INSERT INTO t2 VALUES (1, "", 1);
485
476
INSERT INTO t2 VALUES (2, repeat(_utf8'a', 16), 2);
486
 
Comparing tables master:test.t2 and slave:test.t2
 
477
include/diff_tables.inc [master:t2, slave:t2]
487
478
[expecting slave to stop]
488
479
INSERT INTO t3 VALUES (1, "", 1);
489
480
INSERT INTO t3 VALUES (2, repeat(_utf8'a', 128), 2);
490
 
Last_SQL_Error
491
 
Table definition on master and slave does not match: Column 1 size mismatch - master has size 384, test.t3 on slave has size 49. Master's column size should be <= the slave's column size.
492
 
RESET MASTER;
493
 
STOP SLAVE;
494
 
RESET SLAVE;
495
 
START SLAVE;
 
481
include/wait_for_slave_sql_error.inc [errno=1535]
 
482
Last_SQL_Error = 'Table definition on master and slave does not match: Column 1 size mismatch - master has size 384, test.t3 on slave has size 49. Master's column size should be <= the slave's column size.'
 
483
include/rpl_reset.inc
496
484
[expecting slave to replicate correctly]
497
485
INSERT INTO t4 VALUES (1, "", 1);
498
486
INSERT INTO t4 VALUES (2, repeat(_utf8'a', 128), 2);
499
 
Comparing tables master:test.t4 and slave:test.t4
 
487
include/diff_tables.inc [master:t4, slave:t4]
500
488
[expecting slave to stop]
501
489
INSERT INTO t5 VALUES (1, "", 1);
502
490
INSERT INTO t5 VALUES (2, repeat(_utf8'a', 255), 2);
503
 
Last_SQL_Error
504
 
Table definition on master and slave does not match: Column 1 size mismatch - master has size 765, test.t5 on slave has size 49. Master's column size should be <= the slave's column size.
505
 
RESET MASTER;
506
 
STOP SLAVE;
507
 
RESET SLAVE;
508
 
START SLAVE;
 
491
include/wait_for_slave_sql_error.inc [errno=1535]
 
492
Last_SQL_Error = 'Table definition on master and slave does not match: Column 1 size mismatch - master has size 765, test.t5 on slave has size 49. Master's column size should be <= the slave's column size.'
 
493
include/rpl_reset.inc
509
494
[expecting slave to stop]
510
495
INSERT INTO t6 VALUES (1, "", 1);
511
496
INSERT INTO t6 VALUES (2, repeat(_utf8'a', 255), 2);
512
 
Last_SQL_Error
513
 
Table definition on master and slave does not match: Column 1 size mismatch - master has size 765, test.t6 on slave has size 385. Master's column size should be <= the slave's column size.
514
 
RESET MASTER;
515
 
STOP SLAVE;
516
 
RESET SLAVE;
517
 
START SLAVE;
 
497
include/wait_for_slave_sql_error.inc [errno=1535]
 
498
Last_SQL_Error = 'Table definition on master and slave does not match: Column 1 size mismatch - master has size 765, test.t6 on slave has size 385. Master's column size should be <= the slave's column size.'
 
499
include/rpl_reset.inc
518
500
[expecting slave to replicate correctly]
519
501
INSERT INTO t7 VALUES (1, "", 1);
520
502
INSERT INTO t7 VALUES (2, repeat(_utf8'a', 255), 2);
521
 
Comparing tables master:test.t7 and slave:test.t7
 
503
include/diff_tables.inc [master:t7, slave:t7]
522
504
drop table t1, t2, t3, t4, t5, t6, t7;
523
505
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE='NDB' ;
524
506
INSERT INTO t1 VALUES (1), (2), (3);
525
507
UPDATE t1 SET a = 10;
526
508
ERROR 23000: Duplicate entry '10' for key 'PRIMARY'
527
509
INSERT INTO t1 VALUES (4);
528
 
Comparing tables master:test.t1 and slave:test.t1
 
510
include/diff_tables.inc [master:t1, slave:t1]
529
511
drop table t1;
530
512
DROP TABLE IF EXISTS t1, t2;
531
513
CREATE TABLE t1 (
579
561
DELETE FROM t2 WHERE `pk` < 7 LIMIT 1;
580
562
UPDATE t1 SET `int_key` = 4 ORDER BY `pk` LIMIT 6;
581
563
*** results: t2 must be consistent ****
582
 
Comparing tables master:test.t2 and master:test.t2
 
564
include/diff_tables.inc [master:t2, master:t2]
583
565
DROP TABLE t1, t2;
584
566
EOF OF TESTS
585
567
CREATE TABLE t1 (a int) ENGINE='NDB' ;
595
577
INSERT INTO t1 ( a ) VALUES ( 3 );
596
578
UPDATE t1 SET a = 0 WHERE a < 4;
597
579
UPDATE t1 SET a = 8 WHERE a < 5;
598
 
Comparing tables master:test.t1 and slave:test.t1
 
580
include/diff_tables.inc [master:t1, slave:t1]
599
581
drop table t1;
600
582
CREATE TABLE t1 (a bit) ENGINE='NDB' ;
601
583
INSERT IGNORE INTO t1 VALUES (NULL);
637
619
UPDATE t1 SET a = 8 WHERE a = 5 LIMIT 2;
638
620
INSERT INTO t1 ( a ) VALUES ( 1 );
639
621
UPDATE t1 SET a = 9 WHERE a < 5 LIMIT 3;
640
 
Comparing tables master:test.t1 and slave:test.t1
 
622
include/diff_tables.inc [master:t1, slave:t1]
641
623
drop table t1;
 
624
include/rpl_end.inc