Magento implementation of http://au1.php.net/manual/en/mysqli.query.php to use MYSQLI_ASYNC for inserts and updates