[issue43290] [sqlite3] remove legacy code from pysqlite_step

Erlend Egeberg Aasland report at bugs.python.org
Thu Feb 25 08:09:19 EST 2021


Erlend Egeberg Aasland <erlend.aasland at innova.no> added the comment:

>     int rc = sqlite3_reset(NULL);
>    printf("reset with NULL: %d %s\n", rc, sqlite3_errstr(rc));

Sorry, wrong test:

    int rc = sqlite3_step(NULL);
    printf("step with NULL: %d %s\n", rc, sqlite3_errstr(rc));

$ ./a.out
step with NULL: 21 bad parameter or other API misuse

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43290>
_______________________________________


More information about the Python-bugs-list mailing list