Issue Details (XML | Word | Printable)

Key: CORE-1927
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Adriano dos Santos Fernandes
Reporter: Kovalenko Dmitry
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Firebird Core

sp_register_character_set can generate the negative RDB$CHARACTER_SET_ID

Created: 08/Jun/08 03:15 PM   Updated: 08/Nov/09 06:46 PM
Component/s: Charsets/Collation
Affects Version/s: 2.1.0
Fix Version/s: 2.5 Beta 1

Time Tracking:
Not Specified

Planning Status: Unspecified


 Description  « Hide
[from sp_register_character_set]

id = 255;

for select rdb$character_set_id
from rdb$character_sets
order by rdb$character_set_id desc
into :temp_id do
begin
if (temp_id = id) then
id = id - 1;
else
break;
end

---------
RDB$CHARACTER_SETS::RDB$CHARACTER_SET_ID has no a verification of value

---------
Also. I looked the data at RDB$TYPES. This table has the rows with equal data. It's correct?

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Adriano dos Santos Fernandes added a comment - 09/Jul/08 11:22 AM
Character sets don't load if there is no correspondent row in RDB$TYPES.

Kovalenko Dmitry added a comment - 21/Nov/08 01:50 PM
Hi

sp_register_character_set should jump over ID=127 (CS_dynamic) or no?