packages: mysql/innodb_admin_command_base.patch, mysql/innodb_buffer_pool_s...

arekm arekm at pld-linux.org
Thu Sep 8 20:24:21 CEST 2011


Author: arekm                        Date: Thu Sep  8 18:24:21 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3; update percona patches

---- Files affected:
packages/mysql:
   innodb_admin_command_base.patch (1.6 -> 1.7) , innodb_buffer_pool_shm.patch (1.7 -> 1.8) , innodb_deadlock_count.patch (1.7 -> 1.8) , innodb_separate_doublewrite.patch (1.9 -> 1.10) , innodb_show_sys_tables.patch (1.6 -> 1.7) , log_connection_error.patch (1.6 -> 1.7) , log_warnings_suppress.patch (1.5 -> 1.6) , memory_dynamic_rows.patch (1.1 -> 1.2) , microsec_process.patch (1.5 -> 1.6) , mysql.spec (1.558 -> 1.559) , processlist_row_stats.patch (1.3 -> 1.4) , query_cache_enhance.patch (1.7 -> 1.8) , response_time_distribution.patch (1.6 -> 1.7) , show_slave_status_nolock.patch (1.6 -> 1.7) , show_temp.patch (1.6 -> 1.7) , slow_extended.patch (1.7 -> 1.8) , sql_no_fcache.patch (1.6 -> 1.7) , userstat.patch (1.7 -> 1.8) , xtradb_bug317074.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mysql/innodb_admin_command_base.patch
diff -u packages/mysql/innodb_admin_command_base.patch:1.6 packages/mysql/innodb_admin_command_base.patch:1.7
--- packages/mysql/innodb_admin_command_base.patch:1.6	Thu Aug 25 12:08:46 2011
+++ packages/mysql/innodb_admin_command_base.patch	Thu Sep  8 20:24:14 2011
@@ -168,3 +168,18 @@
 +extern struct st_mysql_plugin	i_s_innodb_admin_command;
  
  #endif /* i_s_h */
+--- /dev/null
++++ b/mysql-test/r/percona_xtradb_admin_command.result
+@@ -0,0 +1,6 @@
++select * from information_schema.XTRADB_ADMIN_COMMAND;
++result_message
++No XTRA_* command in the SQL statement. Please add /*!XTRA_xxxx*/ to the SQL.
++select * from information_schema.XTRADB_ADMIN_COMMAND /*!XTRA_HELLO*/;
++result_message
++Hello!
+--- /dev/null
++++ b/mysql-test/t/percona_xtradb_admin_command.test
+@@ -0,0 +1,3 @@
++--source include/have_innodb.inc
++select * from information_schema.XTRADB_ADMIN_COMMAND;
++select * from information_schema.XTRADB_ADMIN_COMMAND /*!XTRA_HELLO*/;

================================================================
Index: packages/mysql/innodb_buffer_pool_shm.patch
diff -u packages/mysql/innodb_buffer_pool_shm.patch:1.7 packages/mysql/innodb_buffer_pool_shm.patch:1.8
--- packages/mysql/innodb_buffer_pool_shm.patch:1.7	Thu Aug 25 12:08:46 2011
+++ packages/mysql/innodb_buffer_pool_shm.patch	Thu Sep  8 20:24:14 2011
@@ -81,3 +81,19 @@
    MYSQL_SYSVAR(checksums),
    MYSQL_SYSVAR(fast_checksum),
    MYSQL_SYSVAR(commit_concurrency),
+--- /dev/null
++++ b/mysql-test/r/percona_innodb_buffer_pool_shm.result
+@@ -0,0 +1,4 @@
++show variables like 'innodb_buffer_pool_shm%';
++Variable_name	Value
++innodb_buffer_pool_shm_checksum	ON
++innodb_buffer_pool_shm_key	123456
+--- /dev/null
++++ b/mysql-test/t/percona_innodb_buffer_pool_shm-master.opt
+@@ -0,0 +1 @@
++--innodb_buffer_pool_shm_key=123456
+--- /dev/null
++++ b/mysql-test/t/percona_innodb_buffer_pool_shm.test
+@@ -0,0 +1,2 @@
++--source include/have_innodb.inc
++show variables like 'innodb_buffer_pool_shm%';

