There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
stmt->query VS stmt->prepare + stmt->execute
Not a bug, just some optimization for App/Db/Adapter/Sqlsrv.php
$stmt = $this->prepare($sql);
But not $stmt = $this->query($sql, $bind);
Could be faster because Zend_Db_Adapter_Abstract::query does several checks like
"$sql instanceof Zend_Db_Select" and "!is_array($bind)"
If you are sure that $sql is just sql string and $bind is array you do not need query function :)