recreation of collation for utf8 from unicode with option 'NUMERIC-SORT=1'  
leads to FB "death"
-----------------------------------------------------------------------------------------------

                 Key: CORE-3650
                 URL: http://tracker.firebirdsql.org/browse/CORE-3650
             Project: Firebird Core
          Issue Type: Bug
            Reporter: Pavel Zotov


recreate table tns(f int); -- drop dependencies if any
commit;
set term ^;
execute block as
begin
  execute statement 'drop collation ns_coll;';
  when any do begin end
end^
set term ;^
commit;
create collation ns_coll for utf8 from unicode 'NUMERIC-SORT=1';
recreate table tns(s varchar(50) character set utf8 collate ns_coll);
commit;

recreate table tns(f int); -- drop dependencies if any
commit;
set term ^;
execute block as
begin
  execute statement 'drop collation ns_coll;';
  when any do begin end
end^
set term ;^
commit;
create collation ns_coll for utf8 from unicode 'NUMERIC-SORT=1';
rollback; -- !!NB!!

set term ^;
execute block as
begin
  execute statement 'drop collation ns_coll;';
  when any do begin end
end^
set term ;^
commit; -- this commit kills FB service


The following messages apear in ISQL:
-------------------------------------------------------
Statement failed, SQLSTATE = 08006
Unable to complete network request to host "localhost".
-Error reading data from the connection.

The following messages appear in firebird.log:
--------------------------------------------------------------
BALAHA  Fri Nov 04 07:38:05 2011
        Fatal lock manager error: invalid lock id (0), errno: 0

BALAHA (Client) Fri Nov 04 07:38:05 2011
        INET/inet_error: read errno = 10054

BALAHA  Fri Nov 04 07:38:05 2011
        INET/inet_error: select in packet_receive errno = 10093

BALAHA (Client) Fri Nov 04 07:38:16 2011
        REMOTE INTERFACE/gds__detach: Unsuccesful detach from database. 
        Uncommitted work may have been lost

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

        

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to