See ChangeLog

#MTN: ----------------------------------------------------------------------

Monotone-Parent: 8bf27e6a6e311b43dd1eefbb9eab21ed89a80f6d
Monotone-Revision: c55d7e01ad80c68ff71c3684827782f73ac196ef

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-11-24T20:19:21
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2009-11-24 20:19:21 +00:00
parent 0e50fc3ef9
commit c8358a9f4f
3 changed files with 13 additions and 0 deletions
+10
View File
@@ -1,3 +1,13 @@
2009-11-24 Ludovic Marcotte <lmarcotte@inverse.ca>
* SoObjects/SOGo/SOGoGroup.m
Initialize the local var entry to nil to avoid
a crash if only one SQL source was specified
* SoObjects/SOGo/SQLSource.m
Properly invoke cancelFetch on cusors that can return
more than one value (prior to releasing the channel)
2009-11-23 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Tools/sogo-tool.m (main): we check "SOGoUserSources" rather than
+1
View File
@@ -123,6 +123,7 @@
return nil;
allSources = [[SOGoUserManager sharedUserManager] sourceIDs];
entry = nil;
o = nil;
for (i = 0; i < [allSources count]; i++)
+2
View File
@@ -182,6 +182,7 @@
value = [row objectForKey: @"c_password"];
rc = [self _isPassword: password equalTo: value];
[channel cancelFetch];
}
else
[self errorWithFormat: @"could not run SQL '%@': %@", sql, ex];
@@ -227,6 +228,7 @@
response = [[channel fetchAttributes: [channel describeResults: NO]
withZone: NULL] mutableCopy];
[response autorelease];
[channel cancelFetch];
// We have to do this here since we do not manage modules
// constraints right now over a SQL backend.