EXECUTE STATEMENT On EXTERNAL doesn't work for database files containing german 
Umlaute äöüß
--------------------------------------------------------------------------------------------

                 Key: CORE-3794
                 URL: http://tracker.firebirdsql.org/browse/CORE-3794
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 2.5.1
         Environment: Windows 7 x64
            Reporter: Daniel Bauten
         Attachments: Bug in ON EXTERNAL.7z

(a) The statement

  execute statement 'SET statistics INDEX ' || :index_name || ';'
    with autonomous transaction
    on external :attachment_name;

leads into "file not found" if 'attachment_name' (e.g. the database filename) 
contains german Umlaute äöüß.

(b) As a workaround I found that the statement

  execute statement 'SET statistics INDEX ' || :index_name || ';'
    with autonomous transaction
    on external '127.0.0.1:' || :attachment_name
    as user 'SYSDBA'
    password 'masterkey';

even works fine if 'attachment_name' (e.g. the database filename) contains 
german Umlaute äöüß.

To reproduce just use the attached database in "Bug in ON EXTERNAL.7z" and run 
the following statements

execute procedure SET_STATISTICS_1('SOME_TABLE') -- doesn't work (see a)

execute procedure SET_STATISTICS_2('SOME_TABLE') -- works (see b)

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

       

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to