Index: temp/trunk/data/lib/slib.php
===================================================================
--- temp/trunk/data/lib/slib.php	(revision 7691)
+++ temp/trunk/data/lib/slib.php	(revision 7982)
@@ -115,6 +115,6 @@
 			}
 		}else if ($db_type == "mysql") {
-			$sql = "SHOW TABLE STATUS LIKE ?";
-			$arrRet = $objQuery->getAll($sql, array($table_name));
+			$sql = "SHOW COLUMNS FROM ? WHERE Field = ?";
+			$arrRet = $objQuery->getAll($sql, array($table_name, $col_name));
 			if(count($arrRet) > 0) {
 				return true;
