[pypy-issue] [issue1550] SQLITE: Creating function with the same name twice fails when in journal_mode = MEMORY

Alex Gaynor tracker at bugs.pypy.org
Fri Jul 19 23:01:08 CEST 2013


New submission from Alex Gaynor <alex.gaynor at gmail.com>:

This code fails on PyPy, but runs on CPython:

import sqlite3


def f():
    pass

conn = sqlite3.connect(":memory:")
conn.execute("PRAGMA journal_mode = MEMORY")
conn.create_function("func", 0, f)
conn.create_function("func", 0, f)

----------
messages: 5964
nosy: agaynor, pypy-issue
priority: bug
status: unread
title: SQLITE: Creating function with the same name twice fails when in journal_mode = MEMORY

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1550>
________________________________________


More information about the pypy-issue mailing list