Skip to content

[stable22] Fix reading blob data as resource - #33345

Closed
backportbot-nextcloud[bot] wants to merge 1 commit into
stable22from
backport/33129/stable22
Closed

[stable22] Fix reading blob data as resource#33345
backportbot-nextcloud[bot] wants to merge 1 commit into
stable22from
backport/33129/stable22

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

backport of #33129

PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB
(which is used for QBMapper).
Previously we just converted this resource using settype, which produced
things like "Resource id #14" instead of the actual resource data.
Now we read the stream correctly if the returned data is a resource
See context at #22472Fixes#22439
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
@PVince81

Copy link
Copy Markdown
Member

22 is EOL -> closing

@nickvergessen
nickvergessen deleted the backport/33129/stable22 branch July 26, 2022 07:36
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugphpPull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@PVince81@tcitworld