mysqli: Return false on non-selects
commit8f7948d0b92c716fadaa5b2b24f2bbc2c0ea3e34
authorJohn Ohl <john@collabriasoftware.com>
Wed, 11 Jun 2014 03:05:38 +0000 (10 20:05 -0700)
committerfacebook-github-bot <githubbot@fb.com>
Wed, 11 Jun 2014 04:48:33 +0000 (10 21:48 -0700)
tree52cc085a586f3ed9d116bd5ed876c4b5d4f34a98
parent99c280600dcfe86ae7d7c206c6835e48be3965ac
mysqli: Return false on non-selects

Summary: Produces the expect result for INSERT/UPDATE and other queries that do not produce a result set.

Closes #2799
Fixes #2781

Reviewed By: @ptarjan

Differential Revision: D1375310

Pulled By: @JoelMarcey
hphp/runtime/ext/mysql/ext_mysqli.php
hphp/test/slow/ext_mysql/issue2799.php [new file with mode: 0644]
hphp/test/slow/ext_mysql/issue2799.php.expectf [new file with mode: 0644]
hphp/test/slow/ext_mysql/issue2799.php.skipif [new file with mode: 0644]