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

[5.2] Put the payload column of jobs table to the end of insert statements. #13469

Merged
merged 1 commit into from
May 9, 2016

Conversation

fsblemos
Copy link
Contributor

@fsblemos fsblemos commented May 6, 2016

It was opened an issue in laravel-oci8 because of an exception thrown when inserting in the table jobs.

ORA-24816: Expanded non LONG bind data supplied after actual LONG or LOB column
Cause: A Bind value of length potentially > 4000 bytes follows binding for LOB or LONG.
Action: Re-order the binds so that the LONG bind or LOB binds are all at the end of the bind list.

Like is mentioned above, to solve this is simply needed to put the clob column at the end of the insert statement.

This was done in class DatabaseQueue, in buildDatabaseRecord, and then the problem is solved.

@GrahamCampbell GrahamCampbell changed the title Put the payload column of jobs table to the end of insert statements. [5.2] Put the payload column of jobs table to the end of insert statements. May 6, 2016
@taylorotwell taylorotwell merged commit 7c8d3d0 into laravel:5.2 May 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants