mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
00a44542e6
- Terminate loop not only when the limit is met, but alse when there is no more stmts client/mysqlslap.c: Terminate loop not only when the limit is met, but alse when there is no more stmts mysql-test/r/mysqlslap.result: Remove the extra statmemnt
143 lines
4.3 KiB
Text
143 lines
4.3 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;
|
|
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;
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|