| 1 |
# Making sure not to run when ps-protocol is set. |
| 2 |
# Test requires: sp-protocol/ps-protocol/view-protocol/cursor-protocol disabled |
| 3 |
--source include/no_protocol.inc |
| 4 |
|
| 5 |
--echo #################################### |
| 6 |
--echo # SETUP |
| 7 |
--echo #################################### |
| 8 |
# Database setup |
| 9 |
--disable_warnings |
| 10 |
CREATE DATABASE statements_digest; |
| 11 |
--enable_warnings |
| 12 |
USE statements_digest; |
| 13 |
|
| 14 |
# Table set up for queries |
| 15 |
--disable_warnings |
| 16 |
CREATE TABLE t1(a int); |
| 17 |
CREATE TABLE t2(a int); |
| 18 |
CREATE TABLE t3(a int, b int); |
| 19 |
CREATE TABLE t4(a int, b int); |
| 20 |
CREATE TABLE t5(a int, b int, c int); |
| 21 |
CREATE TABLE t6(a int, b int, c int, d int); |
| 22 |
CREATE TABLE t11 (c CHAR(4)); |
| 23 |
CREATE TABLE t12 (c CHAR(4)); |
| 24 |
--enable_warnings |
| 25 |
|