--- includes/DataTable.inc.old	2010-08-26 13:55:00.751023210 +0200
+++ includes/DataTable.inc	2010-08-26 13:55:25.337277594 +0200
@@ -146,6 +146,7 @@ class DataTable {
       return FALSE;
     }
 
+    $ref_name = db_prefix_tables('{'. $this->name .'}');
     $schema = schema_invoke('inspect', $this->name);
     if (isset($schema[$this->name])) {
       $table = array(
