Skip to content

MonetDBe stumble over ':' in the query string #127

@ghost

Description

Parsing error in handling a correct query

To Reproduce

import monetdbe

conn=  monetdbe.connect(':memory:')
cur = conn.cursor()
res= cur.execute("create table tmp(i integer, s string)")
res= cur.execute("insert into tmp values(123, 'hello''world'':\n ERROR');");
rows = res.fetchall()
print(rows)

raise ProgrammingError(f"unexpected symbol '{symbol}' in operation")
monetdbe.exceptions.ProgrammingError: unexpected symbol ':' in operation

Expected behavior
This is a normal query string that works on MonetDB

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions