~percona-dev/percona-server/release-5.5.11-20.2-fix-bug-764138

« back to all changes in this revision

Viewing changes to mysql-test.diff

  • Committer: Ignacio Nin
  • Date: 2011-03-27 18:30:06 UTC
  • mfrom: (88.2.3 5.5.10)
  • Revision ID: ignacio.nin@percona.com-20110327183006-ij0o2pdyhzaerish
Merge 5.5.10 changes

Merge 5.5.10 changes to release-5.5.9-20.1 in order to create release-5.5.10-20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
diff -ruN a/mysql-test/r/create.result b/mysql-test/r/create.result
34
34
--- a/mysql-test/r/create.result        2010-11-03 07:01:12.000000000 +0900
35
35
+++ b/mysql-test/r/create.result        2010-12-10 16:48:11.001009442 +0900
36
 
@@ -1741,7 +1741,8 @@
 
36
@@ -1741,7 +1741,11 @@
37
37
   `COMMAND` varchar(16) NOT NULL DEFAULT '',
38
38
   `TIME` int(7) NOT NULL DEFAULT '0',
39
39
   `STATE` varchar(64) DEFAULT NULL,
40
40
-  `INFO` longtext
41
41
+  `INFO` longtext,
42
 
+  `TIME_MS` bigint(21) NOT NULL DEFAULT '0'
 
42
+  `TIME_MS` bigint(21) NOT NULL DEFAULT '0',
 
43
+  `ROWS_SENT` bigint(21) unsigned NOT NULL DEFAULT '0',
 
44
+  `ROWS_EXAMINED` bigint(21) unsigned NOT NULL DEFAULT '0',
 
45
+  `ROWS_READ` bigint(21) unsigned NOT NULL DEFAULT '0'
43
46
 ) ENGINE=MyISAM DEFAULT CHARSET=utf8
44
47
 drop table t1;
45
48
 create temporary table t1 like information_schema.processlist;
46
 
@@ -1755,7 +1756,8 @@
 
49
@@ -1755,7 +1759,11 @@
47
50
   `COMMAND` varchar(16) NOT NULL DEFAULT '',
48
51
   `TIME` int(7) NOT NULL DEFAULT '0',
49
52
   `STATE` varchar(64) DEFAULT NULL,
50
53
-  `INFO` longtext
51
54
+  `INFO` longtext,
52
 
+  `TIME_MS` bigint(21) NOT NULL DEFAULT '0'
 
55
+  `TIME_MS` bigint(21) NOT NULL DEFAULT '0',
 
56
+  `ROWS_SENT` bigint(21) unsigned NOT NULL DEFAULT '0',
 
57
+  `ROWS_EXAMINED` bigint(21) unsigned NOT NULL DEFAULT '0',
 
58
+  `ROWS_READ` bigint(21) unsigned NOT NULL DEFAULT '0'
53
59
 ) ENGINE=MyISAM DEFAULT CHARSET=utf8
54
60
 drop table t1;
55
61
 create table t1 like information_schema.character_sets;
323
329
diff -ruN a/mysql-test/r/mysqld--help-notwin.result b/mysql-test/r/mysqld--help-notwin.result
324
330
--- a/mysql-test/r/mysqld--help-notwin.result   2011-01-20 00:37:09.000000000 +0200
325
331
+++ b/mysql-test/r/mysqld--help-notwin.result   2011-02-18 13:14:44.701736864 +0200
326
 
@@ -249,21 +249,43 @@
 
332
@@ -250,21 +250,43 @@
327
333
  --log-slow-admin-statements 
328
334
  Log slow OPTIMIZE, ANALYZE, ALTER and other
329
335
  administrative statements to the slow log if it is open.
369
375
  --long-query-time=# Log all queries that have taken more than long_query_time
370
376
  seconds to execute to file. The argument will be treated
371
377
  as a decimal value with microsecond precision
372
 
@@ -470,6 +492,10 @@
 
378
@@ -471,6 +493,10 @@
373
379
  The minimum size for blocks allocated by the query cache
374
380
  --query-cache-size=# 
375
381
  The memory allocated to store results from old queries
380
386
  --query-cache-type=name 
381
387
  OFF = Don't cache or retrieve results. ON = Cache all
382
388
  results except SELECT SQL_NO_CACHE ... queries. DEMAND =
383
 
@@ -478,6 +504,12 @@
 
389
@@ -479,6 +505,12 @@
384
390
  Invalidate queries in query cache on LOCK for write
385
391
  --query-prealloc-size=# 
386
392
  Persistent buffer for query parsing and execution
393
399
  --range-alloc-block-size=# 
394
400
  Allocation block size for storing ranges during
395
401
  optimization
396
 
@@ -655,6 +687,9 @@
 
402
@@ -656,6 +688,9 @@
397
403
  Log slow queries to given log file. Defaults logging to
398
404
  hostname-slow.log. Must be enabled to activate other slow
399
405
  log options
403
409
  --socket=name       Socket file to use for connection
