Truncation of strings to put in MON$ tables do not work correctly
-----------------------------------------------------------------
Key: CORE-6419
URL: http://tracker.firebirdsql.org/browse/CORE-6419
Project: Firebird Core
Issue Type: Bug
Components: Engine
Affects Versions: 4.0 Beta 2
Reporter: Adriano dos Santos Fernandes
This is related to CORE-6248.
Multibyte character set strings may be split in the middle of a character
raising errors instead of truncation.
Also see this test case which generate error instead of truncation:
select rdb$set_context('USER_SESSION',
'123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890',
'1') from rdb$database;
select MON$VARIABLE_NAME from mon$context_variables;
Statement failed, SQLSTATE = 22001
arithmetic exception, numeric overflow, or string truncation
-string right truncation
-expected length 80, actual 90
--
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