Trace could not work correctly with quoted file names in trace configurations
-----------------------------------------------------------------------------

                 Key: CORE-5991
                 URL: http://tracker.firebirdsql.org/browse/CORE-5991
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0.4, 3.0.3, 4.0 Alpha 1, 3.0.2, 3.0.1, 3.0.0, 4.0 
Initial
            Reporter: Vlad Khorsun
            Priority: Minor


Trace configuration allows to specify file names in two places:
a) at "database" section header as file name pattern
b) at "log_filename" parameter, used to specify file name for audit log

Double quotes works as expected, the issue is about single quoted values.


When trace session with such configuration is active and user attached to some 
database, 
the following happens:

In the case (a) error is reported:

Error creating trace session for database "DBNAME":
error while parsing trace configuration
        line 15: error while compiling regular expression "'PATTERN'"

where DBNAME is the database name from connection string and 'PATTERN' is 
database pattern from trace configuration.
Error is reported via trace log (in case of user trace session) or firebird.log 
(in case of audit trace session).


In the case (b) the audit log file is not created and error is not logged (it 
will be adressed in separate ticket).


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