See ChangeLog

Monotone-Parent: 8c84d6a640b03db846372423022159e6855f501a
Monotone-Revision: 1fc6240dbb88ca9e470be6d2679ee8e3e10e4f4f

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2008-11-26T12:20:26
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2008-11-26 12:20:26 +00:00
parent a127fc11fc
commit eba307e5c0
3 changed files with 52 additions and 21 deletions
+3 -1
View File
@@ -444,7 +444,9 @@ static NSArray *childRecordFields = nil;
sql
= [NSString stringWithFormat: (@"UPDATE %@ SET c_foldername = '%@'"
@" WHERE c_path = '%@'"),
[folderLocation gcsTableName], newName, ocsPath];
[folderLocation gcsTableName],
[newName stringByReplacingString: @"'" withString: @"''"],
ocsPath];
[fc evaluateExpressionX: sql];
[cm releaseChannel: fc];
// sql = [sql stringByAppendingFormat:@" WHERE %@ = '%@'",