diff options
author | avenjamin <avenjamin@gmail.com> | 2009-04-12 01:04:00 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2009-04-12 01:04:00 +0000 |
commit | 9ef0af7406fc6325f69ef29c979e48a5f5d1a2af (patch) | |
tree | 62e213e0408fd0aa31534921c32466804b98017b /Source/TableSource.m | |
parent | 95753d8b237fe92d9774934b12c3ce77c18f3d2c (diff) | |
download | sequelpro-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.m | 2 |
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]; |