diff --git a/src/Illuminate/Database/Connection.php b/src/Illuminate/Database/Connection.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Database/Connection.php
+++ b/src/Illuminate/Database/Connection.php
@@ -532,11 +532,13 @@ class Connection implements ConnectionInterface {
 	 */
 	public function pretend(Closure $callback)
 	{
+		$loggingQueries = $this->loggingQueries;
+
 		$this->enableQueryLog();
-		
+
 		$this->pretending = true;
 
-		$this->queryLog = array();
+		$this->queryLog = [];
 
 		// Basically to make the database connection "pretend", we will just return
 		// the default values for all the query methods, then we will return an
@@ -545,6 +547,8 @@ class Connection implements ConnectionInterface {
 
 		$this->pretending = false;
 
+		$this->loggingQueries = $loggingQueries;
+
 		return $this->queryLog;
 	}
Restore original value of pretending.