Issue Details (XML | Word | Printable)

Key: CORE-5054
Type: Improvement Improvement
Status: Open Open
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Pavel Zotov
Votes: 0
Watchers: 2

If you were logged in you would be able to see more operations.
Firebird Core

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

Created: 24/Dec/15 01:23 PM   Updated: 24/Dec/15 01:23 PM
Component/s: TRACEMGR
Affects Version/s: 2.5.5
Fix Version/s: None

QA Status: No test

 Description  « Hide
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
    #connection_id 176

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).

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.