mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
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:
@@ -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
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
return nil;
|
||||
|
||||
allSources = [[SOGoUserManager sharedUserManager] sourceIDs];
|
||||
entry = nil;
|
||||
o = nil;
|
||||
|
||||
for (i = 0; i < [allSources count]; i++)
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user