Many new Active Record functions, and another whack of stuff
diff --git a/system/database/drivers/mysql/mysql_utility.php b/system/database/drivers/mysql/mysql_utility.php
index 54c110e..c24a008 100644
--- a/system/database/drivers/mysql/mysql_utility.php
+++ b/system/database/drivers/mysql/mysql_utility.php
@@ -23,34 +23,6 @@
  * @link		http://www.codeigniter.com/user_guide/database/

  */

 class CI_DB_mysql_utility extends CI_DB_utility {

-	

-	/**

-	 * Create database

-	 *

-	 * @access	private

-	 * @param	string	the database name

-	 * @return	bool

-	 */

-	function _create_database($name)

-	{

-		return "CREATE DATABASE ".$name;

-	}

-

-	// --------------------------------------------------------------------

-

-	/**

-	 * Drop database

-	 *

-	 * @access	private

-	 * @param	string	the database name

-	 * @return	bool

-	 */

-	function _drop_database($name)

-	{

-		return "DROP DATABASE ".$name;

-	}

-

-	// --------------------------------------------------------------------

 

 	/**

 	 * List databases

@@ -66,19 +38,6 @@
 	// --------------------------------------------------------------------

 

 	/**

-	 * Drop Table

-	 *

-	 * @access	private

-	 * @return	bool

-	 */

-	function _drop_table($table)

-	{

-		return "DROP TABLE IF EXISTS ".$this->db->_escape_table($table);

-	}

-

-	// --------------------------------------------------------------------

-

-	/**

 	 * Optimize table query

 	 *

 	 * Generates a platform-specific query so that a table can be optimized

@@ -109,7 +68,6 @@
 	}

 

 	// --------------------------------------------------------------------

-

 	/**

 	 * MySQL Export

 	 *

@@ -187,9 +145,10 @@
 			$is_int = array();

 			while ($field = mysql_fetch_field($query->result_id))

 			{

+				// Most versions of MySQL store timestamp as a string

 				$is_int[$i] = (in_array(

 										strtolower(mysql_field_type($query->result_id, $i)),

-										array('tinyint', 'smallint', 'mediumint', 'int', 'bigint', 'timestamp'),

+										array('tinyint', 'smallint', 'mediumint', 'int', 'bigint'), //, 'timestamp'), 

 										TRUE)

 										) ? TRUE : FALSE;

 										

@@ -255,7 +214,39 @@
 		return $output;

 	}

 

+	/**

+	 *

+	 * The functions below have been deprecated as of 1.6, and are only here for backwards

+	 * compatibility.  They now reside in dbforge().  The use of dbutils for database manipulation

+	 * is STRONGLY discouraged in favour if using dbforge.

+	 *

+	 */

+

+	/**

+	 * Create database

+	 *

+	 * @access	private

+	 * @param	string	the database name

+	 * @return	bool

+	 */

+	function _create_database($name)

+	{

+		return "CREATE DATABASE ".$name;

+	}

+

+	// --------------------------------------------------------------------

+

+	/**

+	 * Drop database

+	 *

+	 * @access	private

+	 * @param	string	the database name

+	 * @return	bool

+	 */

+	function _drop_database($name)

+	{

+		return "DROP DATABASE ".$name;

+	}

 

 }

-

 ?>
\ No newline at end of file