From: Poul D. (JIRA) <tr...@fi...> - 2007-05-09 14:18:10
|
Illegal characters in field name crashes database ------------------------------------------------- Key: CORE-1251 URL: http://tracker.firebirdsql.org/browse/CORE-1251 Project: Firebird Core Issue Type: Bug Components: Charsets/Collation Affects Versions: 2.0.1 Environment: Embedded server (probably others too) Reporter: Poul Dige Priority: Minor Trying to input an illegal character (e.g. danish letters =C3=A6,=C3=B8,=C3= =A5) in a field name crashes the program with Arithmetic overflow or division by zero has occurred. arithmetic exception, numeric overflow, or string truncation. Cannot transliterate character between character sets. Afterwards the rdb$relation_fields.rdb$field_name is impossible to address = for the table. Running the following SQL will fix the problem: update rdb$relation_fields set rdb$field_name =3D 'NewFieldName' where rdb$relation_name =3D 'NEW_TABLE' However, I guess illegal characters should be caught by the engine before g= oing into the rdb$relation_fields.rdb$field_name :) --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |