I can confirm that the fix works for mssql. Discovered the problem today, didn't read this discussion until now, so I thought I could provide the fix for the line in dal.py:
# near line 1087 in 1.91.6 + r = self.represent_exceptions(obj,fieldtype) - r = BaseAdapter.represent_exceptions(self,obj,fieldtype) I know now that it already in trunk, but the solution maybe helpful until it is in stable. Teaches me to use trunk for testing purposes in the future! Nico de Groot On 6 jan, 19:18, Massimo Di Pierro <[email protected]> wrote: > This will go in stable probably tomorrow. Thanks for checking. > > Massimo > > On Jan 6, 12:33 pm, Roman Bataev <[email protected]> wrote: > > > > > > > > > It works. Thank you very much! > > > -Roman > > > On Wed, Jan 5, 2011 at 11:41 PM, mdipierro <[email protected]> wrote: > > > I believe this is now fixed in trunk. Please revert tomssql:// if > > > that is what you had before. > > > This was a new dal compatibility issues withBITtypes. > > > > Massimo > > > > On Jan 5, 9:39 am, Roman Bataev <[email protected]> wrote: > > > > The change you suggested did not make any difference - I get the same > > > errors > > > > for bothmssql:// and mssql2://. (and also, SQL Sever doesn't use utf8, > > > it > > > > uses UCS-2). > > > > > Here is what print says: > > > > > 1.79.2: > > > > > Both mssql2 andmssql: > > > > > SELECT Employees.employeeID, Employees.firstName, > > > Employees.networkUsername, > > > > Employees.isManager FROM Employees WHERE > > > > (Employees.networkUsername='rbataev' AND Employees.isManager=1); > > > > > 1.91.6: > > > > > mssql2: > > > > > SELECT Employees.employeeID, Employees.firstName, > > > > Employees.networkUsername, Employees.isManager FROM Employees WHERE > > > > ((Employees.networkUsername = N'rbataev') AND (Employees.isManager = > > > 'T')); > > > > >mssql: > > > > > SELECT Employees.employeeID, Employees.firstName, > > > > Employees.networkUsername, Employees.isManager FROM Employees WHERE > > > > ((Employees.networkUsername = 'rbataev') AND (Employees.isManager = > > > 'T'));

