Mixing paramstyle with executemany() need better handling

Bug #618163 reported by Geert JM Vanderkelen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Connector/Python
Triaged
Low
Geert JM Vanderkelen

Bug Description

Currently, if you mix 'format' and 'pyformat', you get ProgrammingError:

  File "python2/mysql/connector/cursor.py", line 335, in executemany
  File "python2/mysql/connector/cursor.py", line 306, in execute
    mysql.connector.errors.ProgrammingError: Wrong number of arguments during string formatting

That's OK, but it might be nice to say that mixing paramstyle with executemany() is not allowed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.