Commit 18e41bfd authored by joe's avatar joe Committed by lucha

adding extreme debugging when wp_debug is true

parent 6704ca1c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment