RDFLib/rdflib — Issue #70: SQLite store open attempts to re-create existing store
Author: gjhiggins
Created: 2012-02-20 08:31:57+00:00
State: open

gsf747@gmail.com, 2009-07-14T06:06:06.000Z

The docstring on the SQLite store open() states, "If create is True a store
will be created if it does not already exist." However, a call to open
with create=True attempts to create the tables again, leading to the
following error:

Traceback (most recent call last):
File "", line 1, in
File "rdflib/store/SQLite.py", line 52, in open
c.execute(CREATE_ASSERTED_STATEMENTS_TABLE%(self._internedId))
pysqlite2.dbapi2.OperationalError: table kb_48181acd22_asserted_statements
already exists

Comment 1 by gsf747@gmail.com
Fixed in r1721.