File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ FrontendParser::AnyNode FrontendParser::internalParse()
120
120
} while (true );
121
121
}
122
122
else if (command == TOKEN_COPY)
123
- {
123
+ {
124
124
CopyNode node;
125
125
126
126
if (auto source = parseQualifiedName ())
@@ -462,6 +462,7 @@ FrontendParser::AnyShowNode FrontendParser::parseShow()
462
462
static constexpr std::string_view TOKEN_COLLATIONS (" COLLATIONS" );
463
463
static constexpr std::string_view TOKEN_COMMENTS (" COMMENTS" );
464
464
static constexpr std::string_view TOKEN_DATABASE (" DATABASE" );
465
+ static constexpr std::string_view TOKEN_DB (" DB" );
465
466
static constexpr std::string_view TOKEN_DEPENDENCIES (" DEPENDENCIES" );
466
467
static constexpr std::string_view TOKEN_DEPENDENCY (" DEPENDENCY" );
467
468
static constexpr std::string_view TOKEN_DOMAINS (" DOMAINS" );
@@ -511,7 +512,7 @@ FrontendParser::AnyShowNode FrontendParser::parseShow()
511
512
if (parseEof ())
512
513
return ShowCommentsNode ();
513
514
}
514
- else if (text == TOKEN_DATABASE)
515
+ else if (text == TOKEN_DATABASE || text == TOKEN_DB )
515
516
{
516
517
if (parseEof ())
517
518
return ShowDatabaseNode ();
You can’t perform that action at this time.
0 commit comments