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

Problem with creation procedure which contain adding text in DOS864 charset [CORE4244] #4568

Closed
firebird-issue-importer opened this issue Oct 11, 2013 · 7 comments

Comments

@firebird-issue-importer

Submitted by: Tomasz Kujalow (tkujalow)

Is related to QA531

When I compile such procedure (below) exception is thrown:
"Arithmetic overflow or division by zero has occurred.
arithmetic exception, numeric overflow, or string truncation.
Cannot transliterate character between character sets.
"
I tested:
2.0.7: OK
2.1.5: exception
2.5.2: exception

If I remove (comment): str=str||char_one_byte; procedure is created/altered, so problem is with operation || for DOS864 charset. Other DOS charsets: OK.

CREATE OR ALTER PROCEDURE tmp_SYS_CONV_UTF8_D864_1000
AS
declare variable char_one_byte char(1) character set DOS864;
declare variable STR VARCHAR(1000) CHARACTER SET DOS864;
begin

char_one_byte='A';
str='B';
str=str||char_one_byte;
--
end;

Commits: 51b0d1a d699c7c FirebirdSQL/fbt-repository@cdf2d4c FirebirdSQL/fbt-repository@c2f4978

====== Test Details ======

Confirmed for 2.1.7:
Statement failed, SQLCODE = -802
arithmetic exception, numeric overflow, or string truncation
-Cannot transliterate character between character sets

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 11, 2013

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 11, 2013

Commented by: @asfernandes

DOS864 has not the standard percent character.

Currently it's unusable, but it will still be unusable for LIKE.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 15, 2013

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 2.5.3 [ 10461 ]

Fix Version: 3.0 Alpha 2 [ 10560 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Mar 29, 2014

Modified by: @pcisar

Link: This issue is related to QA531 [ QA531 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 27, 2015

Modified by: @pavel-zotov

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

QA Status: Done successfully

Test Details: Confirmed for 2.1.7:
Statement failed, SQLCODE = -802
arithmetic exception, numeric overflow, or string truncation
-Cannot transliterate character between character sets

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Sep 25, 2015

Commented by: @pcisar

Test created.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Sep 25, 2015

Modified by: @pcisar

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

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

Successfully merging a pull request may close this issue.

None yet
2 participants