r20023 - gnucash/trunk/src/optional/python-bindings - Bug #636402: Add test case for DBI error: 1: table sqlite_sequence may not be dropped

Christian Stimming cstim at code.gnucash.org
Sat Jan 1 16:04:31 EST 2011


Author: cstim
Date: 2011-01-01 16:04:31 -0500 (Sat, 01 Jan 2011)
New Revision: 20023
Trac: http://svn.gnucash.org/trac/changeset/20023

Added:
   gnucash/trunk/src/optional/python-bindings/sqlite3test.c
Modified:
   gnucash/trunk/src/optional/python-bindings/Makefile.am
Log:
Bug #636402: Add test case for DBI error: 1: table sqlite_sequence may not be dropped

Patch by Mark Jenkins:

The attached patch adds a test program demonstrating the problem in C, built in
src/optional/python-bindings
It pretty much shows the same calls that are being made to the C by the python
bindings (including initialization) and the example sqlite3 python script.
Running this small C program produces the same result.

(The program is built in check_PROGRAMS, not bin_PROGRAMS, to avoid having it installed.)



More information about the gnucash-patches mailing list