|
|
|
Using CASE expression for password test may correct this problem.
AFAIK, most database implementations of CASE expression are ANSI SQL-92 compliant. All sql queries below works on MSSQL : zend_auth_credential_match = (CASE WHEN "password" = 'aa46347de7c452' THEN 1 ELSE 0 END)
(CASE WHEN "password" = 'aa46347de7c452' THEN 1 ELSE 0 END) AS zend_auth_credential_match
(CASE WHEN "password" = 'aa46347de7c452' THEN 1 ELSE 0 END) zend_auth_credential_match
Does anyone watching this issue have access to a MS-SQL server that they can test new adapters with? I do not have direct access to one, but would like to find a workable solution to this within the next week.
-ralph I implemented
(CASE WHEN "password" = 'aa46347de7c452' THEN 1 ELSE 0 END) AS zend_auth_credential_match
in r7278 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
It doesn't help that the Exception message that is raised doesn't actually tell you what the problem is, so you assume that it's a problem with your code when it isn't!