2005-12-24 15:41:40 -08:00
|
|
|
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');
|
2006-01-01 16:40:02 -08:00
|
|
|
select * from t1;
|
2005-12-24 15:41:40 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2005-12-25 02:03:53 -08:00
|
|
|
select * from t1;
|
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2005-12-25 02:03:53 -08:00
|
|
|
select * from t1;
|
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
2006-01-12 12:27:25 -08:00
|
|
|
select * from t1;
|
2005-12-25 02:03:53 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
2006-01-01 16:40:02 -08:00
|
|
|
set storage_engine=`heap`;
|
2005-12-25 02:03:53 -08:00
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
|
|
create table t2(foo1 varchar(32), foo2 varchar(32));
|
2005-12-24 15:41:40 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
|
|
insert into t2 values ('test', 'test2');
|
|
|
|
select * from t1;
|
|
|
|
select * from t2;
|
2007-01-29 13:17:30 -08:00
|
|
|
select * from t1;
|
2005-12-24 15:41:40 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
|
|
|
CREATE SCHEMA `mysqlslap`;
|
|
|
|
use mysqlslap;
|
2005-12-25 02:03:53 -08:00
|
|
|
set storage_engine=`myisam`;
|
2005-12-24 15:41:40 -08:00
|
|
|
CREATE TABLE t1 (id int, name varchar(64));
|
|
|
|
create table t2(foo1 varchar(32), foo2 varchar(32));
|
2006-01-01 16:40:02 -08:00
|
|
|
INSERT INTO t1 VALUES (1, 'This is a test');
|
|
|
|
insert into t2 values ('test', 'test2');
|
2005-12-24 15:41:40 -08:00
|
|
|
select * from t1;
|
|
|
|
select * from t2;
|
2007-01-29 13:17:30 -08:00
|
|
|
select * from t1;
|
2005-12-24 15:41:40 -08:00
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
2007-03-26 02:24:49 -07:00
|
|
|
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');
|
|
|
|
SHOW TABLES;
|
|
|
|
select * from t1;
|
|
|
|
SHOW TABLES;
|
|
|
|
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');
|
|
|
|
SHOW TABLES;
|
|
|
|
select * from t1;
|
|
|
|
SHOW TABLES;
|
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|
2007-06-15 17:22:57 -07:00
|
|
|
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');
|
|
|
|
SET AUTOCOMMIT=0;
|
|
|
|
SHOW TABLES;
|
|
|
|
select * from t1;
|
|
|
|
select * from t2;
|
|
|
|
COMMIT;
|
|
|
|
select * from t1;
|
|
|
|
select * from t2;
|
|
|
|
COMMIT;
|
|
|
|
select * from t1;
|
|
|
|
select * from t2;
|
|
|
|
COMMIT;
|
|
|
|
COMMIT;
|
|
|
|
SHOW TABLES;
|
|
|
|
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');
|
|
|
|
SET AUTOCOMMIT=0;
|
|
|
|
SHOW TABLES;
|
|
|
|
select * from t1;
|
|
|
|
select * from t2;
|
|
|
|
COMMIT;
|
|
|
|
select * from t1;
|
|
|
|
select * from t2;
|
|
|
|
COMMIT;
|
|
|
|
select * from t1;
|
|
|
|
select * from t2;
|
|
|
|
COMMIT;
|
|
|
|
COMMIT;
|
|
|
|
SHOW TABLES;
|
|
|
|
DROP SCHEMA IF EXISTS `mysqlslap`;
|