From 4b4a398605710ba5514ab004c991fbff55710c80 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Sun, 6 Aug 2006 23:13:46 +0000 Subject: #77179 by asimmonds, don't execute both MySQL and Postgres quesries on install of a couple modules. --- modules/poll/poll.install | 2 ++ modules/profile/profile.install | 2 ++ 2 files changed, 4 insertions(+) (limited to 'modules') diff --git a/modules/poll/poll.install b/modules/poll/poll.install index f05958cca..f160d1bc7 100644 --- a/modules/poll/poll.install +++ b/modules/poll/poll.install @@ -31,6 +31,8 @@ function poll_install() { PRIMARY KEY (chid), KEY nid (nid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ "); + break; + case 'pgsql': db_query("CREATE TABLE {poll} ( nid uint NOT NULL default '0', diff --git a/modules/profile/profile.install b/modules/profile/profile.install index 555c0f109..c4a8f2f9e 100644 --- a/modules/profile/profile.install +++ b/modules/profile/profile.install @@ -31,6 +31,8 @@ function profile_install() { KEY uid (uid), KEY fid (fid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ "); + break; + case 'pgsql': db_query("CREATE TABLE {profile_fields} ( fid serial, -- cgit v1.2.3