aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtvee <emptyvee@gmail.com>2009-06-03 09:51:16 +0000
committermtvee <emptyvee@gmail.com>2009-06-03 09:51:16 +0000
commita9b766e758d8494c7ba56831b238e5c91258a6c5 (patch)
tree06dec3985d73d210d5d838b6a01b94aaf4f3a615
parent7f8a32e9d118c6f7d84d988a6f2462a8a2c9b085 (diff)
downloadsequelpro-a9b766e758d8494c7ba56831b238e5c91258a6c5.tar.gz
sequelpro-a9b766e758d8494c7ba56831b238e5c91258a6c5.tar.bz2
sequelpro-a9b766e758d8494c7ba56831b238e5c91258a6c5.zip
- fixed bug with changing extra to auto_increment for a column
- small mem release issue in CMMCPConnection
-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]]];