From 625538d64c9ab239175c614f20792f284c55514b Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 12 Jan 2010 14:01:31 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed:=20escape=20new=20entered=20comments?= =?UTF-8?q?=20in=20the=20Table=20Info=20Pane=20before=20applying=20changes?= =?UTF-8?q?=20to=20the=20db?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPExtendedTableInfo.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source') diff --git a/Source/SPExtendedTableInfo.m b/Source/SPExtendedTableInfo.m index e07eb17c..8b414219 100644 --- a/Source/SPExtendedTableInfo.m +++ b/Source/SPExtendedTableInfo.m @@ -345,7 +345,7 @@ if (![currentComment isEqualToString:newComment]) { // Alter table's comment - [connection queryString:[NSString stringWithFormat:@"ALTER TABLE %@ COMMENT = '%@'", [selectedTable backtickQuotedString], newComment]]; + [connection queryString:[NSString stringWithFormat:@"ALTER TABLE %@ COMMENT = '%@'", [selectedTable backtickQuotedString], [connection prepareString:newComment]]]; if ([connection getLastErrorID] == 0) { // Reload the table's data -- cgit v1.2.3