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

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