Fixed a regression where a PHP error could occur when using some methods.
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index 508f6be..83d4816 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -204,6 +204,7 @@
 		$sql = $type.'('.$this->_protect_identifiers(trim($select)).') AS '.$alias;
 
 		$this->ar_select[] = $sql;
+		$this->ar_no_escape[] = NULL;
 
 		if ($this->ar_caching === TRUE)
 		{