Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
335a81eb
Commit
335a81eb
authored
Oct 01, 2004
by
brian@avenger.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to add keyword "SCHEMA" and "SCHEMAS". Small test case was added too.
parent
7a14455f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
mysql-test/r/schema.result
mysql-test/r/schema.result
+10
-0
mysql-test/t/schema.test
mysql-test/t/schema.test
+8
-0
sql/lex.h
sql/lex.h
+2
-0
No files found.
mysql-test/r/schema.result
0 → 100644
View file @
335a81eb
create schema foo;
show create schema foo;
Database Create Database
foo CREATE DATABASE `foo` /*!40100 DEFAULT CHARACTER SET latin1 */
show schemas;
Database
foo
mysql
test
drop schema foo;
mysql-test/t/schema.test
0 → 100644
View file @
335a81eb
#
# Just a couple of tests to make sure that schema works.
#
create
schema
foo
;
show
create
schema
foo
;
show
schemas
;
drop
schema
foo
;
sql/lex.h
View file @
335a81eb
...
@@ -397,6 +397,8 @@ static SYMBOL symbols[] = {
...
@@ -397,6 +397,8 @@ static SYMBOL symbols[] = {
{
"ROW_FORMAT"
,
SYM
(
ROW_FORMAT_SYM
)},
{
"ROW_FORMAT"
,
SYM
(
ROW_FORMAT_SYM
)},
{
"RTREE"
,
SYM
(
RTREE_SYM
)},
{
"RTREE"
,
SYM
(
RTREE_SYM
)},
{
"SAVEPOINT"
,
SYM
(
SAVEPOINT_SYM
)},
{
"SAVEPOINT"
,
SYM
(
SAVEPOINT_SYM
)},
{
"SCHEMA"
,
SYM
(
DATABASE
)},
{
"SCHEMAS"
,
SYM
(
DATABASES
)},
{
"SECOND"
,
SYM
(
SECOND_SYM
)},
{
"SECOND"
,
SYM
(
SECOND_SYM
)},
{
"SECOND_MICROSECOND"
,
SYM
(
SECOND_MICROSECOND_SYM
)},
{
"SECOND_MICROSECOND"
,
SYM
(
SECOND_MICROSECOND_SYM
)},
{
"SECURITY"
,
SYM
(
SECURITY_SYM
)},
{
"SECURITY"
,
SYM
(
SECURITY_SYM
)},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment