Issue Task Closed

#78884Ensure consistent handling of BLOBs in database queries

Morton Jonuschat 12/05/16, 00:57 updated 10/17/17, 23:24

Description

Different database drivers handle BLOBs differently. The way TYPO3 treats them as strings leads to a couple of problems

  1. Some database drivers require special handling of BLOBs on write access to deal with encoding
  2. Some database drivers return BLOBs as resources on read access

To ease the handling of BLOBs in the core they should always be treated as (decoded) strings on read and should be marked as a BLOB/BINARY type on write. The read access side of things can be dealt with automatically, write access needs to properly declare the data type.

Reviews 1

Subtasks 1