aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableSource.m
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 /Source/TableSource.m
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
Diffstat (limited to 'Source/TableSource.m')
-rw-r--r--Source/TableSource.m2
1 files changed, 1 insertions, 1 deletions
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]]];