@Override
    public void execute(final ConnectionSession connectionSession) {
        mergedResult = new LocalDataMergedResult(getDatabaseNames(connectionSession));
    }
@Test
    void assertExecuteWithPrefixLike() throws SQLException {
        MySQLShowDatabasesStatement showDatabasesStatement = new MySQLShowDatabasesStatement();
        ShowFilterSegment showFilterSegment = new ShowFilterSegment(0, 0);
        ShowLikeSegment showLikeSegment = new ShowLikeSegment(0, 0, "database%");
        showFilterSegment.setLike(showLikeSegment);
        showDatabasesStatement.setFilter(showFilterSegment);
        ContextManager contextManager = mockContextManager();
        when(ProxyContext.getInstance().getContextManager()).thenReturn(contextManager);
        when(ProxyContext.getInstance().getAllDatabaseNames()).thenReturn(IntStream.range(0, 10).mapToObj(each -> String.format("database_%s", each)).collect(Collectors.toList()));
        ShowDatabasesExecutor executor = new ShowDatabasesExecutor(showDatabasesStatement);
        executor.execute(mockConnectionSession());
        assertThat(getActual(executor), is(getExpected()));
    }