Actions
Bug #51090
closedSQL parser does not analyse NOT NULL in extension SQL files
Status:
Closed
Priority:
Should have
Assignee:
Category:
Install Tool
Target version:
Start date:
2013-08-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If I start the database analyzer in the install tool, the SQL parser didn't analyse the NULL attribute of the tables.
In ext_tables.sql there are the following example definition:
# # Table structure for table 'tx_extkey_tablename' # CREATE TABLE tx_extkey_tablename ( uid int(11) NOT NULL auto_increment, pid int(11) DEFAULT '0' NOT NULL, tstamp int(11) DEFAULT '0' NOT NULL, crdate int(11) DEFAULT '0' NOT NULL, cruser_id int(11) DEFAULT '0' NOT NULL, deleted tinyint(4) DEFAULT '0' NOT NULL, hidden tinyint(4) DEFAULT '0' NOT NULL, title varchar(150) DEFAULT '' NOT NULL, example tinyint(4) DEFAULT '0' NOT NULL, PRIMARY KEY (uid), KEY parent (pid) );
In the database the structure looks like this:
# # Table structure for table 'tx_extkey_tablename' # CREATE TABLE tx_extkey_tablename ( uid int(11) NOT NULL auto_increment, pid int(11) DEFAULT '0' NOT NULL, tstamp int(11) DEFAULT '0' NOT NULL, crdate int(11) DEFAULT '0' NOT NULL, cruser_id int(11) DEFAULT '0' NOT NULL, deleted tinyint(4) DEFAULT '0' NOT NULL, hidden tinyint(4) DEFAULT '0' NOT NULL, title varchar(150) DEFAULT '' NOT NULL, example tinyint(4) DEFAULT '0', PRIMARY KEY (uid), KEY parent (pid) );
The database analyzer say, that everything is ok. Nothing to do. But that's not true.
Updated by Mathias Schreiber almost 10 years ago
- Target version changed from next-patchlevel to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Category changed from Install Tool to 1601
Updated by Morton Jonuschat over 9 years ago
- Assignee set to Morton Jonuschat
- Is Regression set to No
Updated by Morton Jonuschat over 9 years ago
- Status changed from New to Resolved
This has been resolved through issue #64616, applied in Changeset 47bdb4f81566de9e12997d3c3c31694658baae65
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed
Actions