TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #87518
Issue Task Closed

#87518Update ConnectionPool.php

Forger Service 01/22/19, 12:07 updated 12/23/19, 22:48

Open in Forge Comment in Forge

Description

I would like to get int and floats from my MySQL server.
For that I must set
````php
$pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
$pdo->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, false);
````

This patch allows to set ATTR_STRINGIFY_FETCHES for pdo_mysql again.

see: https://stackoverflow.com/questions/1197005/how-to-get-numeric-types-from-mysql-using-pdo/15592818#15592818

This issue was automatically created from https://github.com/TYPO3/TYPO3.CMS/pull/160

Reviews 3

  • main 59547[TASK] Update ConnectionPool.php Resolves this issue Abandoned TYPO3com CR 0 V 0 persistence Easy +1 −1 11/09/19, 14:01
  • 9.5 62065[BUGFIX] Use prepared statements for pdo_mysql per default Resolves this issue Merged Manuel Selbach CR +2 V +2 → main Normal +153 −1 11/06/19, 16:40
  • main 62047[BUGFIX] Use prepared statements for pdo_mysql per default Resolves this issue Merged Manuel Selbach CR +2 V +2 → 9.5 Normal +153 −1 10/24/19, 08:50

Related issues 1

  • Bug #88272Different return types between mysqli and pdo_mysql driver Related to Closed Database API (Doctrine DBAL) v9 Patrick Broens 05/04/19, 15:08
Author
Forger Service
Priority
Should have
Category
Database API (Doctrine DBAL)
TYPO3 version
8
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback