Skip to content

Executing RDB$RESET_CONTEXT() without parameters kills the connection #9057

@mrotteveel

Description

@mrotteveel

On Firebird 5.0.4 (and snapshot LI-V5.0.5.1832 Firebird 5.0 0fe01b3), executing RDB$RESET_CONTEXT() without parameters kills the connection:

root@8ad5b53a02e1:/# isql -user sysdba -password masterkey localhost:testdb.fdb
Database: localhost:testdb.fdb, User: SYSDBA
SQL> select rdb$reset_context() from rdb$database;
Statement failed, SQLSTATE = 08006
Error reading data from the connection.
SQL> exit;
Statement failed, SQLSTATE = 08006
Error writing data to the connection.
Statement failed, SQLSTATE = 08006
Error writing data to the connection.
root@8ad5b53a02e1:/# 

On Firebird 6.0 snapshot, this correctly reports

SQL> select rdb$reset_context() from rdb$database;
Statement failed, SQLSTATE = 39000
function RDB$RESET_CONTEXT could not be matched

Trying to call the function on 5.0.4/5.0.5 snapshot with too many parameters correctly reports "function RDB$RESET_CONTEXT could not be matched".

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions