[eluser]InsiteFX[/eluser]
Active Record has a builtin flag variable for saving queries!
$save_queries = TRUE;
I think it is like this, it is some place on the forum.
$this->db->save_queries = FALSE;
Not sure, but you need to set it to FALSE so that it will
not save the queries.
InsiteFX