Project

General

Profile

Actions

Bug #14378

closed

MySQL 4.1.7 does not tolerate DEFAULT '0' with AUTO_INCREMENT

Added by old_leendert over 19 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2004-11-08
Due date:
% Done:

0%

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

Description

With MySQL 4.1.7 (at least, that's what we've tested with), MySQL does not accept "DEFAULT '0'" when used with a primary key, thus, tables that have these will not be created. Basically that means that all integer fields that are used as primary key in tables will be generated the wrong way. TYPO3 generates e.g.

uid int(11) auto_increment default '0' not null primary key

The "default '0'" is not tolerated by MySQL in this case anymore.

(issue imported from #M472)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #14354: MySQL gt 4.1 no default value for auto incClosedIngmar Schlecht2004-10-12

Actions
Actions #1

Updated by Ingmar Schlecht over 19 years ago

This is a dupe of #0000416.

Actions

Also available in: Atom PDF