Project

General

Profile

Actions

Bug #24156

closed

DBAL does not support multi-column indexes in create table queries

Added by Jigal van Hemert over 13 years ago. Updated over 13 years ago.

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

0%

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

Description

When DBAL is active, the install tool tries to create the sys_registry table. This table contains a UNIQUE key on two columns. The query parser fails to recognize this and creates:

CREATE TABLE sys_registry ( uid int(11) unsigned NOT NULL auto_increment, entry_namespace varchar(128) NOT NULL default '', entry_key varchar(128) NOT NULL default '', entry_value blob, PRIMARY KEY (uid), UNIQUE (Array) );

How to reproduce:
- (temporarily) remove sys_registry table
- install DBAL
- in Install Tool: Database Analyzer > COMPARE
- let tool try to create the sys_registry table
(issue imported from #M16501)


Files

16501_core.diff (860 Bytes) 16501_core.diff Administrator Admin, 2010-11-30 16:11
16501_dbal.diff (1.13 KB) 16501_dbal.diff Administrator Admin, 2010-11-30 16:12

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #24150: Can't create table sys_registry from install toolClosed2010-11-20

Actions
Actions

Also available in: Atom PDF