亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sybase.php

?? PhpWiki是sourceforge的一個開源項目
?? PHP
?? 第 1 頁 / 共 2 頁
字號:
    }    // }}}    // {{{ affectedRows()    /**     * Gets the number of rows affected by the data manipulation     * query.  For other queries, this function returns 0.     *     * @return number of rows affected by the last query     */    function affectedRows()    {        if (DB::isManip($this->last_query)) {            $result = @sybase_affected_rows($this->connection);        } else {            $result = 0;        }        return $result;     }    // }}}    // {{{ nextId()    /**     * Returns the next free id in a sequence     *     * @param string  $seq_name  name of the sequence     * @param boolean $ondemand  when true, the seqence is automatically     *                           created if it does not exist     *     * @return int  the next id number in the sequence.  DB_Error if problem.     *     * @internal     * @see DB_common::nextID()     * @access public     */    function nextId($seq_name, $ondemand = true)    {        $seqname = $this->getSequenceName($seq_name);        if (!@sybase_select_db($this->_db, $this->connection)) {            return $this->sybaseRaiseError(DB_ERROR_NODBSELECTED);        }        $repeat = 0;        do {            $this->pushErrorHandling(PEAR_ERROR_RETURN);            $result = $this->query("INSERT INTO $seqname (vapor) VALUES (0)");            $this->popErrorHandling();            if ($ondemand && DB::isError($result) &&                ($result->getCode() == DB_ERROR || $result->getCode() == DB_ERROR_NOSUCHTABLE))            {                $repeat = 1;                $result = $this->createSequence($seq_name);                if (DB::isError($result)) {                    return $this->raiseError($result);                }            } elseif (!DB::isError($result)) {                $result =& $this->query("SELECT @@IDENTITY FROM $seqname");                $repeat = 0;            } else {                $repeat = false;            }        } while ($repeat);        if (DB::isError($result)) {            return $this->raiseError($result);        }        $result = $result->fetchRow(DB_FETCHMODE_ORDERED);        return $result[0];    }    /**     * Creates a new sequence     *     * @param string $seq_name  name of the new sequence     *     * @return int  DB_OK on success.  A DB_Error object is returned if     *              problems arise.     *     * @internal     * @see DB_common::createSequence()     * @access public     */    function createSequence($seq_name)    {        $seqname = $this->getSequenceName($seq_name);        return $this->query("CREATE TABLE $seqname ".                            '(id numeric(10,0) IDENTITY NOT NULL ,' .                            'vapor int NULL)');    }    // }}}    // {{{ dropSequence()    /**     * Deletes a sequence     *     * @param string $seq_name  name of the sequence to be deleted     *     * @return int  DB_OK on success.  DB_Error if problems.     *     * @internal     * @see DB_common::dropSequence()     * @access public     */    function dropSequence($seq_name)    {        $seqname = $this->getSequenceName($seq_name);        return $this->query("DROP TABLE $seqname");    }    // }}}    // {{{ getSpecialQuery()    /**     * Returns the query needed to get some backend info     * @param string $type What kind of info you want to retrieve     * @return string The SQL query string     */    function getSpecialQuery($type)    {        switch ($type) {            case 'tables':                return "select name from sysobjects where type = 'U' order by name";            case 'views':                return "select name from sysobjects where type = 'V'";            default:                return null;        }    }    // }}}    // {{{ autoCommit()    /**     * Enable/disable automatic commits     */    function autoCommit($onoff = false)    {        // XXX if $this->transaction_opcount > 0, we should probably        // issue a warning here.        $this->autocommit = $onoff ? true : false;        return DB_OK;    }    // }}}    // {{{ commit()    /**     * Commit the current transaction.     */    function commit()    {        if ($this->transaction_opcount > 0) {            if (!@sybase_select_db($this->_db, $this->connection)) {                return $this->sybaseRaiseError(DB_ERROR_NODBSELECTED);            }            $result = @sybase_query('COMMIT', $this->connection);            $this->transaction_opcount = 0;            if (!$result) {                return $this->sybaseRaiseError();            }        }        return DB_OK;    }    // }}}    // {{{ rollback()    /**     * Roll back (undo) the current transaction.     */    function rollback()    {        if ($this->transaction_opcount > 0) {            if (!@sybase_select_db($this->_db, $this->connection)) {                return $this->sybaseRaiseError(DB_ERROR_NODBSELECTED);            }            $result = @sybase_query('ROLLBACK', $this->connection);            $this->transaction_opcount = 0;            if (!$result) {                return $this->sybaseRaiseError();            }        }        return DB_OK;    }    // }}}    // {{{ tableInfo()    /**     * Returns information about a table or a result set.     *     * NOTE: only supports 'table' and 'flags' if <var>$result</var>     * is a table name.     *     * @param object|string  $result  DB_result object from a query or a     *                                string containing the name of a table     * @param int            $mode    a valid tableInfo mode     * @return array  an associative array with the information requested     *                or an error object if something is wrong     * @access public     * @internal     * @since 1.6.0     * @see DB_common::tableInfo()     */    function tableInfo($result, $mode = null)    {        if (isset($result->result)) {            /*             * Probably received a result object.             * Extract the result resource identifier.             */            $id = $result->result;            $got_string = false;        } elseif (is_string($result)) {            /*             * Probably received a table name.             * Create a result resource identifier.             */            if (!@sybase_select_db($this->_db, $this->connection)) {                return $this->sybaseRaiseError(DB_ERROR_NODBSELECTED);            }            $id = @sybase_query("SELECT * FROM $result WHERE 1=0",                                $this->connection);            $got_string = true;        } else {            /*             * Probably received a result resource identifier.             * Copy it.             * Depricated.  Here for compatibility only.             */            $id = $result;            $got_string = false;        }        if (!is_resource($id)) {            return $this->sybaseRaiseError(DB_ERROR_NEED_MORE_DATA);        }        if ($this->options['portability'] & DB_PORTABILITY_LOWERCASE) {            $case_func = 'strtolower';        } else {            $case_func = 'strval';        }        $count = @sybase_num_fields($id);        // made this IF due to performance (one if is faster than $count if's)        if (!$mode) {            for ($i=0; $i<$count; $i++) {                $f = @sybase_fetch_field($id, $i);                // column_source is often blank                if ($got_string) {                    $res[$i]['table'] = $case_func($result);                } else {                    $res[$i]['table'] = $case_func($f->column_source);                }                $res[$i]['name']  = $case_func($f->name);                $res[$i]['type']  = $f->type;                $res[$i]['len']   = $f->max_length;                if ($res[$i]['table']) {                    $res[$i]['flags'] = $this->_sybase_field_flags(                            $res[$i]['table'], $res[$i]['name']);                } else {                    $res[$i]['flags'] = '';                }            }        } else {            // get full info            $res['num_fields'] = $count;            for ($i=0; $i<$count; $i++) {                $f = @sybase_fetch_field($id, $i);                // column_source is often blank                if ($got_string) {                    $res[$i]['table'] = $case_func($result);                } else {                    $res[$i]['table'] = $case_func($f->column_source);                }                $res[$i]['name']  = $case_func($f->name);                $res[$i]['type']  = $f->type;                $res[$i]['len']   = $f->max_length;                if ($res[$i]['table']) {                    $res[$i]['flags'] = $this->_sybase_field_flags(                            $res[$i]['table'], $res[$i]['name']);                } else {                    $res[$i]['flags'] = '';                }                if ($mode & DB_TABLEINFO_ORDER) {                    $res['order'][$res[$i]['name']] = $i;                }                if ($mode & DB_TABLEINFO_ORDERTABLE) {                    $res['ordertable'][$res[$i]['table']][$res[$i]['name']] = $i;                }            }        }        // free the result only if we were called on a table        if ($got_string) {            @sybase_free_result($id);        }        return $res;    }    // }}}    // {{{ _sybase_field_flags()    /**     * Get the flags for a field.     *     * Currently supports:     *  + <samp>unique_key</samp>    (unique index, unique check or primary_key)     *  + <samp>multiple_key</samp>  (multi-key index)     *     * @param string  $table   table name     * @param string  $column  field name     * @return string  space delimited string of flags.  Empty string if none.     * @access private     */    function _sybase_field_flags($table, $column)    {        static $tableName = null;        static $flags = array();        if ($table != $tableName) {            $flags = array();            $tableName = $table;            // get unique/primary keys            $res = $this->getAll("sp_helpindex $table", DB_FETCHMODE_ASSOC);            if (!isset($res[0]['index_description'])) {                return '';            }            foreach ($res as $val) {                $keys = explode(', ', trim($val['index_keys']));                if (sizeof($keys) > 1) {                    foreach ($keys as $key) {                        $this->_add_flag($flags[$key], 'multiple_key');                    }                }                if (strpos($val['index_description'], 'unique')) {                    foreach ($keys as $key) {                        $this->_add_flag($flags[$key], 'unique_key');                    }                }            }        }        if (array_key_exists($column, $flags)) {            return(implode(' ', $flags[$column]));        }        return '';    }    // }}}    // {{{ _add_flag()    /**     * Adds a string to the flags array if the flag is not yet in there     * - if there is no flag present the array is created.     *     * @param array  $array  reference of flags array to add a value to     * @param mixed  $value  value to add to the flag array     * @access private     */    function _add_flag(&$array, $value)    {        if (!is_array($array)) {            $array = array($value);        } elseif (!in_array($value, $array)) {            array_push($array, $value);        }    }    // }}}    // {{{ quoteIdentifier()    /**     * Quote a string so it can be safely used as a table / column name     *     * Quoting style depends on which database driver is being used.     *     * @param string $str  identifier name to be quoted     *     * @return string  quoted identifier string     *     * @since 1.6.0     * @access public     */    function quoteIdentifier($str)    {        return '[' . str_replace(']', ']]', $str) . ']';    }    // }}}}/* * Local variables: * tab-width: 4 * c-basic-offset: 4 * End: */?>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美激情一二三区| 欧美一区二区视频免费观看| 久久成人久久爱| 亚洲va欧美va国产va天堂影院| 国产精品国产三级国产专播品爱网 | 日韩欧美亚洲国产另类| 欧美性受极品xxxx喷水| 色乱码一区二区三区88| 91农村精品一区二区在线| 福利一区二区在线观看| 东方欧美亚洲色图在线| 国产精品77777竹菊影视小说| 激情综合五月婷婷| 国产成人在线影院 | 精品国产伦理网| 精品成人一区二区三区四区| 久久免费精品国产久精品久久久久 | 91麻豆免费视频| 91在线码无精品| 欧美色网站导航| 日韩欧美国产一区二区在线播放| 欧美精品一区视频| 国产精品热久久久久夜色精品三区 | 精品国产一区二区三区av性色 | 丁香婷婷综合五月| 色吧成人激情小说| 91麻豆精品91久久久久同性| 精品处破学生在线二十三| 国产亲近乱来精品视频| 亚洲欧美日韩国产成人精品影院| 亚洲午夜激情网页| 免费高清在线视频一区·| 粉嫩一区二区三区性色av| 色婷婷国产精品综合在线观看| 精品婷婷伊人一区三区三| 精品国产亚洲一区二区三区在线观看| 国产人妖乱国产精品人妖| 亚洲影院理伦片| 国产一区二区三区黄视频 | 狠狠色综合日日| 91麻豆swag| 日韩三级视频中文字幕| 中文字幕在线不卡| 免费美女久久99| 色综合久久综合网欧美综合网| 日韩一二三区视频| 亚洲情趣在线观看| 激情都市一区二区| 一本久道久久综合中文字幕 | 国产高清不卡一区二区| 欧美日韩一级大片网址| 亚洲国产电影在线观看| 免费人成精品欧美精品| 欧美中文字幕一二三区视频| 久久久99精品久久| 免费成人结看片| 欧美日韩精品福利| 一区二区三区欧美亚洲| 波多野结衣在线一区| 欧美精品一区二区三区四区| 天天色综合天天| 欧美色图激情小说| 亚洲视频一区二区在线观看| 粉嫩一区二区三区在线看| 欧美精品一区二区三区在线| 免费成人av在线| 欧美一卡二卡三卡| 日日夜夜精品免费视频| 欧美日本乱大交xxxxx| 中文字幕亚洲精品在线观看| 国产盗摄精品一区二区三区在线| 欧美一区二区三区人| 亚洲一区视频在线| 在线精品视频一区二区三四| 亚洲天堂免费看| 99精品在线免费| 日本一区二区三区电影| 极品尤物av久久免费看| 欧美肥胖老妇做爰| 一区二区三区高清| 91成人网在线| 国产精品毛片无遮挡高清| 国产精品资源网| 日韩一二三区视频| 亚洲大片精品永久免费| 欧美日韩你懂的| 亚洲第一主播视频| 色播五月激情综合网| 日韩欧美国产精品| 亚洲免费av在线| 91蜜桃免费观看视频| 国产精品久线在线观看| 国产成人免费视| 久久色在线视频| 成人综合婷婷国产精品久久免费| 欧美精品一区在线观看| 另类小说色综合网站| 精品欧美乱码久久久久久1区2区| 日日嗨av一区二区三区四区| 欧美色图片你懂的| 日韩经典一区二区| 久久久综合九色合综国产精品| 久久99九九99精品| 久久综合久久99| av在线这里只有精品| 亚洲欧美激情视频在线观看一区二区三区 | 欧美日韩精品久久久| 视频一区二区三区中文字幕| 在线播放国产精品二区一二区四区| 五月综合激情网| 日韩一级片网址| 国产91色综合久久免费分享| 亚洲欧美在线另类| 日韩欧美国产午夜精品| 粉嫩一区二区三区在线看| 国产精品国产三级国产aⅴ入口| 一本一本久久a久久精品综合麻豆| 一区二区三区美女| 日韩欧美一区在线观看| 精品一区二区三区在线播放视频| 日韩伦理电影网| 欧美一区二区三区日韩视频| 国产91精品欧美| 一二三区精品视频| 2023国产精华国产精品| 91在线国内视频| 国产精品99久| 亚洲图片欧美色图| 精品88久久久久88久久久| 99久久久无码国产精品| 日韩国产精品91| 国产精品久久久久影院| 欧美在线影院一区二区| www.亚洲精品| 美女视频免费一区| 亚洲精品国产一区二区三区四区在线| 91精品在线免费| 99riav一区二区三区| 美国十次综合导航| 日韩精品91亚洲二区在线观看 | 成人av资源站| 婷婷中文字幕综合| 国产女人18毛片水真多成人如厕 | 日韩丝袜情趣美女图片| av一二三不卡影片| 久久99国产精品免费| 中文字幕一区二区三区不卡| 欧美一级夜夜爽| 欧洲中文字幕精品| 成人视屏免费看| 激情六月婷婷久久| 日韩中文欧美在线| 国产精品麻豆一区二区| 亚洲国产成人午夜在线一区| 日韩丝袜美女视频| 99免费精品视频| 国产精品一卡二| 视频一区中文字幕| 一区二区三区日本| 亚洲免费大片在线观看| 国产精品入口麻豆九色| 亚洲精品在线免费播放| 久久综合色婷婷| 日韩写真欧美这视频| 欧美日韩国产综合草草| 色综合天天综合色综合av| 成人午夜免费电影| 三级影片在线观看欧美日韩一区二区 | 日本不卡视频一二三区| 亚洲一区欧美一区| 亚洲免费观看在线视频| 最新中文字幕一区二区三区 | 国产精品综合一区二区三区| 日本不卡中文字幕| 青青青伊人色综合久久| 琪琪一区二区三区| 丝袜美腿高跟呻吟高潮一区| 亚洲码国产岛国毛片在线| 亚洲一区电影777| 视频一区中文字幕| 日本中文字幕不卡| 美日韩一区二区三区| 麻豆国产一区二区| 天堂蜜桃91精品| 国产精品一二二区| 不卡免费追剧大全电视剧网站| 不卡视频在线观看| 日本韩国欧美一区| 欧美疯狂做受xxxx富婆| 欧美二区三区的天堂| 国产日韩欧美高清在线| 国产亚洲欧美中文| 亚洲欧洲性图库| 亚洲男女毛片无遮挡| 一区二区激情视频| 肉肉av福利一精品导航| 波多野结衣91| 欧美精品自拍偷拍| 国产香蕉久久精品综合网| 亚洲精品欧美激情|