Comments

The issue at hand is that the user's superclass of {{Zend_Db_Select}} binds variables to the query, but these bindings are lost because {{Zend_Auth_Adapter_DbTable}} is cast to a string before being passed to the database adapter. Passing the {{Zend_Db_Select}} object directly rather than just the SQL string allows {{Zend_Db_Adapter::query}} to pull the bound variables and use them to execute the statement.