Improve explanation about string overflow when trying to create login with
non-ascii characters and number of octets in it more than 31
---------------------------------------------------------------------------------------------------------------------------------------
Key: CORE-4883
URL: http://tracker.firebirdsql.org/browse/CORE-4883
Project: Firebird Core
Issue Type: Improvement
Affects Versions: 3.0 RC 1
Reporter: Pavel Zotov
chcp 1251
isql -ch win1251 localhost/3333:e30
SQL> create or alter user "Спасопреображенский" password '123';
Statement failed, SQLSTATE = 22001
arithmetic exception, numeric overflow, or string truncation
-string right truncation
-expected length 31, actual 19
This error actually says that number of OCTETS in login multi-byte
representation exceeded limit of 31.
Can this message be corrected in order not to see strange "expected length 31,
actual 19" ?
--
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