Project

General

Profile

Actions

Bug #16376

closed

Database Analyser always changes be_users lang field.

Added by Franz Holzinger over 18 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
-
Start date:
2006-07-19
Due date:
% Done:

0%

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

Description

After the update for 4.0.0 I am asked continuouly in the Database Analyser to update the lang field.

Changing fields
ALTER TABLE be_users CHANGE lang lang varchar(2) NOT NULL default '';
Current value: char(2) default ''

(issue imported from #M3885)


Files

typo3-3.png (13.7 KB) typo3-3.png Administrator Admin, 2006-07-28 07:23
typo3-4.png (12.7 KB) typo3-4.png Administrator Admin, 2006-07-28 07:24

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #16849: Default table definition for be_users, field lang has wrong field type varcharClosedChristian Kuhn2007-01-10

Actions
Actions #1

Updated by Dmitry Dulepov over 18 years ago

I confirm.

Actions #2

Updated by Michael Stucki over 18 years ago

This works fine in my MySQL version, but I think I remember that I had the same problem with older versions.

If I remember correctly, this is (was) a bug in MySQL: Char fields cannot be changed into varchar.

Can you please try this out in phpmyadmin and let me know?

Actions #3

Updated by Franz Holzinger over 18 years ago

Even with phpMyAdmin it tells me that it did change the column successfully (see images), but in reality it did not change the lang field from char(2) to varchar(2).

phpMyAdmin 2.6.4-pl3
MySQL 4.1.12 sur le serveur localhost - utilisateur : root@localhost

Actions #4

Updated by Michael Stucki over 18 years ago

Alright. So what do you want to do? In my opinion, we should just leave it as it is. It's a MySQL bug, and it has been fixed in a later version.

Actions #5

Updated by Franz Holzinger over 18 years ago

Ok. So we cannot change anything here.

When you close this item then in a way that it is still searchable and we do not get hundreds copies of it again.

Actions #6

Updated by Michael Stucki over 18 years ago

Right.

Actions

Also available in: Atom PDF