From 41caca583c350a5e3066f7203a427eb9157e884b Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 10 Sep 2010 17:40:54 +0000 Subject: =?UTF-8?q?=E2=80=A2=20SPTableStructure=20-=20fixed=20bug=20for=20?= =?UTF-8?q?renaming=20a=20field=20name=20(issue=20808)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPTableStructure.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source') 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]; -- cgit v1.2.3