Jump to content

[11835]Boolean and MySQL prepared statements


Guest Vinolentus
 Share

Recommended Posts

* What bug does the patch fix? What features does the patch add?

SqlStatement::addBool() is not working currently.

MYSQL_TYPE_BIT is not one of

the allowable input values, so to submit a BIT value, you can

pass it using an integer variable and the corresponding

type code, and MySQL will perform type conversion to BIT

on the server side.

http://bugs.mysql.com/bug.php?id=20169

* For which repository revision was the patch created?

11797

* Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

No.

* Who has been writing this patch? Please include either forum user names or email addresses.

Me

https://gist.github.com/1225753

Link to comment
Share on other sites

  • 1 month later...
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use