Cannot open FDB file when folder path includes character code of 0x5c.
----------------------------------------------------------------------

                 Key: CORE-4993
                 URL: http://tracker.firebirdsql.org/browse/CORE-4993
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 2.5.2
         Environment: Windows 7 Professional 64bit
            Reporter: Tatsuya Saito


Cannot open FDB file with following condition.

<Steps to reproduce>
1. Put FDB file on following path.
 C:\test表z\TEST.FDB
2. Create following folder.
 C:\test
3. Open FDB file using isql command.
  D:\test表z>isql test.fdb -u user -p password
  Statement failed, SQLSTATE = 08001
  I/O error during "CreateFile (open)" operation for fi
  -Error while trying to open file
  -指定されたパスが見つかりません。
  Use CONNECT or CREATE DATABASE to specify a database

  * "指定されたパスが見つかりません。" means "specified path not found".

<Expected Behavior>
Success to open FDB file.

<Actual Behavior>
Failed to open it like above.

<Operating System>
OS:Windows 7 Professional 64bit
Firebird:2.5.2.26540(Win32)
FDB Charset: CP943C

<Information>
* Success to open it when "C:\test" folder is not exist.
* Success to open it when folder path does not include character code of 0x5c.
* "表" is Japanese character. The code is 0x955c on Shift-JIS.
On Shift-JIS character code set, 0x5c means "\" which is separator of folder 
path.


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