From 4a2ebb333d239b58c19d09ee88646fa0e32e71ed Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 16 Apr 2007 02:02:27 +0000 Subject: Updates to db stuff, removed js build from build.xml (no longer necessary) --- framework/Data/Common/Mysql/TMysqlMetaData.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'framework/Data/Common/Mysql') diff --git a/framework/Data/Common/Mysql/TMysqlMetaData.php b/framework/Data/Common/Mysql/TMysqlMetaData.php index 9e947298..32d5114f 100644 --- a/framework/Data/Common/Mysql/TMysqlMetaData.php +++ b/framework/Data/Common/Mysql/TMysqlMetaData.php @@ -26,6 +26,8 @@ class TMysqlMetaData extends TDbMetaData $col['index'] = $index++; $this->processColumn($tableInfo,$col); } + if($index===0) + throw new TDbException('dbmetadata_invalid_table_view', $table); return $tableInfo; } -- cgit v1.2.3