aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableDocument.m
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2008-12-22 11:25:09 +0000
committeravenjamin <avenjamin@gmail.com>2008-12-22 11:25:09 +0000
commit3c337359293bb47598574720906058f30cb33895 (patch)
treebbb7d688ca6a51993cdb98be62ab3320cdf792ab /Source/TableDocument.m
parent59c95e96af7a2382252d74adc2d97b0015785f99 (diff)
downloadsequelpro-3c337359293bb47598574720906058f30cb33895.tar.gz
sequelpro-3c337359293bb47598574720906058f30cb33895.tar.bz2
sequelpro-3c337359293bb47598574720906058f30cb33895.zip
Spelling error in Flush Privilege's success message. Issue #123
Diffstat (limited to 'Source/TableDocument.m')
-rw-r--r--Source/TableDocument.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m
index 2dcb5f1a..15e875e8 100644
--- a/Source/TableDocument.m
+++ b/Source/TableDocument.m
@@ -775,7 +775,7 @@ NSString *TableDocumentFavoritesControllerFavoritesDidChange = @"TableDocumentFa
*/
- (void)detectTableEncodingForTable:(NSString *)table;
{
- NSString *tableCollation = [[[mySQLConnection queryString:[NSString stringWithFormat:@"SHOW TABLE STATUS WHERE NAME = '%@'", table]] fetchRowAsDictionary] objectForKey:@"Collation"];
+ NSString *tableCollation = [[[mySQLConnection queryString:[NSString stringWithFormat:@"SHOW TABLE STATUS LIKE '%@'", table]] fetchRowAsDictionary] objectForKey:@"Collation"];
if (tableCollation != nil) {
// Split up the collation string so we can get the encoding
@@ -1008,7 +1008,7 @@ NSString *TableDocumentFavoritesControllerFavoritesDidChange = @"TableDocumentFa
if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) {
//flushed privileges without errors
- NSBeginAlertSheet(NSLocalizedString(@"Flushed Privileges", @"title of panel when successfully flushed privs"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, NSLocalizedString(@"Succesfully flushed privileges.", @"message of panel when successfully flushed privs"));
+ NSBeginAlertSheet(NSLocalizedString(@"Flushed Privileges", @"title of panel when successfully flushed privs"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, NSLocalizedString(@"Successfully flushed privileges.", @"message of panel when successfully flushed privs"));
} else {
//error while flushing privileges
NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"Couldn't flush privileges.\nMySQL said: %@", @"message of panel when flushing privs failed"),