Skip to content
Snippets Groups Projects
Commit 5c71f59b authored by joe's avatar joe Committed by lucha
Browse files

adding extreme debugging when wp_debug is true

parent 189583d2
No related branches found
Tags
No related merge requests found
......@@ -416,6 +416,11 @@ class hyperdb extends wpdb {
$this->run_callbacks( 'dataset_found', $dataset );
if (WP_DEBUG === true) {
$_ai_msg = sprintf("We choose dataset %s for query '%s'", $this->dataset, $query);
$this->print_error($_ai_msg);
}
if ( empty( $this->hyper_servers ) ) {
if ( $this->is_mysql_connection( $this->dbh ) )
return $this->dbh;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment