mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
refs #4476 port fast update tests to 5.6
git-svn-id: file:///svn/mysql/tests/mysql-test@51339 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
f90ffae720
commit
634a08c528
10 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
set default_storage_engine='tokudb';
|
||||||
create table tt (id int primary key, x int);
|
create table tt (id int primary key, x int);
|
||||||
set session tokudb_enable_fast_upsert=1;
|
set session tokudb_enable_fast_upsert=1;
|
||||||
set session tokudb_disable_slow_upsert=1;
|
set session tokudb_disable_slow_upsert=1;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
set default_storage_engine='tokudb';
|
||||||
create table tt (id int primary key, x int);
|
create table tt (id int primary key, x int);
|
||||||
set session tokudb_enable_fast_upsert=1;
|
set session tokudb_enable_fast_upsert=1;
|
||||||
set session tokudb_disable_slow_upsert=1;
|
set session tokudb_disable_slow_upsert=1;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
set default_storage_engine='tokudb';
|
||||||
create table tt (id int primary key, x int);
|
create table tt (id int primary key, x int);
|
||||||
set session tokudb_enable_fast_upsert=1;
|
set session tokudb_enable_fast_upsert=1;
|
||||||
set session tokudb_disable_slow_upsert=1;
|
set session tokudb_disable_slow_upsert=1;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
drop table if exists t;
|
drop table if exists t;
|
||||||
|
set default_storage_engine='tokudb';
|
||||||
create table t (id bigint primary key, b bigint not null default 0);
|
create table t (id bigint primary key, b bigint not null default 0);
|
||||||
insert into t (id) values (1),(2);
|
insert into t (id) values (1),(2);
|
||||||
set session tokudb_enable_fast_update=1;
|
set session tokudb_enable_fast_update=1;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
drop table if exists t;
|
drop table if exists t;
|
||||||
|
set default_storage_engine='tokudb';
|
||||||
create table t (id bigint primary key, b bigint not null default 0);
|
create table t (id bigint primary key, b bigint not null default 0);
|
||||||
set session tokudb_enable_fast_upsert=1;
|
set session tokudb_enable_fast_upsert=1;
|
||||||
begin;
|
begin;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
source include/have_binlog_format_mixed.inc;
|
source include/have_binlog_format_mixed.inc;
|
||||||
source include/have_tokudb.inc;
|
source include/have_tokudb.inc;
|
||||||
|
|
||||||
|
set default_storage_engine='tokudb';
|
||||||
create table tt (id int primary key, x int);
|
create table tt (id int primary key, x int);
|
||||||
|
|
||||||
set session tokudb_enable_fast_upsert=1;
|
set session tokudb_enable_fast_upsert=1;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
source include/have_binlog_format_row.inc;
|
source include/have_binlog_format_row.inc;
|
||||||
source include/have_tokudb.inc;
|
source include/have_tokudb.inc;
|
||||||
|
|
||||||
|
set default_storage_engine='tokudb';
|
||||||
create table tt (id int primary key, x int);
|
create table tt (id int primary key, x int);
|
||||||
|
|
||||||
set session tokudb_enable_fast_upsert=1;
|
set session tokudb_enable_fast_upsert=1;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
source include/have_binlog_format_statement.inc;
|
source include/have_binlog_format_statement.inc;
|
||||||
source include/have_tokudb.inc;
|
source include/have_tokudb.inc;
|
||||||
|
|
||||||
|
set default_storage_engine='tokudb';
|
||||||
create table tt (id int primary key, x int);
|
create table tt (id int primary key, x int);
|
||||||
|
|
||||||
set session tokudb_enable_fast_upsert=1;
|
set session tokudb_enable_fast_upsert=1;
|
||||||
|
|
|
@ -4,6 +4,8 @@ disable_warnings;
|
||||||
drop table if exists t;
|
drop table if exists t;
|
||||||
enable_warnings;
|
enable_warnings;
|
||||||
|
|
||||||
|
set default_storage_engine='tokudb';
|
||||||
|
|
||||||
create table t (id bigint primary key, b bigint not null default 0);
|
create table t (id bigint primary key, b bigint not null default 0);
|
||||||
insert into t (id) values (1),(2);
|
insert into t (id) values (1),(2);
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,8 @@ disable_warnings;
|
||||||
drop table if exists t;
|
drop table if exists t;
|
||||||
enable_warnings;
|
enable_warnings;
|
||||||
|
|
||||||
|
set default_storage_engine='tokudb';
|
||||||
|
|
||||||
create table t (id bigint primary key, b bigint not null default 0);
|
create table t (id bigint primary key, b bigint not null default 0);
|
||||||
|
|
||||||
connect (conn1,localhost,root,,);
|
connect (conn1,localhost,root,,);
|
||||||
|
|
Loading…
Reference in a new issue