An attempt to create global mapping with long (> SQL identifier length) FROM 
field fails
----------------------------------------------------------------------------------------

                 Key: CORE-5904
                 URL: http://tracker.firebirdsql.org/browse/CORE-5904
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0.3, 4.0 Alpha 1
            Reporter: Alexander Peshkov


Local mapping with long from field may be created successfully:

CREATE MAPPING KrasnorutskayaG USING PLUGIN WIN_SSPI FROM USER 
'DOMN\КрасноруцкаяАА' TO USER "DOMN\Krasnorutskaya";

succeeds but

CREATE Global MAPPING KrasnorutskayaG USING PLUGIN WIN_SSPI FROM USER 
'DOMN\КрасноруцкаяАА' TO USER "DOMN\Krasnorutskaya";

fails with the following error:

Statement failed, SQLSTATE = 42000
unsuccessful metadata update
-CREATE MAPPING KRASNORUTSKAYAG failed
-Dynamic SQL Error
-SQL error code = -104
-Name longer than database column size

(sample is based on http://tracker.firebirdsql.org/browse/CORE-5866)

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

       

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to