~mysql/myconnpy/1.1

Viewing all changes in revision 445.

  • Committer: Peeyush Gupta
  • Date: 2014-03-27 06:49:33 UTC
  • Revision ID: peeyush.x.gupta@oracle.com-20140327064933-z3ing0kjjo9z9cvd
BUG#18144971: Error with unicode arguments in prepared statements
      
Using unicode arguments in Python v2 and bytes arguments in
Python v3 were causing errors, also the symbols of character set
other than 'utf8' or 'ascii' used in prepared statement arguments
were causing errors. This patch fixes method 
protocol.make_stmt_execute() and adds a new parameter called
charset.
      
A testcase for BUG#18144971 has beed added.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: