More mysqli fixes
commitaab10f9b8441eac426e032805208d66a8d86fc4a
authorEmil Hesslow <emil@fb.com>
Sat, 8 Feb 2014 01:20:41 +0000 (7 17:20 -0800)
committerSara Golemon <sgolemon@fb.com>
Mon, 10 Feb 2014 17:44:16 +0000 (10 09:44 -0800)
tree26fb7bd80033b9be151119a4d1a325cada015ef8
parente687e1d44fec719826bbe95bdfbcb35c77260869
More mysqli fixes

- When calling mysqli->prepare() and the statement failed for some reason move the errors from the statement object to the mysqli object
- Remove typing for real_escape_string and friends. In the end they all call mysql_real_escape_string which will handle the typing

Reviewed By: @ptarjan

Differential Revision: D1162521
hphp/runtime/ext/mysql/ext_mysqli.cpp
hphp/runtime/ext/mysql/ext_mysqli.php