================================================================
Index: packages/mysql/innodb_deadlock_count.patch
diff -u packages/mysql/innodb_deadlock_count.patch:1.7 packages/mysql/innodb_deadlock_count.patch:1.8
--- packages/mysql/innodb_deadlock_count.patch:1.7	Thu Aug 25 12:08:46 2011
+++ packages/mysql/innodb_deadlock_count.patch	Thu Sep  8 20:24:14 2011
@@ -64,3 +64,98 @@
  #ifdef UNIV_DEBUG
  	export_vars.innodb_buffer_pool_pages_latched
  		= buf_get_latched_pages_number();
+--- /dev/null
++++ b/mysql-test/r/percona_innodb_deadlock_count.result
+@@ -0,0 +1,28 @@
++# Establish connection con1 (user=root)
++# Establish connection con2 (user=root)
++# Establish connection con3 (user=root)
++# Drop test table
++drop table if exists t;
++# Create test table
++create table t(a INT PRIMARY KEY, b INT) engine=InnoDB;
++# Insert two rows to test table
++insert into t values(2,1);
++insert into t values(1,2);
++# Switch to connection con1
++BEGIN;
++SELECT b FROM t WHERE a=1 FOR UPDATE;
++# Switch to connection con2
++BEGIN;
++SELECT b FROM t WHERE a=2 FOR UPDATE;
++# Switch to connection con1
++SELECT b FROM t WHERE a=2 FOR UPDATE;
++# Switch to connection con2
++SELECT b FROM t WHERE a=1 FOR UPDATE;
++# Switch to connection con1
++ROLLBACK;
++# Switch to connection con2
++ROLLBACK;
++# Switch to connection con3
++Deadlocks: 1
++# Drop test table
++drop table t;
+--- /dev/null
++++ b/mysql-test/t/percona_innodb_deadlock_count.test
+@@ -0,0 +1,61 @@
++--source include/have_innodb.inc
++--echo # Establish connection con1 (user=root)
++connect (con1,localhost,root,,);
++--echo # Establish connection con2 (user=root)
++connect (con2,localhost,root,,);
++--echo # Establish connection con3 (user=root)
++connect (con3,localhost,root,,);
++--echo # Drop test table
++--disable_warnings
++drop table if exists t;
++--enable_warnings
++
++--echo # Create test table
++create table t(a INT PRIMARY KEY, b INT) engine=InnoDB;
++--echo # Insert two rows to test table
++insert into t values(2,1);
++insert into t values(1,2);
++
++#--echo # Save current deadlock count
++let $current = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'Innodb_deadlocks'`;
++
++--disable_result_log
++
++--echo # Switch to connection con1
++connection con1;
++BEGIN; SELECT b FROM t WHERE a=1 FOR UPDATE;
++
++--echo # Switch to connection con2
++connection con2;
++BEGIN; SELECT b FROM t WHERE a=2 FOR UPDATE;
++
++--echo # Switch to connection con1
++connection con1;
++SEND SELECT b FROM t WHERE a=2 FOR UPDATE;
++
++--echo # Switch to connection con2
++connection con2;
++SEND SELECT b FROM t WHERE a=1 FOR UPDATE;
++
++--echo # Switch to connection con1
++connection con1;
++--error 0, ER_LOCK_DEADLOCK
++reap;
++ROLLBACK;
++
++--echo # Switch to connection con2
++connection con2;
++--error 0, ER_LOCK_DEADLOCK
++reap;
++ROLLBACK;
++
++--echo # Switch to connection con3
++connection con3;
++let $result = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'Innodb_deadlocks'`;
++
++--enable_result_log
++
++let $diff = `SELECT $result - $current`;
++echo Deadlocks: $diff;
++--echo # Drop test table
++drop table t;

