mirror of
https://github.com/PostgreSQL-For-Wordpress/postgresql-for-wordpress.git
synced 2025-08-02 19:14:27 +02:00
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
This commit is contained in:
@@ -136,7 +136,7 @@
|
|||||||
if( defined('WP_INSTALLING') && WP_INSTALLING)
|
if( defined('WP_INSTALLING') && WP_INSTALLING)
|
||||||
{
|
{
|
||||||
global $table_prefix;
|
global $table_prefix;
|
||||||
$ignore = strpos($err, 'relation "'.$table_prefix.'options"');
|
$ignore = strpos($err, 'relation "'.$table_prefix);
|
||||||
}
|
}
|
||||||
if( ! $ignore )
|
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');
|
error_log('['.microtime(true)."] Error running :\n$initial\n---- converted to ----\n$sql\n----> $err\n---------------------\n", 3, PG4WP_LOG.'pg4wp_errors.log');
|
||||||
|
Reference in New Issue
Block a user