Project

General

Profile

Actions

Bug #81388

closed

SQL-keyword "recursive" not enclosed in ticks - inserts into tt_content fail with MariaDB >=10.2

Added by Robert Görke almost 7 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Could have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2017-05-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Situation: I am using typo3 together with mariaDB 10.2. on centos. Now mariaDB supports recursive queries since 10.2 und thus has "recursive" as a keyword - despite the fact that it is not listed in the official list of keywords: You cannot use "recursive" as an identifier without escaping it with ticks.
Problem: typo3 uses the keyword "recursive" without enclosing it in ticks.
Observation: When trying to insert a text element, the corresponding sql-insert tries to insert into table tt_content. Thereby it also lists all columns, among them a column called "recursive", in the query - without ticks. This fails.
Result: It is not possible to use typo3 with mariaDB from 10.2 on.
Solution: A solution could simply be to enclose all identifiers in automatically built sql-queries by (correct) ticks.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #81341: recursive is a reserved keyword in MariaDB 10.2. Causes errors in queries for tt_content...ClosedMorton Jonuschat2017-05-25

Actions
Actions

Also available in: Atom PDF