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