aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableContent.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r--Source/TableContent.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index 555b1a13..c93f4f00 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -738,7 +738,7 @@
{
NSMutableDictionary *tempRow;
CMMCPResult *queryResult;
- NSDictionary *row, *dbDataRow;
+ NSDictionary *row, *dbDataRow = nil;
int i;
// Check whether a save of the current row is required.
@@ -766,7 +766,6 @@
dbDataRow = [queryResult fetchRowAsDictionary];
}
-
//set autoincrement fields to NULL
queryResult = [mySQLConnection queryString:[NSString stringWithFormat:@"SHOW COLUMNS FROM %@", [selectedTable backtickQuotedString]]];
if ([queryResult numOfRows]) [queryResult dataSeek:0];