database_exists extension to allow for databases without list_databases() functionality
diff --git a/system/database/DB_utility.php b/system/database/DB_utility.php
index af62dcf..124967a 100644
--- a/system/database/DB_utility.php
+++ b/system/database/DB_utility.php
@@ -82,10 +82,21 @@
 	 * @return	boolean
 	 */
 	function database_exists($database_name)
-	{	
-		return ( ! in_array($database_name, $this->list_databases())) ? FALSE : TRUE;
+	{
+		// Some databases won't have access to the list_databases() function, so
+		// this is intended to allow them to override with their own functions as
+		// defined in $driver_utility.php
+		if (method_exists($this, '_database_exists'))
+		{
+			return $this->_database_exists($database_name);
+		}
+		else
+		{
+			return ( ! in_array($database_name, $this->list_databases())) ? FALSE : TRUE;
+		}
 	}
 
+
 	// --------------------------------------------------------------------
 
 	/**