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

String parameter works incorrect with "or" operator "arithmetic exception numeric overflow or string truncation" [CORE5987] #2237

Open
firebird-automations opened this issue Jan 17, 2019 · 1 comment

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Dmitry Lendel (dmitryle)

CREATE TABLE TEST (
TEXT VARCHAR(10))

insert into test (text) values ('111')

select * from test where text=?text
With param value '12345678912345678' no errors

select * from test where (text=?text or text=?text)
With param value '12345678912345678'
Error message is "arithmetic exception numeric overflow or string truncation"

@firebird-automations
Copy link
Collaborator Author

Commented by: @mrotteveel

text=?text is invalid syntax. Please provide a reproducible program or script and specify the language used.

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

1 participant