Export to GitHub

pyodbc - issue #362

executemany() requires first value of each tuple to be unique


Posted on Mar 15, 2014 by Happy Bird

What steps will reproduce the problem? 1.executemany("insert into TABLE(FIELD1, FIELD2) values (?, ?)", [('abc', '11753'),('abc', '2')])
2. 3.

What is the expected output? What do you see instead? ==> adds questionmarks to the second inserted row for 'abc'

What version of the product are you using? On what operating system? windows server 2008 - python 3.3 - pyodbc with MySQL ODBC 3.51 Driver

Please provide any additional information below.

Status: New

Labels:
Type-Defect Priority-Medium