ZF-8048: cannot use bind variables with Zend_Db_Adapter_Abstract::query
I've a query like
$q = "INSERT INTO
mtime) VALUES (?, ?, ?, ?, ?) ON DUPLICATE KEY UPDATE
field_val = ?,
mtime = ?"
$db->query($query, array($a, $b, $c, $d, $e, $d, $e);
This call apparently fails to bind all variables; the query does nothing.