Open
Description
Statements such as:
cursor.execute("SELECT ? FROM DUAL");
cursor.execute("SELECT ?, ? FROM DUAL", []);
must fail with an exception such as "wrong number of parameters specified, expected X got Y". Otherwise, simple typos may lead to data loss or wrong results.
Others fail with an exception "TypeError: init() takes exactly 2 arguments (1 given)" which is not very informative.