aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableSource.m
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2009-04-12 01:04:00 +0000
committeravenjamin <avenjamin@gmail.com>2009-04-12 01:04:00 +0000
commit9ef0af7406fc6325f69ef29c979e48a5f5d1a2af (patch)
tree62e213e0408fd0aa31534921c32466804b98017b /Source/TableSource.m
parent95753d8b237fe92d9774934b12c3ce77c18f3d2c (diff)
downloadsequelpro-9ef0af7406fc6325f69ef29c979e48a5f5d1a2af.tar.gz
sequelpro-9ef0af7406fc6325f69ef29c979e48a5f5d1a2af.tar.bz2
sequelpro-9ef0af7406fc6325f69ef29c979e48a5f5d1a2af.zip
- fixed bug where indexes not showing.
Diffstat (limited to 'Source/TableSource.m')
-rw-r--r--Source/TableSource.m2
1 files changed, 1 insertions, 1 deletions
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];