Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase length of trace patterns: include_filter, exclude_filter (currently they are only 256 characters on 2.5.x) [CORE5054] #5341

Open
firebird-automations opened this issue Dec 24, 2015 · 0 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @pavel-zotov

Following sample uses pattern in 'include_filter' which was generated auto, but its length is limited exactly to 256 characters (from 1st character 's' after "%(" and up to last character '1' before ")%"):

<database (%[\\/](oltp25).fdb)|(oltp25)>
enabled true
time_threshold 0

include\_filter '%\(sp\_client\_order\|sp\_cancel\_client\_order\|sp\_supplier\_order\|sp\_cancel\_supplier\_order\|sp\_supplier\_invoice\|sp\_cancel\_supplier\_invoice\|sp\_add\_invoice\_to\_stock\|sp\_cancel\_adding\_invoice\|sp\_customer\_reserve\|sp\_cancel\_customer\_reserve\|sp\_reserve\_write\_off\|sp\_test1231\)%'

log\_statement\_finish true
print\_perf true
max\_sql\_length = 16384
#&#x2060;connection\_id 176

</database>

It will be nice if trace in 2.5.x allow to use patterns of arbitrary length with bound ~32 or 64 K.

PS. No such problem in 3.0 (at least for the pattern with length ~500 characters).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant