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()
120120 } while (true );
121121 }
122122 else if (command == TOKEN_COPY)
123- {
123+ {
124124 CopyNode node;
125125
126126 if (auto source = parseQualifiedName ())
@@ -462,6 +462,7 @@ FrontendParser::AnyShowNode FrontendParser::parseShow()
462462 static constexpr std::string_view TOKEN_COLLATIONS (" COLLATIONS" );
463463 static constexpr std::string_view TOKEN_COMMENTS (" COMMENTS" );
464464 static constexpr std::string_view TOKEN_DATABASE (" DATABASE" );
465+ static constexpr std::string_view TOKEN_DB (" DB" );
465466 static constexpr std::string_view TOKEN_DEPENDENCIES (" DEPENDENCIES" );
466467 static constexpr std::string_view TOKEN_DEPENDENCY (" DEPENDENCY" );
467468 static constexpr std::string_view TOKEN_DOMAINS (" DOMAINS" );
@@ -511,7 +512,7 @@ FrontendParser::AnyShowNode FrontendParser::parseShow()
511512 if (parseEof ())
512513 return ShowCommentsNode ();
513514 }
514- else if (text == TOKEN_DATABASE)
515+ else if (text == TOKEN_DATABASE || text == TOKEN_DB )
515516 {
516517 if (parseEof ())
517518 return ShowDatabaseNode ();
You can’t perform that action at this time.
0 commit comments