summaryrefslogtreecommitdiffstats
path: root/database
diff options
context:
space:
mode:
authorDries Buytaert2003-06-04 18:24:39 (GMT)
committerDries Buytaert2003-06-04 18:24:39 (GMT)
commit355d25e73d90f3174db459a5a380193e0505ada4 (patch)
treee7b2a531a259bbd83bdd1d482384bb753084bed5 /database
parent3151a1cb71b972bc70aa083b2fd6a90ab36b7921 (diff)
- Bugfix: renamed the SQL field 'types' to 'nodes' because 'types' is a reserved keyword in MySQL 4. This fixes critical bug #1618. Patch by Marco.
==> This fix requires to run update.php! - Bugfix: made sessions work without warnings when register_globals is turned off. The solution is to use $_SESSION instead of session_register(). This fixes critical bug #1797. Patch by Marco. - Bugfix: sometimes error messages where being discarded when previewing a node. Patch by Craig Courtney. - Bugfix: fixed charset problems. This fixes critical bug #1549. Patch '0023.charset.patch' by Al. - Code improvements: removed some dead code from the comment module. Patch by Marco. - Documentation improvements: polished the node module help texts and form descriptions. Patch '0019.node.module.help.patch' by Al. - CSS improvements all over the map! Patch '0021.more.css.patch' by Al. - GUI improvements: improved the position of Druplicon in the admin menu. Patch '0020.admin.logo.patch' by Al. - GUI improvements: new logos for theme Marvin and theme UnConeD. Logos by Kristjan Jansen. - GUI improvements: small changes to the output emitted by the profile module. Suggestions by Steven Wittens. - GUI improvements: small fixes to Xtemplate. Patch '0022.xtemplate.css.patch' by Al. TODO: - Some modules such as the buddy list module and the annotation module in the contributions repository are also using session_register(). They should be updated. We should setup a task on Drupal. - There is code emitting '<div align="right">' which doesn't validate. - Does our XML feeds validate with the charset changes? - The forum module's SQL doesn't work properly on PostgreSQL.
Diffstat (limited to 'database')
-rw-r--r--database/database.mssql2
-rw-r--r--database/database.mysql2
-rw-r--r--database/database.pgsql2
3 files changed, 3 insertions, 3 deletions
diff --git a/database/database.mssql b/database/database.mssql
index c1615a6..9ba7ea5 100644
--- a/database/database.mssql
+++ b/database/database.mssql
@@ -354,7 +354,7 @@ CREATE TABLE [dbo].[vocabulary] (
[hierarchy] [tinyint] NOT NULL ,
[multiple] [tinyint] NOT NULL ,
[required] [tinyint] NOT NULL ,
- [types] [text] NULL ,
+ [nodes] [text] NULL ,
[weight] [smallint] NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
diff --git a/database/database.mysql b/database/database.mysql
index ab12707..1862f66 100644
--- a/database/database.mysql
+++ b/database/database.mysql
@@ -528,7 +528,7 @@ CREATE TABLE vocabulary (
hierarchy tinyint(3) unsigned NOT NULL default '0',
multiple tinyint(3) unsigned NOT NULL default '0',
required tinyint(3) unsigned NOT NULL default '0',
- types text,
+ nodes text,
weight tinyint(4) NOT NULL default '0',
PRIMARY KEY (vid)
) TYPE=MyISAM;
diff --git a/database/database.pgsql b/database/database.pgsql
index e0502fc..061cfb1 100644
--- a/database/database.pgsql
+++ b/database/database.pgsql
@@ -530,7 +530,7 @@ CREATE TABLE vocabulary (
hierarchy smallint NOT NULL default '0',
multiple smallint NOT NULL default '0',
required smallint NOT NULL default '0',
- types text default '',
+ nodes text default '',
weight smallint NOT NULL default '0',
PRIMARY KEY (vid)
);