Project

General

Profile

Actions

Bug #67531

closed

SqlParser does not quote identifiers in CREATETABLE

Added by Morton Jonuschat over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2015-06-16
Due date:
% Done:

100%

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

Description

When creating an index through a CREATE TABLE statement the generated SQL does not properly quote index, table and field names. This leads to „wrong“ SQL statements like

CREATE UNIQUE INDEX versionextrepo ON tx_extensionmanager_domain_model_extension (extension_key, version, repository)

where none of the identifiers has been quoted.

Actions

Also available in: Atom PDF