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

It's possible to insert bigger data to table field than it's defined size. [CORE3669] #4019

Closed
firebird-automations opened this issue Nov 18, 2011 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Attila Molnár (e_pluribus_unum)

Duplicates CORE3373

Hi!

It's possible to insert bigger data to table field than it's defined size.
The bigger data is readed back correctly, not truncated.

CREATE TABLE test (
NAME VARCHAR(30) NOT NULL
)

--30 character : works, this is expected (OK)
INSERT INTO test (NAME)
VALUES ('012345678901234567890123456789');

--31 character : works (!), error expected (NO)
INSERT INTO test (NAME)
VALUES ('0123456789012345678901234567890');

--32 character : error, error expected (OK)
INSERT INTO test (NAME)
VALUES ('01234567890123456789012345678901');

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

Duplicates CORE3373.

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

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

resolution: Duplicate [ 3 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @asfernandes

Link: This issue duplicates CORE3373 [ CORE3373 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Attila Molnár (e_pluribus_unum)

The fix will be merged into 2.5.2?

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

@firebird-automations
Copy link
Collaborator Author

Commented by: @asfernandes

> The fix will be merged into 2.5.2?

I tried it, but no. It's not simple for 2.5.

@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

1 participant