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

Change type of returning value of CHAR_LENGTH, BIT_LENGTH and OCTET_LENGTH of BLOBs to bigint [CORE4590] #4906

Closed
firebird-issue-importer opened this issue Oct 28, 2014 · 8 comments

Comments

@firebird-issue-importer

Submitted by: @pavel-zotov

Relate to CORE4592
Is duplicated by CORE4592

Currently it is possible to store blob with length more than 2^31 (when page_size >= 8K).
It will be convenient if OCTET_LENGTH will return the length of such blob.

Commits: ad5c46b FirebirdSQL/fbt-repository@74e5aca

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 28, 2014

Commented by: @dyemanov

I suppose CHAR_LENGTH should also be changed, as text blobs with single-byte charsets could also be very large.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 31, 2014

Modified by: Sean Leyne (seanleyne)

Link: This issue relate to CORE4592 [ CORE4592 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Oct 31, 2014

Commented by: Sean Leyne (seanleyne)

New case created for the change to CHAR_LENGTH()

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Nov 5, 2014

Modified by: @asfernandes

assignee: Adriano dos Santos Fernandes [ asfernandes ]

summary: Change type of returning value of OCTET_LENGTH() to bigint => Change type of returning value of CHAR_LENGTH, BIT_LENGTH and OCTET_LENGTH of BLOBs to bigint

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Nov 5, 2014

Modified by: @asfernandes

Link: This issue is duplicated by CORE4592 [ CORE4592 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Nov 5, 2014

Modified by: @asfernandes

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

resolution: Fixed [ 1 ]

Fix Version: 3.0 Beta 2 [ 10586 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented May 27, 2015

Modified by: @pavel-zotov

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

QA Status: Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Jun 14, 2015

Modified by: @pavel-zotov

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
Development

No branches or pull requests

2 participants