Project

General

Profile

Actions

Bug #20386

closed

Table sys_refindex cannot be created with DBAL

Added by Xavier Perseguers over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2009-05-03
Due date:
% Done:

0%

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

Description

The SQL parser (from core actually, not DBAL) is not able to parse one of the key creation for table sys_refindex:

#
  1. Table structure for table 'sys_refindex' #
    CREATE TABLE sys_refindex (
    ...
    KEY lookup_string (ref_table(133),ref_string)
    );

The syntax to specify only a given number of characters to be taken for the index is MySQL-specific and furthermore is not supported by t3lib_db parser making it impossible to create this table for, e.g., Oracle from the Install Tool.

Solution: make an index with all 255 characters to be DBMS-agnostic:

KEY lookup_string (ref_table,ref_string)

(issue imported from #M11023)


Files

11023.diff (404 Bytes) 11023.diff Administrator Admin, 2009-05-03 08:38

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #20867: Table sys_refindex / KEY lookup_string not UTF-8 compatibleClosedRupert Germann2009-08-12

Actions
Has duplicate TYPO3 Core - Bug #19557: db can't create sys_refindex tableClosedMichael Stucki2008-11-03

Actions
Actions #1

Updated by Michael Stucki over 15 years ago

Fixed in Trunk (rev. 5694)

Actions #2

Updated by Michael Stucki over 15 years ago

This is just a test.

Actions

Also available in: Atom PDF