HyperDB icon indicating copy to clipboard operation
HyperDB copied to clipboard

`$wpdb->get_col_length` always return false

Open amiut opened this issue 1 year ago • 0 comments

On presence of HyperDB drop-in, $wpdb::get_col_length() always returns false. This is because the get_col_length() method does an early-return if $wpdb->is_mysql is empty (please see here). the is_mysql property is never set in hyperdb, which causes this issue, while it is hard-coded in wpdb.

amiut avatar Sep 26 '24 13:09 amiut