From 1d7037a756f2029548be24f9a1e5df4ed3f817ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Fri, 25 May 2007 15:47:57 +0000 Subject: #128866 by myself: bjaspan noted that the pgsql and mysql updates on locale_update_6002() are reversed, I noted that the variables table got the language column inadvertently --- modules/locale/locale.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/locale') diff --git a/modules/locale/locale.install b/modules/locale/locale.install index b2c4f85e1..1d87d6ccc 100644 --- a/modules/locale/locale.install +++ b/modules/locale/locale.install @@ -82,10 +82,10 @@ function locale_update_6002() { switch ($GLOBALS['db_type']) { case 'mysql': case 'mysqli': - db_add_column($ret, 'locales_source', 'textgroup', 'varchar(255)', array('default' => "''", 'not null' => TRUE)); + $ret[] = update_sql("ALTER TABLE {locales_source} ADD textgroup varchar(255) NOT NULL default ''"); break; case 'pgsql': - $ret[] = update_sql("ALTER TABLE {locales_source} ADD textgroup varchar(255) NOT NULL default ''"); + db_add_column($ret, 'locales_source', 'textgroup', 'varchar(255)', array('default' => "''", 'not null' => TRUE)); break; } return $ret; -- cgit v1.2.3