Message383367
Python 3.9.1 (default, Dec 11 2020, 14:32:07)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>> conn = sqlite3.connect("test.db")
>>> conn.execute("CREATE TABLE test (id INTEGER, str TEXT);")
<sqlite3.Cursor object at 0x7ff99f2df3b0>
>>> conn.execute("CREATE TABLE test (id INTEGER, str TEXT);")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
sqlite3.OperationalError: table test already exists
>>>
I think the reproduction is way too easy and has nothing special so I didn't include one at the very beginning. That's a simple reproduction on interactive console. |
|
Date |
User |
Action |
Args |
2020-12-19 10:17:20 | seeker-Liu | set | recipients:
+ seeker-Liu, terry.reedy, ghaering, docs@python, berker.peksag, erlendaasland |
2020-12-19 10:17:20 | seeker-Liu | set | messageid: <1608373040.89.0.232616572705.issue42624@roundup.psfhosted.org> |
2020-12-19 10:17:20 | seeker-Liu | link | issue42624 messages |
2020-12-19 10:17:20 | seeker-Liu | create | |
|