WordPress at Your Fingertips
function is not described

WC_Admin_Report::enable_big_selects() protected WC 1.0

Enables big mysql selects for reports, just once for this session.

{} It's a method of the class: WC_Admin_Report{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Admin_Report::enable_big_selects();

Code of WC_Admin_Report::enable_big_selects() WC 5.8.0

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;
	}
}