File: db_create_drop.test

package info (click to toggle)
mysql-5.5 5.5.42-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 201,212 kB
  • sloc: cpp: 646,036; ansic: 551,342; perl: 53,243; pascal: 25,099; yacc: 13,059; sh: 10,248; cs: 4,647; xml: 4,178; sql: 3,193; makefile: 1,368; lex: 639; awk: 54
file content (16 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--disable_warnings
DROP DATABASE IF EXISTS d1;
--enable_warnings
CREATE DATABASE d1;
SHOW DATABASES;
SHOW DATABASES LIKE 'd%';
SHOW DATABASES LIKE '%';
USE d1;
DROP DATABASE d1;
CREATE SCHEMA d1;
SHOW SCHEMAS;
SHOW SCHEMAS LIKE 'd%';
SHOW SCHEMAS LIKE '%';
USE d1;
DROP SCHEMA d1;