================================================================
Index: packages/mysql/innodb_separate_doublewrite.patch
diff -u packages/mysql/innodb_separate_doublewrite.patch:1.9 packages/mysql/innodb_separate_doublewrite.patch:1.10
--- packages/mysql/innodb_separate_doublewrite.patch:1.9	Thu Aug 25 12:08:46 2011
+++ packages/mysql/innodb_separate_doublewrite.patch	Thu Sep  8 20:24:14 2011
@@ -1068,3 +1068,19 @@
  /*********************************************************************
  Creates the rollback segments */
  UNIV_INTERN
+--- /dev/null
++++ b/mysql-test/r/percona_innodb_doublewrite_file.result
+@@ -0,0 +1,4 @@
++show variables like 'innodb_doublewrite%';
++Variable_name	Value
++innodb_doublewrite	ON
++innodb_doublewrite_file	ib_doublewrite
+--- /dev/null
++++ b/mysql-test/t/percona_innodb_doublewrite_file-master.opt
+@@ -0,0 +1 @@
++--innodb_doublewrite_file=ib_doublewrite
+--- /dev/null
++++ b/mysql-test/t/percona_innodb_doublewrite_file.test
+@@ -0,0 +1,2 @@
++--source include/have_innodb.inc
++show variables like 'innodb_doublewrite%';

================================================================
Index: packages/mysql/innodb_show_sys_tables.patch
diff -u packages/mysql/innodb_show_sys_tables.patch:1.6 packages/mysql/innodb_show_sys_tables.patch:1.7
--- packages/mysql/innodb_show_sys_tables.patch:1.6	Thu Aug 25 12:08:46 2011
+++ packages/mysql/innodb_show_sys_tables.patch	Thu Sep  8 20:24:14 2011
@@ -1761,3 +1761,18 @@
  extern struct st_mysql_plugin	i_s_innodb_rseg;
  
  #endif /* i_s_h */
+--- /dev/null
++++ b/mysql-test/r/percona_innodb_use_sys_stats_table.result
+@@ -0,0 +1,3 @@
++show variables like 'innodb_use_sys_stats%';
++Variable_name	Value
++innodb_use_sys_stats_table	ON
+--- /dev/null
++++ b/mysql-test/t/percona_innodb_use_sys_stats_table-master.opt
+@@ -0,0 +1 @@
++--innodb_use_sys_stats_table
+--- /dev/null
++++ b/mysql-test/t/percona_innodb_use_sys_stats_table.test
+@@ -0,0 +1,2 @@
++--source include/have_innodb.inc
++show variables like 'innodb_use_sys_stats%';

================================================================
Index: packages/mysql/log_connection_error.patch
diff -u packages/mysql/log_connection_error.patch:1.6 packages/mysql/log_connection_error.patch:1.7
--- packages/mysql/log_connection_error.patch:1.6	Thu Aug 25 12:08:46 2011
+++ packages/mysql/log_connection_error.patch	Thu Sep  8 20:24:14 2011
@@ -49,3 +49,83 @@
        close_connection(thd, ER_OUT_OF_RESOURCES);
        errmsg= 0;
        goto errorconn;
