Issue Details (XML | Word | Printable)

Key: CORE-5926
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Pavel Zotov
Votes: 0
Watchers: 1

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

Attempt to create mapping with non-ascii user name which is encoded in SINGLE-BYTE codepage (win 1251) leads to '-Malformed string' message.

Created: 27/Sep/18 11:12 AM   Updated: 10/Dec/18 07:31 AM
Component/s: Charsets/Collation
Affects Version/s: 4.0 Alpha 1, 3.0.3
Fix Version/s: 4.0 Beta 1, 3.0.5

QA Status: Done successfully

 Description  « Hide
Bug was encountered during implementation test for CORE-5904.
After discuss with Alex it was decided to create separate ticket for this.

After launch cmd.exe and change there code page from OEM to ANSI (1251 in my case) i run following script:
    set echo on;
    set names win1251;
    shell del C:\MIX\firebird\QA\fbt-repo\tmp\c5904-w1251.fdb 2>nul;
    create database 'localhost:C:\MIX\firebird\QA\fbt-repo\tmp\c5904-w1251.fdb' user sysdba password 'masterkey';
    create or alter mapping foo using plugin win_sspi from user 'org\фуу' to user "org\foo";
    drop database;

-- and get:
    Statement failed, SQLSTATE = 22000
    unsuccessful metadata update
    -Malformed string
Checked on:

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