mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
0f50bfa486
Added --use-threads option for porting to Windows.
145 lines
4.4 KiB
Text
145 lines
4.4 KiB
Text
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
set storage_engine=`heap`;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
create table t2(foo1 varchar(32), foo2 varchar(32));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
insert into t2 values ('test', 'test2');
|
|
select * from t1;
|
|
select * from t2;
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
CREATE SCHEMA `mysqlslap`;
|
|
use mysqlslap;
|
|
set storage_engine=`myisam`;
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
create table t2(foo1 varchar(32), foo2 varchar(32));
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
insert into t2 values ('test', 'test2');
|
|
select * from t1;
|
|
select * from t2;
|
|
select * from t1;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|