Skip to content

Commit

Permalink
#2100, fix show databases for navicat 12 (#2102)
Browse files Browse the repository at this point in the history
fix #2100, show databases for navicat 12
  • Loading branch information
tuohai666 authored and terrymanu committed Mar 26, 2019
1 parent 80d0524 commit bea5989
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public final class ShowDatabasesBackendHandler implements TextProtocolBackendHan
@Override
public BackendResponse execute() {
mergedResult = new ShowDatabasesMergedResult(LogicSchemas.getInstance().getSchemaNames());
return new QueryResponse(Collections.singletonList(new QueryHeader("", "", "", "Database", 100, Types.VARCHAR, 0)));
return new QueryResponse(Collections.singletonList(new QueryHeader("information_schema", "SCHEMATA", "Database", "SCHEMA_NAME", 100, Types.VARCHAR, 0)));
}

@Override
Expand Down

0 comments on commit bea5989

Please sign in to comment.