D:\WWW\x\lib\db\mysqli_driver.php[ 192 ]
187 }
188 public function getErrno() {
189 return ($this->_link) ? mysqli_errno ( $this->_link ) : mysqli_errno ();
190 }
191 public function halt($message = '', $sql = '') {
192 throw new keke_exception ( ':error [ :query ]', array (':error' => $this->getError(), ':query' => $sql ), $this->getErrno() );
193 exit ();
194 }
195 public function special_filed(&$value) {
196 if ('*' == $value || false !== strpos ( $value, '(' ) || false !== strpos ( $value, '.' ) || false !== strpos ( $value, '`' )) {
197 } else {
-
D:\WWW\x\index.php [ 91 ] » db_factory::get_one ( arguments )
0
string(49) "select * from keke_witkey_arrticle where art_id=1"
86 db_factory::query("UPDATE ".TABLEPRE."witkey_space set kai_guan='1' where uid =".$gUid); 87 break; 88 } 89 } 90 if ($art_id>0) { 91 $arrDaa = db_factory::get_one("select * from keke_witkey_arrticle where art_id=".$art_id); 92 $dai = $arrDaa['dai']; 93 $dai_u = $arrDaa['uid']; 94 $dai_username = $arrDaa['username']; 95 } 96 $indus_p_arr = $kekezu->_indus_p_arr;
-
D:\WWW\x\lib\db\db_factory.php [ 168 ] » keke_db->get_one ( arguments )
0
string(49) "select * from keke_witkey_arrticle where art_id=1"
163 SqlCacheClass::set($sql, $result); 164 } 165 return $result; 166 } elseif (IS_CACHE) { 167 $cache_time > 0 || is_null($cache_time) and ( $result = self::db_cache(1, $sql, $cache_time) and $cached = 1); 168 $result or ( $result = self::$db_obj->get_one($sql) and $cached = 0); 169 if ($result && $result != 'QUERY_EMPTY') { 170 !$cached && self::db_set_cache($sql, $cache_time, $result); 171 return $result; 172 } else { 173 !$cached && self::db_set_cache($sql, $cache_time, $result);
-
D:\WWW\x\lib\db\db_factory.php [ 90 ] » mysqli_drver->get_one_row ( arguments )
0
string(49) "select * from keke_witkey_arrticle where art_id=1"
85 public function getCount($sql, $row = 0, $filed = null) { 86 return $this->_mydb->getCount($sql, $row, $filed); 87 } 88 89 public function get_one($sql) { 90 return $this->_mydb->get_one_row($sql); 91 } 92 93 public function query($sql, $is_unbuffer = 0) { 94 return $this->_mydb->query($sql, $is_unbuffer); 95 }
-
D:\WWW\x\lib\db\mysqli_driver.php [ 77 ] » mysqli_drver->execute_sql ( arguments )
0
string(49) "select * from keke_witkey_arrticle where art_id=1"
72 } 73 public function get_trans_num() { 74 return $this->_trans; 75 } 76 public function get_one_row($sql) { 77 $this->execute_sql ( $sql ); 78 $res = $this->fetch_array (); 79 $this->free_result (); 80 return $res; 81 } 82 public function insert_id($insertSql) {
-
D:\WWW\x\lib\db\mysqli_driver.php [ 158 ] » mysqli_drver->halt ( arguments )
0
bool(false)
1
string(49) "select * from keke_witkey_arrticle where art_id=1"
153 } 154 protected function execute_sql($sql, $is_nubuffer = 0) { 155 ! is_resource ( $this->_link ) and $this->dbConnection (); 156 $is_nubuffer == 1 and $query_type = "mysqli_store_result" or $query_type = "mysqli_query"; 157 array_push($this->_query_sql, $sql); 158 $this->_last_query_id = $query_type ($this->_link,$sql) or $this->halt ( mysql_error (), $sql ); 159 $this->_query_num ++; 160 return $this->_last_query_id; 161 } 162 public function get_query_num() { 163 return $this->_query_num;