Trace 2.5.x: allow  database / alias patterns be case insensitive
-----------------------------------------------------------------

                 Key: CORE-5055
                 URL: http://tracker.firebirdsql.org/browse/CORE-5055
             Project: Firebird Core
          Issue Type: Improvement
          Components: TRACEMGR
    Affects Versions: 2.5.5
            Reporter: Pavel Zotov
            Priority: Trivial


I have database which name was created in UPPERCASE (by ISQL 'create database 
host/port:dbnm' command):

SQL> set list on; select mon$database_name from mon$database;

MON$DATABASE_NAME               C:\MIX\FIREBIRD\OLTPTEST\OLTP25.FDB

When trace config for watching this database activities will begin from this 
line: <database (%[\\/](oltp25).fdb)|(oltp25)> -- no data will appear there.
Pattern of database/alias seems to be Case Sensitive, it reuires in my case 
this: <database=(%[\\/](OLTP25).fdb)|(OLTP25)>.

This is inconvenient. No such strict rule for include / exclude filers, so one 
may to specify them in any case, including CamEl style:

# not works: <database (%[\\/](oltp25).fdb)|(oltp25)>
<database=(%[\\/](OLTP25).fdb)|(OLTP25)>      
    enabled true                              
    time_threshold 0                          

    # This *works* fine:
    include_filter = '%(fRom Sp_|FroM srv_)%' 

    log_statement_finish true                 
    print_perf true                           
    max_sql_length = 16384                    

</database>                                   

Is it possible to change matching in 2.5.x for header section with databases / 
aliases list ?


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to