Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sp_register_character_set can generate the negative RDB$CHARACTER_SET_ID [CORE1927] #2361

Closed
firebird-automations opened this issue Jun 8, 2008 · 5 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @ibprovider

[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?

Commits: c27b98b 984340e

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Character sets don't load if there is no correspondent row in RDB$TYPES.

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5 Beta 1 [ 10251 ]

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @ibprovider

Hi

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

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants