Index: modules/simpletest/tests/schema.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/simpletest/tests/schema.test,v
retrieving revision 1.22
diff -u -p -r1.22 schema.test
--- modules/simpletest/tests/schema.test  28 Sep 2010 02:30:32 -0000  1.22
+++ modules/simpletest/tests/schema.test  16 Oct 2010 07:54:49 -0000
@@ -112,6 +112,22 @@ class SchemaTestCase extends DrupalWebTe

     $count = db_query('SELECT COUNT(*) FROM {test_table}')->fetchField();
     $this->assertEqual($count, 2, t('There were two rows.'));
+
+    // Use MySQL specific data type and ensure that table is not created.
+    $table_specification = array(
+      'description' => 'Schema table description.',
+      'fields' => array(
+        'timestamp'  => array(
+          'mysql_type' => 'timestamp',
+          'default' => NULL,
+        ),
+      ),
+    );
+    try {
+      db_create_table('test_timestamp', $table_specification);
+    }
+    catch (Exception $e) {}
+    $this->assertFalse(db_table_exists('test_timestamp'), t('Table with MySQL specific datatype was not created.'));
   }

   function tryInsert($table = 'test_table') {
