Skip to content

Add way to retrieve statement BLR with Statement::getInfo and ISQL's SET EXEC_PATH_DISPLAY BLR #6910

@asfernandes

Description

@asfernandes

Info codes to be used with Statement::getInfo:

#define isc_info_sql_exec_path_blr_bytes	31
#define isc_info_sql_exec_path_blr_text		32

To make isc_info_sql_exec_path_blr_* work, session must be first execute set debug option dsql_keep_blr = true.

ISQL command:

In ISQL, set debug option must not be used directly, instead user should use set exec_path_display blr.

SET EXEC_PATH_DISPLAY BLR/OFF

Retrieves the execution path of a DML statement formatted as BLR text.

Warning: this feature is very tied to engine internals and its usage is discouraged
if you do not understand very well how these internals are subject to change between
versions.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions