Lenght of field names when using special character
--------------------------------------------------
Key: CORE-5960
URL: http://tracker.firebirdsql.org/browse/CORE-5960
Project: Firebird Core
Issue Type: Bug
Components: Charsets/Collation
Affects Versions: 3.0.4
Environment: Win7 64, with FB 3.0.4/32
Reporter: Florian
Priority: Minor
After upgrading from FB 2.5 to FB 3.0.4 via backup/restore cycle the new FB 3
throws the following error on select:
Arithmetic overflow or division by zero has occurred.
arithmetic exception, numeric overflow, or string truncation.
string right truncation.
expected length 31, actual 31.
The boiled down select statement is this: SELECT Zeitstempel, CALCAVGTEMP as
"24h Mittelwert Aussentemp. (°C)" from OPCValues
The culprit seems to be the special character °, it appears to count as two
characters.
The statement works fine in FB 2.5
--
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