diff options
author | stuconnolly <stuart02@gmail.com> | 2012-05-25 08:20:29 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-05-25 08:20:29 +0000 |
commit | eb65e7845ea93a0200b304bd63f88415762fa29a (patch) | |
tree | 60d5d9a5d213b7ed42c58142a6e08fc062a2c4f5 /Source/SPExportInitializer.m | |
parent | 687d564c85cefca3d378fed7be6c40f30b6b55b6 (diff) | |
download | sequelpro-eb65e7845ea93a0200b304bd63f88415762fa29a.tar.gz sequelpro-eb65e7845ea93a0200b304bd63f88415762fa29a.tar.bz2 sequelpro-eb65e7845ea93a0200b304bd63f88415762fa29a.zip |
Export tidy up.
Diffstat (limited to 'Source/SPExportInitializer.m')
-rw-r--r-- | Source/SPExportInitializer.m | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m index 4cad22ba..d9ce4ecb 100644 --- a/Source/SPExportInitializer.m +++ b/Source/SPExportInitializer.m @@ -85,7 +85,7 @@ NSArray *dataArray = nil; // Get rid of the cached connection encoding - if (sqlPreviousConnectionEncoding) [sqlPreviousConnectionEncoding release], sqlPreviousConnectionEncoding = nil; + if (previousConnectionEncoding) [previousConnectionEncoding release], previousConnectionEncoding = nil; createCustomFilename = ([[exportCustomFilenameTokenField stringValue] length] > 0); @@ -282,8 +282,8 @@ [sqlExporter setSqlInsertDivider:[exportSQLInsertDividerPopUpButton indexOfSelectedItem]]; // Cache the current connection encoding then change it to UTF-8 to allow SQL dumps to work - sqlPreviousConnectionEncoding = [[NSString alloc] initWithString:[connection encoding]]; - sqlPreviousConnectionEncodingViaLatin1 = [connection encodingUsesLatin1Transport]; + previousConnectionEncoding = [[NSString alloc] initWithString:[connection encoding]]; + previousConnectionEncodingViaLatin1 = [connection encodingUsesLatin1Transport]; [tableDocumentInstance setConnectionEncoding:@"utf8" reloadingViews:NO]; @@ -381,9 +381,9 @@ [dotExporter setDotDatabaseName:[tableDocumentInstance database]]; [dotExporter setDotDatabaseVersion:[tableDocumentInstance mySQLVersion]]; - // Cache the current connection encoding then change it to UTF-8 to allow SQL dumps to work - sqlPreviousConnectionEncoding = [[NSString alloc] initWithString:[connection encoding]]; - sqlPreviousConnectionEncodingViaLatin1 = [connection encodingUsesLatin1Transport]; + // Cache the current connection encoding then change it to UTF-8 to allow dumps to work + previousConnectionEncoding = [[NSString alloc] initWithString:[connection encoding]]; + previousConnectionEncodingViaLatin1 = [connection encodingUsesLatin1Transport]; [tableDocumentInstance setConnectionEncoding:@"utf8" reloadingViews:NO]; |