Project

General

Profile

Actions

Task #87518

closed

Update ConnectionPool.php

Added by Forger Service almost 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2019-01-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #88272: Different return types between mysqli and pdo_mysql driverClosed2019-05-04

Actions
Actions

Also available in: Atom PDF