From b2c7c3e66259846b9e7de45cd609fb05ce31a6d0 Mon Sep 17 00:00:00 2001 From: hawk__ Date: Tue, 15 May 2012 19:19:51 +0000 Subject: [PATCH] Enhanced the ignore for unexisting relations when installing git-svn-id: https://plugins.svn.wordpress.org/postgresql-for-wordpress/trunk@544614 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- pg4wp/driver_pgsql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg4wp/driver_pgsql.php b/pg4wp/driver_pgsql.php index 24c095c..3bfa066 100644 --- a/pg4wp/driver_pgsql.php +++ b/pg4wp/driver_pgsql.php @@ -136,7 +136,7 @@ if( defined('WP_INSTALLING') && WP_INSTALLING) { global $table_prefix; - $ignore = strpos($err, 'relation "'.$table_prefix.'options"'); + $ignore = strpos($err, 'relation "'.$table_prefix); } if( ! $ignore ) error_log('['.microtime(true)."] Error running :\n$initial\n---- converted to ----\n$sql\n----> $err\n---------------------\n", 3, PG4WP_LOG.'pg4wp_errors.log');