+--- /dev/null
++++ b/mysql-test/r/percona_log_connection_error.result
+@@ -0,0 +1,16 @@
++SET @old_max_connections = @@max_connections;
++SET @old_log_warnings = @@log_warnings;
++SET GLOBAL max_connections=2;
++SET GLOBAL LOG_WARNINGS = 0;
++connect(localhost,root,,test,port,socket);
++ERROR HY000: Too many connections
++SET GLOBAL LOG_WARNINGS = 1;
++connect(localhost,root,,test,port,socket);
++ERROR HY000: Too many connections
++SET GLOBAL LOG_WARNINGS = 0;
++connect(localhost,root,,test,port,socket);
++ERROR HY000: Too many connections
++SET GLOBAL max_connections = @old_max_connections;
++SET GLOBAL log_warnings = @old_log_warnings;
++[log_grep.inc] file: percona.log_connection_error.err pattern: Too many connections
++[log_grep.inc] lines:   1
+--- /dev/null
++++ b/mysql-test/t/percona_log_connection_error-master.opt
+@@ -0,0 +1 @@
++--log-error
+--- /dev/null
++++ b/mysql-test/t/percona_log_connection_error.test
+@@ -0,0 +1,54 @@
++--source include/not_embedded.inc
++
++connect (main,localhost,root,,);
++connection main;
++SET @old_max_connections = @@max_connections;
++SET @old_log_warnings = @@log_warnings;
++SET GLOBAL max_connections=2;
++let $port=`SELECT Variable_value FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE Variable_name LIKE 'port'`;
++let $socket=`SELECT Variable_value FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE Variable_name LIKE 'socket'`;
++
++SET GLOBAL LOG_WARNINGS = 0;
++--connect (conn0,localhost,root,,)
++connection conn0;
++replace_result $port port $socket socket;
++--error 1040
++--connect(conn1,localhost,root,,)
++disconnect conn0;
++SLEEP 0.1; # tsarev: hack, but i don't know (and didn't find) how right
++
++connection main;
++SET GLOBAL LOG_WARNINGS = 1;
++--connect (conn1,localhost,root,,)
++replace_result $port port $socket socket;
++--error 1040
++--connect (conn0,localhost,root,,)
++disconnect conn1;
++SLEEP 0.1; # tsarev: hack, but i don't know (and didn't find) how right
++
++connection main;
++SET GLOBAL LOG_WARNINGS = 0;
++--connect (conn0,localhost,root,,)
++replace_result $port port $socket socket;
++--error 1040
++--connect(conn1,localhost,root,,)
++disconnect conn0;
++SLEEP 0.1; # tsarev: hack, but i don't know (and didn't find) how right
++
++connection main;
++SET GLOBAL max_connections = @old_max_connections;
++SET GLOBAL log_warnings = @old_log_warnings;
++let $log_error_= `SELECT @@GLOBAL.log_error`;
++if(!`select LENGTH('$log_error_')`)
++{
++  # MySQL Server on windows is started with --console and thus
++  # does not know the location of its .err log, use default location
++  let $log_error_ = $MYSQLTEST_VARDIR/log/mysqld.1.err;
++}
++
++--let log_error=$log_error_
++--let log_file=percona.log_connection_error.err
++--let log_file_full_path=$log_error
++--let grep_pattern= Too many connections
++--source include/log_grep.inc
++

