We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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');
The text was updated successfully, but these errors were encountered:
Commented by: @asfernandes
Duplicates CORE3373.
Sorry, something went wrong.
status: Open [ 1 ] => Resolved [ 5 ]
resolution: Duplicate [ 3 ]
Link: This issue duplicates CORE3373 [ CORE3373 ]
Commented by: Attila Molnár (e_pluribus_unum)
The fix will be merged into 2.5.2?
status: Resolved [ 5 ] => Closed [ 6 ]
> The fix will be merged into 2.5.2?
I tried it, but no. It's not simple for 2.5.
QA Status: No test
No branches or pull requests
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');
The text was updated successfully, but these errors were encountered: