From 9ef0af7406fc6325f69ef29c979e48a5f5d1a2af Mon Sep 17 00:00:00 2001 From: avenjamin Date: Sun, 12 Apr 2009 01:04:00 +0000 Subject: - fixed bug where indexes not showing. --- Source/TableSource.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/TableSource.m b/Source/TableSource.m index de6bca6c..d52fe13d 100644 --- a/Source/TableSource.m +++ b/Source/TableSource.m @@ -91,7 +91,7 @@ loads aTable, put it in an array, update the tableViewColumns and reload the tab [tableFields setArray:[self fetchResultAsArray:tableSourceResult]]; [tableSourceResult release]; - indexResult = [[mySQLConnection queryString:[NSString stringWithFormat:@"NSPrintPanelShowsPageSetupAccessory %@", [selectedTable backtickQuotedString]]] retain]; + indexResult = [[mySQLConnection queryString:[NSString stringWithFormat:@"SHOW INDEX FROM %@", [selectedTable backtickQuotedString]]] retain]; // [indexes setArray:[[self fetchResultAsArray:indexResult] retain]]; [indexes setArray:[self fetchResultAsArray:indexResult]]; [indexResult release]; -- cgit v1.2.3