DESCRIBE dy_molds
执行错误: Got error 28 from storage engine
- /mnt/web/chaodongqi/public_html/include/mysql.php on line 39
34.
$this->arrSql[] = $sql;
35.
if( $result = mysql_query($sql, $this->conn) ){
36.
return $result;
37.
}else{
38.
if(mysql_error()!=''){
39.
40.
syError("{$sql}<br />执行错误: " . mysql_error());
}else{
41.
return TRUE;
42.
}
43.
}
44.
}
- /mnt/web/chaodongqi/public_html/include/mysql.php on line 8
3.
class db_mysql {
4.
public $conn;
5.
public $arrSql;
6.
public function getArray($sql)
7.
{
8.
9.
if( ! $result = $this->exec($sql) )return array();
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);
- /mnt/web/chaodongqi/public_html/include/mysql.php on line 53
48.
return mysql_affected_rows($this->conn);
49.
}
50.
51.
public function getTable($tbl_name)
52.
{
53.
54.
return $this->getArray("DESCRIBE {$tbl_name}");
}
55.
56.
public function __construct($dbConfig)
57.
{
58.
$linkfunction = ( TRUE == $dbConfig['persistent'] ) ? 'mysql_pconnect' : 'mysql_connect';
- /mnt/web/chaodongqi/public_html/source/article.php on line 12
7.
class article extends syController {
8.
9.
function __construct() {
10.
parent::__construct();
11.
$this->molds = 'article';
12.
13.
$this->moldname = moldsinfo('article', 'moldname');
$this->sy_class_type = syClass('syclasstype');
14.
$this->Class = syClass('c_article');
15.
$this->db = $GLOBALS['G_DY']['db']['prefix'] . 'article';
16.
}
17.
- /mnt/web/chaodongqi/public_html/index.php on line 5
1.
<?php
2.
require("config.php");
3.
$doyoConfig['view']['config']['template_dir'] = APP_PATH.'/template/'.$doyoConfig['ext']['view_themes'];
4.
require(DOYO_PATH."/sys.php");
5.
spRun();