I have to set "big selects" on my server and this was the only way I knew to get it to work. I'm not sending any params though, so I'm unsure why it's throwing an error?
<?php
$BIG_SELECTS = new WA_MySQLi_RS("BIG_SELECTS",$local_i,0);
$BIG_SELECTS->setQuery("SET SESSION SQL_BIG_SELECTS = 1");
$BIG_SELECTS->execute();
?>