~pbeaman/akiban-server/use-persistit-3.3.0

« back to all changes in this revision

Viewing changes to src/test/java/com/akiban/server/test/ApiTestBase.java

merge oontvoo: fix drop fulltext index bug (bug 1163026) and bug1154336

https://code.launchpad.net/~oontvoo/akiban-server/bug_drop_fulltext_index/+merge/159495

Show diffs side-by-side

added added

removed removed

Lines of Context:
767
767
        return ddl().getAIS(session()).getGroup(groupName).getIndex(indexName);
768
768
    }
769
769
 
 
770
    protected final void deleteFullTextIndex(ServiceManager sm, IndexName name)
 
771
    {
 
772
        ddl().dropTableIndexes(session(), name.getFullTableName(), Arrays.asList(name.getName()));
 
773
        updateAISGeneration();
 
774
    }
 
775
    
770
776
    protected final FullTextIndex createFullTextIndex(ServiceManager sm, String schema, String table, String indexName, String... indexCols) {
771
777
        AkibanInformationSchema tempAIS = createIndexInternal(schema, table, indexName, "FULL_TEXT(" + Strings.join(Arrays.asList(indexCols), ",") + ")");
772
778
        Index tempIndex = tempAIS.getUserTable(schema, table).getFullTextIndex(indexName);