diff options
-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]; |