================================================================
Index: packages/mysql/log_warnings_suppress.patch
diff -u packages/mysql/log_warnings_suppress.patch:1.5 packages/mysql/log_warnings_suppress.patch:1.6
--- packages/mysql/log_warnings_suppress.patch:1.5	Thu Aug 25 12:08:46 2011
+++ packages/mysql/log_warnings_suppress.patch	Thu Sep  8 20:24:14 2011
@@ -78,3 +78,91 @@
  static Sys_var_ulong Sys_preload_buff_size(
         "preload_buffer_size",
         "The size of the buffer that is allocated when preloading indexes",
+--- /dev/null
++++ b/mysql-test/r/percona_log_warnings_suppress.result
+@@ -0,0 +1,31 @@
++SET @old_log_warnings = @@log_warnings;
++SET @old_log_warnings_suppress = @@log_warnings_suppress;
++DROP TABLE IF EXISTS t1;
++CREATE TABLE t1 (a VARCHAR(36), b VARCHAR(20));
++SET GLOBAL log_warnings_suppress='';
++SET GLOBAL LOG_WARNINGS=0;
++SHOW GLOBAL VARIABLES LIKE 'log_warnings_suppress';
++Variable_name	Value
++log_warnings_suppress	
++INSERT INTO t1 VALUES(UUID(), 'suppress_1592');
++Warnings:
++Note	1592	Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system function that may return a different value on the slave.
++SET GLOBAL LOG_WARNINGS=1;
++INSERT INTO t1 VALUES(UUID(), 'suppress_1592');
++Warnings:
++Note	1592	Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system function that may return a different value on the slave.
++SET GLOBAL log_warnings_suppress='1592';
++SET GLOBAL LOG_WARNINGS=0;
++INSERT INTO t1 VALUES(UUID(), 'suppress_1592');
++Warnings:
++Note	1592	Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system function that may return a different value on the slave.
++SET GLOBAL LOG_WARNINGS=1;
++INSERT INTO t1 VALUES(UUID(), 'suppress_1592');
++Warnings:
++Note	1592	Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system function that may return a different value on the slave.
++DROP TABLE t1;
++SET GLOBAL log_warnings = @old_log_warnings;
++SET GLOBAL log_warnings_suppress = @old_log_warnings_suppress;
++# Count the number of times the "Unsafe" message was printed
++# to the error log.
++Occurrences: 1
+--- /dev/null
++++ b/mysql-test/t/percona_log_warnings_suppress-master.opt
+@@ -0,0 +1 @@
++--log-error
+--- /dev/null
++++ b/mysql-test/t/percona_log_warnings_suppress.test
+@@ -0,0 +1,47 @@
++-- source include/have_log_bin.inc
++-- source include/have_binlog_format_statement.inc
++
++SET @old_log_warnings = @@log_warnings;
++SET @old_log_warnings_suppress = @@log_warnings_suppress;
++
++--disable_warnings
++DROP TABLE IF EXISTS t1;
++--enable_warnings
++CREATE TABLE t1 (a VARCHAR(36), b VARCHAR(20));
++SET GLOBAL log_warnings_suppress='';
++SET GLOBAL LOG_WARNINGS=0;
++SHOW GLOBAL VARIABLES LIKE 'log_warnings_suppress';
++INSERT INTO t1 VALUES(UUID(), 'suppress_1592');
++SET GLOBAL LOG_WARNINGS=1;
++INSERT INTO t1 VALUES(UUID(), 'suppress_1592');
++SET GLOBAL log_warnings_suppress='1592';
++SET GLOBAL LOG_WARNINGS=0;
++INSERT INTO t1 VALUES(UUID(), 'suppress_1592');
++SET GLOBAL LOG_WARNINGS=1;
++INSERT INTO t1 VALUES(UUID(), 'suppress_1592');
++DROP TABLE t1;
++
++SET GLOBAL log_warnings = @old_log_warnings;
++SET GLOBAL log_warnings_suppress = @old_log_warnings_suppress;
++
++let $log_error_= `SELECT @@GLOBAL.log_error`;
++if(!`select LENGTH('$log_error_')`)
++{
++  # MySQL Server on windows is started with --console and thus
++  # does not know the location of its .err log, use default location
++  let $log_error_ = $MYSQLTEST_VARDIR/log/mysqld.1.err;
++}
++# Assign env variable LOG_ERROR
++let LOG_ERROR=$log_error_;
++
++--echo # Count the number of times the "Unsafe" message was printed
++--echo # to the error log.
++
++perl;
++  use strict;
++  my $log_error= $ENV{'LOG_ERROR'} or die "LOG_ERROR not set";
++  open(FILE, "$log_error") or die("Unable to open $log_error: $!\n");
++  my $count = () = grep(/suppress_1592/g,<FILE>);
++  print "Occurrences: $count\n";
++  close(FILE);
++EOF

================================================================
Index: packages/mysql/memory_dynamic_rows.patch
diff -u packages/mysql/memory_dynamic_rows.patch:1.1 packages/mysql/memory_dynamic_rows.patch:1.2
--- packages/mysql/memory_dynamic_rows.patch:1.1	Thu Aug 25 12:08:46 2011
+++ packages/mysql/memory_dynamic_rows.patch	Thu Sep  8 20:24:14 2011
@@ -2830,3 +2830,2461 @@
 +
    DBUG_RETURN(my_errno);
  } /* heap_update */
