Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CREATE SCHEMA as an alias for CREATE DATABASE #231

Closed
ibennetch opened this issue Mar 10, 2019 · 0 comments
Closed

CREATE SCHEMA as an alias for CREATE DATABASE #231

ibennetch opened this issue Mar 10, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@ibennetch
Copy link
Member

According to https://dev.mysql.com/doc/refman/8.0/en/create-database.html, CREATE SCHEMA is a synonym for CREATE DATABASE.

$ ./vendor/bin/lint-query --query 'create schema foo'
#1: The name of the entity was expected. (near "schema" at position 7)
$ ./vendor/bin/lint-query --query 'create database  foo'
$
@williamdes williamdes added the bug label Mar 10, 2019
@devenbansod devenbansod self-assigned this Dec 30, 2019
williamdes added a commit that referenced this issue Dec 31, 2019
Pull-request: #277
Fixes: #231

Signed-off-by: William Desportes <williamdes@wdes.fr>
williamdes added a commit that referenced this issue Dec 31, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes williamdes added this to the 4.4.1 milestone Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants