DESCRIBE baiila_molds
执行错误: Got error 28 from storage engine

34.          $this->arrSql[] = $sql;
35.          if( $result mysql_query($sql$this->conn) ){
36.              return $result;
37.          }else{
38.              if(mysql_error()!=''){
39.                  syError("{$sql}<br />执行错误: " mysql_error());
40.              }else{
41.                  return TRUE;
42.              }
43.          }
44.      }
3.  class db_mysql {
4.      public $conn;
5.      public $arrSql;
6.      public function getArray($sql)
7.      {
8.          if( ! $result $this->exec($sql) )return array();
9.          if( ! mysql_num_rows($result) )return array();
10.          $rows = array();
11.          while($rows[] = mysql_fetch_array($result,MYSQL_ASSOC)){}
12.          mysql_free_result($result);
13.          array_pop($rows);
48.          return mysql_affected_rows($this->conn);
49.      }
50. 
51.      public function getTable($tbl_name)
52.      {
53.          return $this->getArray("DESCRIBE {$tbl_name}");
54.      }
55. 
56.      public function __construct($dbConfig)
57.      {
58.          $linkfunction = ( TRUE == $dbConfig['persistent'] ) ? 'mysql_pconnect' 'mysql_connect';
415. 
416.      $modelObj->tbl_name = (TRUE == $GLOBALS['G_DY']["db_spdb_full_tblname"]) ? $tbl_name :    $GLOBALS['G_DY']['db']['prefix'] . $tbl_name;
417. 
418.      if( !$pk ){
419. 
420.          @list($pk) = $modelObj->_db->getTable($modelObj->tbl_name);$pk $pk['Field'];
421. 
422.      }
423. 
424.      $modelObj->pk $pk;
425. 
1214. 
1215.  //频道信息获取
1216. 
1217.  function moldsinfo($molds,$q){
1218. 
1219.      $m=syDB('molds')->find(array('molds' => $molds),null,$q);
1220. 
1221.      return $m[$q];
1222. 
1223.  }
1224. 
10. 
11.          parent::__construct();
12. 
13.          $this->molds 'product';
14. 
15.          $this->moldname=moldsinfo('product','moldname');
16. 
17.          $this->sy_class_type=syClass('syclasstype');
18. 
19.          $this->Class=syClass('c_product');
20. 
185. 
186.          $argString '';$comma ''
187. 
188.          if(null != $args)for ($i 0$i count($args); $i ++) { $argString .= $comma "\$args[$i]"$comma ', ';}
189. 
190.          eval("\$GLOBALS['G_DY']['inst_class'][\$class_name]= new \$class_name($argString);"); 
191. 
192.          return $GLOBALS['G_DY']["inst_class"][$class_name];
193. 
194.      }
195. 
17.      syClass('sysession');
18. 
19.      spLaunch("router_prefilter");
20.      
21. 
22.      $handle_controller syClass($__controllernull$GLOBALS['G_DY']["controller_path"].'/'.$__controller.".php");
23. 
24.      if(!is_object($handle_controller) || !method_exists($handle_controller$__action)){
25. 
26.          syError('route Error');
27. 
5. 
6.  $doyoConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$doyoConfig['ext']['view_themes'];
7. 
8.  require(DOYO_PATH."/sys.php");
9. 
10.  spRun();