Monotone-Parent: 10bc75b22aa9828644f846e67ae3509d61793864

Monotone-Revision: 181c204ddec5a60db59ce4a63428f75cb20a7a81

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-01-16T20:18:39
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2012-01-16 20:18:39 +00:00
1 parent 3fbe421319
commit 1746d307f3
2 files changed
+14 -1

No files matched your search

+8 -1
View File
@@ -572,6 +572,8 @@
forKey: @"numberOfSimultaneousBookings"];
}
}
[response setObject: self forKey: @"source"];
}
else
[self errorWithFormat: @"could not run SQL '%@': %@", sql, ex];
@@ -678,7 +680,12 @@
attrs = [channel describeResults: NO];
while ((row = [channel fetchAttributes: attrs withZone: NULL]))
[results addObject: row];
{
row = [row mutableCopy];
[(NSMutableDictionary *) row setObject: self forKey: @"source"];
[results addObject: row];
[row release];
}
}
else
[self errorWithFormat: @"could not run SQL '%@': %@", sql, ex];