Add SQLite escape character
diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php
index 119722d..25e012b 100644
--- a/system/database/drivers/sqlite/sqlite_driver.php
+++ b/system/database/drivers/sqlite/sqlite_driver.php
@@ -43,7 +43,7 @@
 	public $dbdriver = 'sqlite';
 
 	// The character used to escape with - not needed for SQLite
-	protected $_escape_char = '';
+	protected $_escape_char = '"';
 
 	// clause and character used for LIKE escape sequences
 	protected $_like_escape_str = ' ESCAPE \'%s\' ';
@@ -338,7 +338,7 @@
 		}
 
 		$query = $query->row();
-		$this->_reset_select();
+		$this->_data_seek(0);
 		return (int) $query->numrows;
 	}