methew / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by davidbie...@gmail.com on 15 Mar 2014 at 11:00