Tautvydas Andrikys wrote:
Noticed this while doing query with
Zend_Db_Adapter_Pdo_Mysql::fetchOne(...). After digging deeper into
code I've found out that there is something wrong with PDO query
execution. PDO somehow strangely executes this query:
SELECT 'break:pdo \ xe:xe'
Your code samples do not use Zend_Db and they seem to work as expected.
That is, in MySQL, SELECT 'quoted string' should return the quoted
string literally.
Can you please supply a sample that uses Zend_Db and behaves strangely.
Show the code where you invoke Zend_Db_Adapter_Pdo_MySQL::fetchOne().
Explain what results you expected, and show what results you got that
you did not expect.
Regards,
Bill Karwin