diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-03 03:29:23 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-06-03 03:29:23 +0000 |
commit | d61bd21b15469e43e6fcae091e8fae5b9ad60315 (patch) | |
tree | 786cf6746cf016f49455320124f9918141a41afc /modules/system | |
parent | d73fe8eae0492086ff195a1ca5dfa07695757bae (diff) | |
download | brdo-d61bd21b15469e43e6fcae091e8fae5b9ad60315.tar.gz brdo-d61bd21b15469e43e6fcae091e8fae5b9ad60315.tar.bz2 |
#106559 follow-up by Josh Waihi: Fix typo preventing Drupal from installing on PostgreSQL.
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 1fe22718a..5d952a911 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -340,7 +340,7 @@ function system_install() { LANGUAGE \'sql\'' ); - db_query('CREATE OR REPLACE FUNCTION "substr_index"(text, text, integer) RETURNS text AS + db_query('CREATE OR REPLACE FUNCTION "substring_index"(text, text, integer) RETURNS text AS \'SELECT array_to_string((string_to_array($1, $2)) [1:$3], $2);\' LANGUAGE \'sql\'' ); @@ -3516,7 +3516,7 @@ function system_update_7024() { $ret = array(); if (db_driver() == 'pgsql') { - $ret[] = update_sql('CREATE OR REPLACE FUNCTION "substr_index"(text, text, integer) RETURNS text AS + $ret[] = update_sql('CREATE OR REPLACE FUNCTION "substring_index"(text, text, integer) RETURNS text AS \'SELECT array_to_string((string_to_array($1, $2)) [1:$3], $2);\' LANGUAGE \'sql\'' ); |