diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index ab8a6a8..61f0d30 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -234,9 +234,9 @@
 		{
 			if ($this->_cache_init())
 			{
+				$this->load_rdriver();
 				if (FALSE !== ($cache = $this->CACHE->read($sql)))
 				{
-					$this->load_rdriver();
 					return $cache;
 				}
 			}