nextcloud-server/tests/lib/AppFramework/Db
Thomas Citharel 1d30fb7852
Fix reading blob data as resource
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 #22472

Fixes #22439

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-07-25 09:45:47 +07:00
..
EntityTest.php Fix reading blob data as resource 2022-07-25 09:45:47 +07:00
MapperTest.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
MapperTestUtility.php Bump doctrine/dbal from 2.12.0 to 3.0.0 2021-01-08 11:45:19 +07:00
QBMapperTest.php Add a metadata service to store file metadata 2022-04-13 14:06:29 +07:00
TransactionalTest.php Add Transactional trait for atomic DB operations 2022-02-17 09:58:41 +07:00