404
410
  --sort-buffer-size=# 
405
411
  Each thread that needs to do a sort allocates a buffer of
406
 
@@ -697,6 +732,8 @@
 
412
@@ -698,6 +733,8 @@
407
413
  Define threads usage for handling queries, one of
408
414
  one-thread-per-connection, no-threads, loaded-dynamically
409
415
  --thread-stack=#    The stack size for each thread
412
418
  --time-format=name  The TIME format (ignored)
413
419
  --timed-mutexes     Specify whether to time mutexes (only InnoDB mutexes are
414
420
  currently supported)
415
 
@@ -721,11 +758,24 @@
 
421
@@ -722,11 +759,24 @@
416
422
  Prohibit update of a VIEW, which does not contain a key
417
423
  of the underlying table and the query uses a LIMIT clause
418
424
  (usually get from GUI tools)
437
443
 
438
444
 Variables (--variable-name=value)
439
445
 abort-slave-event-count 0
440
 
@@ -807,10 +857,16 @@
 
446
@@ -809,10 +859,16 @@
441
447
 log-short-format FALSE
442
448
 log-slave-updates FALSE
443
449
 log-slow-admin-statements FALSE
454
460
 long-query-time 10
455
461
 low-priority-updates FALSE
456
462
 lower-case-table-names 1
457
 
@@ -885,9 +941,12 @@
 
463
@@ -887,9 +943,12 @@
458
464
 query-cache-limit 1048576
459
465
 query-cache-min-res-unit 4096
460
466
 query-cache-size 0
467
473
 range-alloc-block-size 4096
468
474
 read-buffer-size 131072
469
475
 read-only FALSE
470
 
@@ -922,6 +981,7 @@
 
476
@@ -924,6 +983,7 @@
471
477
 slave-type-conversions 
472
478
 slow-launch-time 2
473
479
 slow-query-log FALSE
475
481
 sort-buffer-size 2097152
476
482
 sporadic-binlog-dump-fail FALSE
477
483
 sql-mode 
478
 
@@ -939,6 +999,7 @@
 
484
@@ -941,6 +1001,7 @@
479
485
 thread-cache-size 0
480
486
 thread-handling one-thread-per-connection
481
487
 thread-stack 262144
483
489
 time-format %H:%i:%s
484
490
 timed-mutexes FALSE
485
491
 tmp-table-size 16777216
486
 
@@ -946,8 +1007,11 @@
 
492
@@ -948,8 +1009,11 @@
487
493
 transaction-isolation REPEATABLE-READ
488
494
 transaction-prealloc-size 4096
489
495
 updatable-views-with-limit YES
672
678
diff -ruN a/mysql-test/suite/sys_vars/r/all_vars.result b/mysql-test/suite/sys_vars/r/all_vars.result
673
679
--- a/mysql-test/suite/sys_vars/r/all_vars.result       2011-01-20 00:37:09.000000000 +0200
674
680
+++ b/mysql-test/suite/sys_vars/r/all_vars.result       2011-02-21 02:01:47.873337692 +0200
675
 
@@ -11,7 +11,99 @@
 
681
@@ -11,9 +11,99 @@
676
682
 select variable_name as `There should be *no* variables listed below:` from t2
677
683
 left join t1 on variable_name=test_name where test_name is null;
678
684
 There should be *no* variables listed below:
697
703
+INNODB_CHECKPOINT_AGE_TARGET
698
704
+LOG_SLOW_SLAVE_STATEMENTS
699
705
+INNODB_ADAPTIVE_FLUSHING_METHOD
700
 
+INNODB_STATS_METHOD
 
706
 INNODB_STATS_METHOD
701
707
+HAVE_RESPONSE_TIME_DISTRIBUTION
702
708
+LOG_SLOW_RATE_LIMIT
703
709
+OPTIMIZER_FIX
744
750
+INNODB_CHECKPOINT_AGE_TARGET
745
751
+LOG_SLOW_SLAVE_STATEMENTS
746
752
+INNODB_ADAPTIVE_FLUSHING_METHOD
747
 
+INNODB_STATS_METHOD
 
753
 INNODB_STATS_METHOD
748
754
+HAVE_RESPONSE_TIME_DISTRIBUTION
749
755
+LOG_SLOW_RATE_LIMIT
750
756
+OPTIMIZER_FIX
838
844
 --source include/wait_until_count_sessions.inc
839
845
 
840
846
+set global log_warnings=1;
 
847
diff -ruN a/mysql-test/r/show_check.result b/mysql-test/r/show_check.result
 
848
--- a/mysql-test/r/show_check.result    2011-01-20 00:37:09.000000000 +0200
 
849
+++ b/mysql-test/r/show_check.result    2011-03-09 13:05:40.506397491 +0200
 
850
@@ -1537,14 +1537,14 @@
 
851
 SET NAMES latin1;
 
852
 SELECT GET_LOCK('t',1000) AS 'óóóó';;
 
853
 SHOW PROCESSLIST;
 
