Project

General

Profile

Actions

Feature #24145

closed

Provide a pass-through flag for sql_exec() which goes directly to the native MySQL engine

Added by Ernesto Baschny about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2010-11-20
Due date:
% Done:

0%

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

Description

DBAL currently tries to parse queries passed to it via sql_exec(). This is marked as "experimental" in 4.4 but brings lots of troubles on complex queries, for example the queries generated by Extbase.

The idea of parsing the queries is that DBAL also has to handle "mappings" for tables.

A new feature proposed by Xavier would enable the caller to "pass-through" the sql_exec() directly to the underlying MySQL native driver, meaning no parsing at all in DBAL. This would allow running Extbase only on MySQL but at least work even if DBAL is active.

This is an intermediate fix which should be added to 4.5 to rise the usage of both DBAL and Extbase at the same time. Keep in mind that with this change, Extbase will work only on MySQL (as it currently does anyway).

In future release of TYPO3, this problem might be solved already, as soon as their is either a query-generation API in DBAL and/or some enhancements on the Extbase side of query generation.

(issue imported from #M16491)


Files

16491_core.diff (521 Bytes) 16491_core.diff Administrator Admin, 2010-11-23 11:34
16491_dbal.diff (1.35 KB) 16491_dbal.diff Administrator Admin, 2010-11-23 11:34
Actions

Also available in: Atom PDF