aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/CMMCPConnection.m2
-rw-r--r--Source/TableSource.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/CMMCPConnection.m b/Source/CMMCPConnection.m
index c5e14567..aa2dd430 100644
--- a/Source/CMMCPConnection.m
+++ b/Source/CMMCPConnection.m
@@ -259,8 +259,8 @@ static void forcePingTimeout(int signalNumber);
if (connectionTunnel) [connectionTunnel disconnect];
if( serverVersionString != nil ) {
- serverVersionString = nil;
[serverVersionString release];
+ serverVersionString = nil;
}
[self stopKeepAliveTimer];
diff --git a/Source/TableSource.m b/Source/TableSource.m
index afadf50e..50737657 100644
--- a/Source/TableSource.m
+++ b/Source/TableSource.m
@@ -715,7 +715,7 @@ fetches the result as an array with a dictionary for each row in it
if ( code ) {
if ( [chooseKeyButton indexOfSelectedItem] == 0 ) {
[queryString appendString:@" PRIMARY KEY"];
- [queryString appendString:[NSString stringWithFormat:@" AFTER %@", [[[tableFields objectAtIndex:(currentlyEditingRow -1)] objectForKey:@"Field"] backtickQuotedString]]];
+ //[queryString appendString:[NSString stringWithFormat:@" AFTER %@", [[[tableFields objectAtIndex:(currentlyEditingRow -1)] objectForKey:@"Field"] backtickQuotedString]]];
} else {
[queryString appendString:[NSString stringWithFormat:@" AFTER %@", [[[tableFields objectAtIndex:(currentlyEditingRow -1)] objectForKey:@"Field"] backtickQuotedString]]];
[queryString appendString:[NSString stringWithFormat:@", ADD %@ (%@)", [chooseKeyButton titleOfSelectedItem], [[theRow objectForKey:@"Field"] backtickQuotedString]]];