854
-Id     User    Host    db      Command Time    State   Info
 
855
-###    root    ###     test    Query   ###     ###     SHOW PROCESSLIST
 
856
-###    root    ###     test    Query   ###     ###     SELECT GET_LOCK('t',1000) AS 'óóóó'
 
857
+Id     User    Host    db      Command Time    State   Info    Rows_sent       Rows_examined   Rows_read
 
858
+###    root    ###     test    Query   ###     ###     SHOW PROCESSLIST        ###     ###     ###
 
859
+###    root    ###     test    Query   ###     ###     SELECT GET_LOCK('t',1000) AS 'óóóó'     ###     ###     ###
 
860
 SET NAMES utf8;
 
861
 SHOW PROCESSLIST;
 
862
-Id     User    Host    db      Command Time    State   Info
 
863
-###    root    ###     test    Query   ###     ###     SHOW PROCESSLIST
 
864
-###    root    ###     test    Query   ###     ###     SELECT GET_LOCK('t',1000) AS 'óóóó'
 
865
+Id     User    Host    db      Command Time    State   Info    Rows_sent       Rows_examined   Rows_read
 
866
+###    root    ###     test    Query   ###     ###     SHOW PROCESSLIST        ###     ###     ###
 
867
+###    root    ###     test    Query   ###     ###     SELECT GET_LOCK('t',1000) AS 'óóóó' ###     ###     ###
 
868
 SELECT RELEASE_LOCK('t');
 
869
 RELEASE_LOCK('t')
 
870
 1
 
871
diff -ruN a/mysql-test/r/sp-threads.result b/mysql-test/r/sp-threads.result
 
872
--- a/mysql-test/r/sp-threads.result    2011-01-20 00:37:09.000000000 +0200
 
873
+++ b/mysql-test/r/sp-threads.result    2011-03-09 13:05:40.507397405 +0200
 
874
@@ -33,11 +33,11 @@
 
875
 lock tables t2 write;
 
876
 call bug9486();
 
877
 show processlist;
 
878
-Id     User    Host    db      Command Time    State   Info
 
879
-#      root    localhost       test    Sleep   #               NULL
 
880
-#      root    localhost       test    Query   #       Waiting for table metadata lock update t1, t2 set val= 1 where id1=id2
 
881
-#      root    localhost       test    Query   #       NULL    show processlist
 
882
-#      root    localhost       test    Sleep   #               NULL
 
883
+Id     User    Host    db      Command Time    State   Info    Rows_sent       Rows_examined   Rows_read
 
884
+#      root    localhost       test    Sleep   #               NULL    #       #       #
 
885
+#      root    localhost       test    Query   #       Waiting for table metadata lock update t1, t2 set val= 1 where id1=id2  #       #       #
 
886
+#      root    localhost       test    Query   #       NULL    show processlist        #       #       #
 
887
+#      root    localhost       test    Sleep   #               NULL    #       #       #
 
888
 unlock tables;
 
889
 drop procedure bug9486;
 
890
 drop table t1, t2;
 
891
diff -ruN a/mysql-test/t/show_check.test b/mysql-test/t/show_check.test
 
892
--- a/mysql-test/t/show_check.test      2011-01-20 00:37:09.000000000 +0200
 
893
+++ b/mysql-test/t/show_check.test      2011-03-09 13:05:40.500398012 +0200
 
894
@@ -1375,10 +1375,10 @@
 
895
 let $wait_timeout= 10;
 
896
 let $wait_condition= SELECT COUNT(*) FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%GET_LOCK%' AND ID != CONNECTION_ID();
 
897
 --source include/wait_condition.inc
 
898
---replace_column 1 ### 3 ### 6 ### 7 ###
 
899
+--replace_column 1 ### 3 ### 6 ### 7 ### 9 ### 10 ### 11 ###
 
900
 SHOW PROCESSLIST;
 
901
 SET NAMES utf8;
 
902
---replace_column 1 ### 3 ### 6 ### 7 ###
 
903
+--replace_column 1 ### 3 ### 6 ### 7 ### 9 ### 10 ### 11 ###
 
904
 SHOW PROCESSLIST;
 
905
 SELECT RELEASE_LOCK('t');
 
906
 --connection con1
 
907
diff -ruN a/mysql-test/t/sp-threads.test b/mysql-test/t/sp-threads.test
 
908
--- a/mysql-test/t/sp-threads.test      2011-01-20 00:37:09.000000000 +0200
 
909
+++ b/mysql-test/t/sp-threads.test      2011-03-09 13:05:40.501397925 +0200
 
910
@@ -81,7 +81,7 @@
 
911
 connection con2root;
 
912
 --sleep 2
 
913
 # There should be call statement in locked state.
 
914
---replace_column 1 # 3 localhost 6 #
 
915
+--replace_column 1 # 3 localhost 6 # 9 # 10 # 11 #
 
916
 show processlist;
 
917
 unlock tables;
 
918
 connection con1root;