mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
merge
This commit is contained in:
@ -412,6 +412,7 @@ Variable_name Value
|
||||
Key_blocks_not_flushed 0
|
||||
Key_blocks_unused KEY_BLOCKS_UNUSED
|
||||
Key_blocks_used 4
|
||||
Key_blocks_warm 0
|
||||
Key_read_requests 22
|
||||
Key_reads 0
|
||||
Key_write_requests 26
|
||||
@ -459,6 +460,7 @@ Variable_name Value
|
||||
Key_blocks_not_flushed 0
|
||||
Key_blocks_unused KEY_BLOCKS_UNUSED
|
||||
Key_blocks_used 4
|
||||
Key_blocks_warm 0
|
||||
Key_read_requests 22
|
||||
Key_reads 0
|
||||
Key_write_requests 26
|
||||
@ -501,6 +503,7 @@ Variable_name Value
|
||||
Key_blocks_not_flushed 0
|
||||
Key_blocks_unused KEY_BLOCKS_UNUSED
|
||||
Key_blocks_used 4
|
||||
Key_blocks_warm 0
|
||||
Key_read_requests 22
|
||||
Key_reads 0
|
||||
Key_write_requests 26
|
||||
|
@ -4,6 +4,7 @@ drop procedure if exists p_verify_reprepare_count;
|
||||
drop procedure if exists p1;
|
||||
drop function if exists f1;
|
||||
drop view if exists v1, v2;
|
||||
TRUNCATE TABLE mysql.general_log;
|
||||
create procedure p_verify_reprepare_count(expected int)
|
||||
begin
|
||||
declare old_reprepare_count int default @reprepare_count;
|
||||
|
@ -3,8 +3,8 @@
|
||||
# This test verifies if loading data infile will work fine
|
||||
# if the path of the load data file is a symbolic link.
|
||||
#
|
||||
--source include/master-slave.inc
|
||||
--source include/not_windows.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_statement.inc
|
||||
|
||||
create table t1(a int not null auto_increment, b int, primary key(a) );
|
||||
|
@ -407,7 +407,7 @@ let $rows = 1;
|
||||
--source suite/vcol/inc/vcol_supported_sql_funcs.inc
|
||||
|
||||
--echo # LIKE
|
||||
let $cols = a varchar(10), b bool as (a like 'H%o');
|
||||
let $cols = a varchar(10), b bool as (a like 'H%!o' escape '!');
|
||||
let $values1 = 'Hello',default;
|
||||
let $values2 = 'MySQL',default;
|
||||
let $rows = 2;
|
||||
|
@ -968,12 +968,12 @@ drop table t1;
|
||||
set sql_warnings = 0;
|
||||
# LIKE
|
||||
set sql_warnings = 1;
|
||||
create table t1 (a varchar(10), b bool as (a like 'H%o'));
|
||||
create table t1 (a varchar(10), b bool as (a like 'H%!o' escape '!'));
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` varchar(10) DEFAULT NULL,
|
||||
`b` tinyint(1) AS (a like 'H%o') VIRTUAL
|
||||
`b` tinyint(1) AS (a like 'H%!o' escape '!') VIRTUAL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
insert into t1 values ('Hello',default);
|
||||
insert into t1 values ('MySQL',default);
|
||||
|
@ -968,12 +968,12 @@ drop table t1;
|
||||
set sql_warnings = 0;
|
||||
# LIKE
|
||||
set sql_warnings = 1;
|
||||
create table t1 (a varchar(10), b bool as (a like 'H%o'));
|
||||
create table t1 (a varchar(10), b bool as (a like 'H%!o' escape '!'));
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` varchar(10) DEFAULT NULL,
|
||||
`b` tinyint(1) AS (a like 'H%o') VIRTUAL
|
||||
`b` tinyint(1) AS (a like 'H%!o' escape '!') VIRTUAL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
insert into t1 values ('Hello',default);
|
||||
insert into t1 values ('MySQL',default);
|
||||
|
@ -58,6 +58,10 @@ drop function if exists f1;
|
||||
drop view if exists v1, v2;
|
||||
--enable_warnings
|
||||
|
||||
# Avoid selecting from a huge table possibly left over from previous tests,
|
||||
# as this really hurts --valgrind testing.
|
||||
TRUNCATE TABLE mysql.general_log;
|
||||
|
||||
delimiter |;
|
||||
create procedure p_verify_reprepare_count(expected int)
|
||||
begin
|
||||
|
Reference in New Issue
Block a user