diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-09-10 17:40:54 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-09-10 17:40:54 +0000 |
commit | 41caca583c350a5e3066f7203a427eb9157e884b (patch) | |
tree | 59e526a98d65ac1c408105812347e89809b3c6f1 | |
parent | c3ec70ee0016f42b3e578724c929423046b0082c (diff) | |
download | sequelpro-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.m | 2 |
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]; |