Project

General

Profile

Actions

Bug #14354

closed

MySQL gt 4.1 no default value for auto inc

Added by Stefan Kreisberg about 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
-
Start date:
2004-10-12
Due date:
% Done:

0%

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

Description

In MySQL > 4.0 default values for auto_inc columns are ignored, in MySQL > 4.1 they produce an error. Many extensions (perhaps created with the extrepwiz?) create sql schemas with auto_inc wich have default values ...

example:
replace the line uid int(11) NOT NULL default '0' auto_increment with uid int(11) unsigned NOT NULL auto_increment - I'd like to fix all extensions but do not know howto :D
(issue imported from #M416)


Files

0000416-bug_416.diff (584 Bytes) 0000416-bug_416.diff Administrator Admin, 2004-11-15 22:27
0000416-class.t3lib_install.php.diff (600 Bytes) 0000416-class.t3lib_install.php.diff Administrator Admin, 2005-02-04 19:26
0000416-class.t3lib_install.php.part2.diff (747 Bytes) 0000416-class.t3lib_install.php.part2.diff Administrator Admin, 2005-02-04 20:01
class.t3lib_install_4.diff (2.2 KB) class.t3lib_install_4.diff Administrator Admin, 2005-04-07 18:06
class.t3lib_install_5.diff (3.03 KB) class.t3lib_install_5.diff Administrator Admin, 2005-04-07 21:51
class.t3lib_install__beta2.diff (1007 Bytes) class.t3lib_install__beta2.diff Administrator Admin, 2005-04-18 11:49

Related issues 8 (0 open8 closed)

Related to TYPO3 Core - Bug #14139: Install tool is incapable of comparing modern database dumpsClosedIngmar Schlecht2004-05-03

Actions
Has duplicate TYPO3 Core - Bug #14378: MySQL 4.1.7 does not tolerate DEFAULT '0' with AUTO_INCREMENTClosedIngmar Schlecht2004-11-08

Actions
Has duplicate TYPO3 Core - Bug #14422: bug with MySQL 4.1.7ClosedMichael Stucki2004-11-30

Actions
Has duplicate TYPO3 Core - Bug #14528: Mysql 4.1 bug 416 still buggyClosedMichael Stucki2005-02-03

Actions
Has duplicate TYPO3 Core - Bug #14529: Cannot create static tables containing data with MySQL 4.xClosedMichael Stucki2005-02-03

Actions
Has duplicate TYPO3 Core - Bug #14645: Database fields don't get updatedClosedKarsten Dambekalns2005-04-07

Actions
Has duplicate TYPO3 Core - Bug #14876: Warning: mysql_fetch_assoc() errorClosedMichael Stucki2005-07-22

Actions
Has duplicate TYPO3 Core - Bug #15295: Unable to login into BE when using MySQL 5+ClosedKarsten Dambekalns2005-12-19

Actions
Actions

Also available in: Atom PDF