mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
76f0b94bb0
sql/sql_insert.cc: CREATE ... IF NOT EXISTS may do nothing, but it is still not a failure. don't forget to my_ok it. ****** CREATE ... IF NOT EXISTS may do nothing, but it is still not a failure. don't forget to my_ok it. sql/sql_table.cc: small cleanup ****** small cleanup
31 lines
1.1 KiB
PHP
31 lines
1.1 KiB
PHP
# Setup things for handler.inc
|
|
#
|
|
# Input variables
|
|
# $engine_type -- storage engine to be tested
|
|
# using btree -- set if you want a non standard key type
|
|
#
|
|
# This scripts sets up default values for:
|
|
# $other_handler_engine_type -- storage engine <> $engine_type, if possible
|
|
# 1. $other_handler_engine_type must support handler
|
|
# 2. $other_handler_engine_type must point to an all
|
|
# time available storage engine
|
|
# have to be set before sourcing this script.
|
|
#
|
|
# Handler tests don't work with embedded server
|
|
#
|
|
-- source include/not_embedded.inc
|
|
|
|
eval SET SESSION STORAGE_ENGINE = $engine_type;
|
|
let $other_handler_engine_type= MyISAM;
|
|
|
|
--disable_warnings
|
|
drop table if exists t1,t3,t4,t5;
|
|
--enable_warnings
|
|
|
|
# Create default test table
|
|
|
|
create table t1 (a int, b char(10), key a using btree (a), key b using btree (a,b));
|
|
insert into t1 values
|
|
(17,"ddd"),(18,"eee"),(19,"fff"),(19,"yyy"),
|
|
(14,"aaa"),(16,"ccc"),(16,"xxx"),
|
|
(20,"ggg"),(21,"hhh"),(22,"iii"),(23,"xxx"),(24,"xxx"),(25,"xxx");
|