WC_Admin_Report::enable_big_selects()
Enables big mysql selects for reports, just once for this session.
Method of the class: WC_Admin_Report{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WC_Admin_Report::enable_big_selects();
WC_Admin_Report::enable_big_selects() WC Admin Report::enable big selects code WC 9.8.1
protected static function enable_big_selects() { static $big_selects = false; global $wpdb; if ( ! $big_selects ) { $wpdb->query( 'SET SESSION SQL_BIG_SELECTS=1' ); $big_selects = true; } }