aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPExportController.h3
-rw-r--r--Source/SPSQLExporter.m4
2 files changed, 3 insertions, 4 deletions
diff --git a/Source/SPExportController.h b/Source/SPExportController.h
index df9fac0a..3ccdfd74 100644
--- a/Source/SPExportController.h
+++ b/Source/SPExportController.h
@@ -27,7 +27,6 @@
#import "SPConstants.h"
-@protocol NSTabViewDelegate;
@class MCPConnection, BWAnchoredButtonBar;
/**
@@ -37,7 +36,7 @@
*
* Export controller.
*/
-@interface SPExportController : NSWindowController <NSTabViewDelegate>
+@interface SPExportController : NSWindowController
{
// Controllers
IBOutlet id tableDocumentInstance;
diff --git a/Source/SPSQLExporter.m b/Source/SPSQLExporter.m
index dd43a600..07b6a0e0 100644
--- a/Source/SPSQLExporter.m
+++ b/Source/SPSQLExporter.m
@@ -319,7 +319,7 @@
[[self exportOutputFileHandle] writeData:[[NSString stringWithFormat:@"INSERT INTO %@ (%@)\nVALUES\n\t(", [tableName backtickQuotedString], [fieldNames componentsJoinedAndBacktickQuoted]] dataUsingEncoding:NSUTF8StringEncoding]];
// Iterate through the rows to construct a VALUES group for each
- j, k = 0;
+ j = 0, k = 0;
sqlExportPool = [[NSAutoreleasePool alloc] init];
@@ -429,7 +429,7 @@
{
[sqlString appendString:[NSString stringWithFormat:@");\n\nINSERT INTO %@ (%@)\nVALUES\n\t(", [tableName backtickQuotedString], [fieldNames componentsJoinedAndBacktickQuoted]]];
- queryLength, k = 0;
+ queryLength = 0, k = 0;
// Use the opportunity to drain and reset the autorelease pool
[sqlExportPool release];