+--- /dev/null
++++ b/mysql-test/r/percona_heap_blob.result
+@@ -0,0 +1,952 @@
++SET @old_default_storage_engine=@@default_storage_engine;
++SET default_storage_engine=MEMORY;
++drop table if exists t1,t2,t3,t4,t5,t6,t7;
++CREATE TABLE t1 (a blob, b text, c blob(250), d text(70000), e text(70000000));
++show columns from t1;
++Field	Type	Null	Key	Default	Extra
++a	blob	YES		NULL	
++b	text	YES		NULL	
++c	tinyblob	YES		NULL	
++d	mediumtext	YES		NULL	
++e	longtext	YES		NULL	
++CREATE TABLE t2 (a char(255), b varbinary(70000), c varchar(70000000));
++Warnings:
++Note	1246	Converting column 'b' from VARBINARY to BLOB
++Note	1246	Converting column 'c' from VARCHAR to TEXT
++CREATE TABLE t4 (c varchar(65530) character set utf8 not null);
++Warnings:
++Note	1246	Converting column 'c' from VARCHAR to TEXT
++show columns from t2;
++Field	Type	Null	Key	Default	Extra
++a	char(255)	YES		NULL	
++b	mediumblob	YES		NULL	
++c	longtext	YES		NULL	
++create table t3 (a long, b long byte);
++show create TABLE t3;
++Table	Create Table
++t3	CREATE TABLE `t3` (
++  `a` mediumtext,
++  `b` mediumblob
++) ENGINE=MEMORY DEFAULT CHARSET=latin1
++show create TABLE t4;
++Table	Create Table
++t4	CREATE TABLE `t4` (
++  `c` mediumtext CHARACTER SET utf8 NOT NULL
++) ENGINE=MEMORY DEFAULT CHARSET=latin1
++drop table t1,t2,t3,t4;
++CREATE TABLE t1 (a char(257) default "hello");
++ERROR 42000: Column length too big for column 'a' (max = 255); use BLOB or TEXT instead
++CREATE TABLE t2 (a char(256));
++ERROR 42000: Column length too big for column 'a' (max = 255); use BLOB or TEXT instead
++CREATE TABLE t1 (a varchar(70000) default "hello");
++ERROR 42000: Column length too big for column 'a' (max = 65535); use BLOB or TEXT instead
++CREATE TABLE t2 (a blob default "hello");
++ERROR 42000: BLOB/TEXT column 'a' can't have a default value
++drop table if exists t1,t2;
++create table t1 (nr int(5) not null auto_increment,b blob,str char(10), primary key (nr));
++insert into t1 values (null,"a","A");
++insert into t1 values (null,"bbb","BBB");
++insert into t1 values (null,"ccc","CCC");
++select last_insert_id();
++last_insert_id()
++3
++select * from t1,t1 as t2;
++nr	b	str	nr	b	str
++1	a	A	1	a	A
++2	bbb	BBB	1	a	A
++3	ccc	CCC	1	a	A
++1	a	A	2	bbb	BBB
++2	bbb	BBB	2	bbb	BBB
++3	ccc	CCC	2	bbb	BBB
++1	a	A	3	ccc	CCC
++2	bbb	BBB	3	ccc	CCC
++3	ccc	CCC	3	ccc	CCC
++drop table t1;
++create table t1 (a text);
++insert into t1 values ('where');
++update t1 set a='Where';
++select * from t1;
++a
++Where
++drop table t1;
++create table t1 (t text,c char(10),b blob, d varbinary(10));
++insert into t1 values (NULL,NULL,NULL,NULL);
++insert into t1 values ("","","","");
++insert into t1 values ("hello","hello","hello","hello");
++insert into t1 values ("HELLO","HELLO","HELLO","HELLO");
++insert into t1 values ("HELLO MY","HELLO MY","HELLO MY","HELLO MY");
++insert into t1 values ("a","a","a","a");
++insert into t1 values (1,1,1,1);
++insert into t1 values (NULL,NULL,NULL,NULL);
++update t1 set c="",b=null where c="1";
++lock tables t1 READ;
++show full fields from t1;
++Field	Type	Collation	Null	Key	Default	Extra	Privileges	Comment
++t	text	latin1_swedish_ci	YES		NULL		#	
++c	char(10)	latin1_swedish_ci	YES		NULL		#	
++b	blob	NULL	YES		NULL		#	
++d	varbinary(10)	NULL	YES		NULL		#	
++lock tables t1 WRITE;
++show full fields from t1;
++Field	Type	Collation	Null	Key	Default	Extra	Privileges	Comment
++t	text	latin1_swedish_ci	YES		NULL		#	
++c	char(10)	latin1_swedish_ci	YES		NULL		#	
++b	blob	NULL	YES		NULL		#	
++d	varbinary(10)	NULL	YES		NULL		#	
++unlock tables;
++select t from t1 where t like "hello";
++t
++hello
++HELLO
++select c from t1 where c like "hello";
++c
++hello
++HELLO
++select b from t1 where b like "hello";
++b
++hello
++select d from t1 where d like "hello";
++d
++hello
++select c from t1 having c like "hello";
++c
++hello
++HELLO
++select d from t1 having d like "hello";
++d
++hello
++select t from t1 where t like "%HELLO%";
++t
++hello
++HELLO
++HELLO MY
++select c from t1 where c like "%HELLO%";
++c
++hello
++HELLO
++HELLO MY
++select b from t1 where b like "%HELLO%";
++b
++HELLO
++HELLO MY
++select d from t1 where d like "%HELLO%";
++d
++HELLO
++HELLO MY
++select c from t1 having c like "%HELLO%";
++c
++hello
++HELLO
++HELLO MY
++select d from t1 having d like "%HELLO%";
++d
++HELLO
++HELLO MY
++select d from t1 having d like "%HE%LLO%";
++d
++HELLO
++HELLO MY
++select t from t1 order by t;
++t
++NULL
++NULL
++
++1
++a
++hello
++HELLO
++HELLO MY
++select c from t1 order by c;
++c
++NULL
++NULL
++
++
++a
++hello
++HELLO
++HELLO MY
++select b from t1 order by b;
++b
++NULL
++NULL
++NULL
++
++HELLO
++HELLO MY
++a
++hello
++select d from t1 order by d;
++d
++NULL
++NULL
++
++1
++HELLO
++HELLO MY
++a
++hello
++select distinct t from t1;
++t
++NULL
++
++hello
++HELLO MY
++a
++1
++select distinct b from t1;
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/innodb_admin_command_base.patch?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/innodb_buffer_pool_shm.patch?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/innodb_deadlock_count.patch?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/innodb_separate_doublewrite.patch?r1=1.9&r2=1.10&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/innodb_show_sys_tables.patch?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/log_connection_error.patch?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/log_warnings_suppress.patch?r1=1.5&r2=1.6&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/memory_dynamic_rows.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/microsec_process.patch?r1=1.5&r2=1.6&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/mysql.spec?r1=1.558&r2=1.559&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/processlist_row_stats.patch?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/query_cache_enhance.patch?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/response_time_distribution.patch?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/show_slave_status_nolock.patch?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/show_temp.patch?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/slow_extended.patch?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/sql_no_fcache.patch?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/userstat.patch?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list