Update mysqli.class.php
Merge pull request #789 from defrance69/patch-22

same change on mysqldb