Skip to content

Challenge-Response does not work with Oracle database #4969

@plettich

Description

@plettich

Since switching the challenge column in the Challenge table to db.Text (in v3.12) Oracle dbs throw an error when checking querying challenges: "ORA-00932: inconsistent datatypes: expected - got CLOB"
db.Text gets converted to CLOB in Oracle but it can not be used in a where clause: https://stackoverflow.com/a/12980560

Maybe we can use the clob_to_varchar function defined in lib/token.py:

class clob_to_varchar(FunctionElement):

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions