summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-06 23:13:46 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-06 23:13:46 +0000
commit4b4a398605710ba5514ab004c991fbff55710c80 (patch)
tree85623c9692ce207a256b0e01e160062aac7cd188 /modules
parent476972ccff3bbfc43d9c9822d833600ddfbc2460 (diff)
downloadbrdo-4b4a398605710ba5514ab004c991fbff55710c80.tar.gz
brdo-4b4a398605710ba5514ab004c991fbff55710c80.tar.bz2
#77179 by asimmonds, don't execute both MySQL and Postgres quesries on install of a couple modules.
Diffstat (limited to 'modules')
-rw-r--r--modules/poll/poll.install2
-rw-r--r--modules/profile/profile.install2
2 files changed, 4 insertions, 0 deletions
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,