aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-09-10 17:40:54 +0000
committerBibiko <bibiko@eva.mpg.de>2010-09-10 17:40:54 +0000
commit41caca583c350a5e3066f7203a427eb9157e884b (patch)
tree59e526a98d65ac1c408105812347e89809b3c6f1
parentc3ec70ee0016f42b3e578724c929423046b0082c (diff)
downloadsequelpro-41caca583c350a5e3066f7203a427eb9157e884b.tar.gz
sequelpro-41caca583c350a5e3066f7203a427eb9157e884b.tar.bz2
sequelpro-41caca583c350a5e3066f7203a427eb9157e884b.zip
• SPTableStructure
- fixed bug for renaming a field name (issue 808)
-rw-r--r--Source/SPTableStructure.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTableStructure.m b/Source/SPTableStructure.m
index f6af3b5a..4e95a042 100644
--- a/Source/SPTableStructure.m
+++ b/Source/SPTableStructure.m
@@ -753,7 +753,7 @@ closes the keySheet
else
queryString = [NSMutableString stringWithFormat:@"ALTER TABLE %@ CHANGE %@ %@ %@",
[selectedTable backtickQuotedString],
- [[theRow objectForKey:@"name"] backtickQuotedString],
+ [[oldRow objectForKey:@"name"] backtickQuotedString],
[[theRow objectForKey:@"name"] backtickQuotedString],
theRowType];