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

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

?? odbc.php

?? FP2 CRM code+Mysql DB
?? PHP
?? 第 1 頁 / 共 2 頁
字號:
            return $this->odbcRaiseError(DB_ERROR_UNSUPPORTED);        }        if ($nrows === false) {            return $this->odbcRaiseError();        }        return $nrows;    }    // }}}    // {{{ quoteIdentifier()    /**     * Quotes a string so it can be safely used as a table or column name     *     * Use 'mssql' as the dbsyntax in the DB DSN only if you've unchecked     * "Use ANSI quoted identifiers" when setting up the ODBC data source.     *     * @param string $str  identifier name to be quoted     *     * @return string  quoted identifier string     *     * @see DB_common::quoteIdentifier()     * @since Method available since Release 1.6.0     */    function quoteIdentifier($str)    {        switch ($this->dsn['dbsyntax']) {            case 'access':                return '[' . $str . ']';            case 'mssql':            case 'sybase':                return '[' . str_replace(']', ']]', $str) . ']';            case 'mysql':            case 'mysqli':                return '`' . $str . '`';            default:                return '"' . str_replace('"', '""', $str) . '"';        }    }    // }}}    // {{{ quote()    /**     * @deprecated  Deprecated in release 1.6.0     * @internal     */    function quote($str)    {        return $this->quoteSmart($str);    }    // }}}    // {{{ 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.     *               A DB_Error object on failure.     *     * @see DB_common::nextID(), DB_common::getSequenceName(),     *      DB_odbc::createSequence(), DB_odbc::dropSequence()     */    function nextId($seq_name, $ondemand = true)    {        $seqname = $this->getSequenceName($seq_name);        $repeat = 0;        do {            $this->pushErrorHandling(PEAR_ERROR_RETURN);            $result = $this->query("update ${seqname} set id = id + 1");            $this->popErrorHandling();            if ($ondemand && DB::isError($result) &&                $result->getCode() == DB_ERROR_NOSUCHTABLE) {                $repeat = 1;                $this->pushErrorHandling(PEAR_ERROR_RETURN);                $result = $this->createSequence($seq_name);                $this->popErrorHandling();                if (DB::isError($result)) {                    return $this->raiseError($result);                }                $result = $this->query("insert into ${seqname} (id) values(0)");            } else {                $repeat = 0;            }        } while ($repeat);        if (DB::isError($result)) {            return $this->raiseError($result);        }        $result = $this->query("select id from ${seqname}");        if (DB::isError($result)) {            return $result;        }        $row = $result->fetchRow(DB_FETCHMODE_ORDERED);        if (DB::isError($row || !$row)) {            return $row;        }        return $row[0];    }    /**     * Creates a new sequence     *     * @param string $seq_name  name of the new sequence     *     * @return int  DB_OK on success.  A DB_Error object on failure.     *     * @see DB_common::createSequence(), DB_common::getSequenceName(),     *      DB_odbc::nextID(), DB_odbc::dropSequence()     */    function createSequence($seq_name)    {        return $this->query('CREATE TABLE '                            . $this->getSequenceName($seq_name)                            . ' (id integer NOT NULL,'                            . ' PRIMARY KEY(id))');    }    // }}}    // {{{ dropSequence()    /**     * Deletes a sequence     *     * @param string $seq_name  name of the sequence to be deleted     *     * @return int  DB_OK on success.  A DB_Error object on failure.     *     * @see DB_common::dropSequence(), DB_common::getSequenceName(),     *      DB_odbc::nextID(), DB_odbc::createSequence()     */    function dropSequence($seq_name)    {        return $this->query('DROP TABLE ' . $this->getSequenceName($seq_name));    }    // }}}    // {{{ autoCommit()    /**     * Enables or disables automatic commits     *     * @param bool $onoff  true turns it on, false turns it off     *     * @return int  DB_OK on success.  A DB_Error object if the driver     *               doesn't support auto-committing transactions.     */    function autoCommit($onoff = false)    {        if (!@odbc_autocommit($this->connection, $onoff)) {            return $this->odbcRaiseError();        }        return DB_OK;    }    // }}}    // {{{ commit()    /**     * Commits the current transaction     *     * @return int  DB_OK on success.  A DB_Error object on failure.     */    function commit()    {        if (!@odbc_commit($this->connection)) {            return $this->odbcRaiseError();        }        return DB_OK;    }    // }}}    // {{{ rollback()    /**     * Reverts the current transaction     *     * @return int  DB_OK on success.  A DB_Error object on failure.     */    function rollback()    {        if (!@odbc_rollback($this->connection)) {            return $this->odbcRaiseError();        }        return DB_OK;    }    // }}}    // {{{ odbcRaiseError()    /**     * Produces a DB_Error object regarding the current problem     *     * @param int $errno  if the error is being manually raised pass a     *                     DB_ERROR* constant here.  If this isn't passed     *                     the error information gathered from the DBMS.     *     * @return object  the DB_Error object     *     * @see DB_common::raiseError(),     *      DB_odbc::errorNative(), DB_common::errorCode()     */    function odbcRaiseError($errno = null)    {        if ($errno === null) {            switch ($this->dbsyntax) {                case 'access':                    if ($this->options['portability'] & DB_PORTABILITY_ERRORS) {                        $this->errorcode_map['07001'] = DB_ERROR_NOSUCHFIELD;                    } else {                        // Doing this in case mode changes during runtime.                        $this->errorcode_map['07001'] = DB_ERROR_MISMATCH;                    }                    $native_code = odbc_error($this->connection);                    // S1000 is for "General Error."  Let's be more specific.                    if ($native_code == 'S1000') {                        $errormsg = odbc_errormsg($this->connection);                        static $error_regexps;                        if (!isset($error_regexps)) {                            $error_regexps = array(                                '/includes related records.$/i'  => DB_ERROR_CONSTRAINT,                                '/cannot contain a Null value/i' => DB_ERROR_CONSTRAINT_NOT_NULL,                            );                        }                        foreach ($error_regexps as $regexp => $code) {                            if (preg_match($regexp, $errormsg)) {                                return $this->raiseError($code,                                        null, null, null,                                        $native_code . ' ' . $errormsg);                            }                        }                        $errno = DB_ERROR;                    } else {                        $errno = $this->errorCode($native_code);                    }                    break;                default:                    $errno = $this->errorCode(odbc_error($this->connection));            }        }        return $this->raiseError($errno, null, null, null,                                 $this->errorNative());    }    // }}}    // {{{ errorNative()    /**     * Gets the DBMS' native error code and message produced by the last query     *     * @return string  the DBMS' error code and message     */    function errorNative()    {        if (!is_resource($this->connection)) {            return @odbc_error() . ' ' . @odbc_errormsg();        }        return @odbc_error($this->connection) . ' ' . @odbc_errormsg($this->connection);    }    // }}}    // {{{ tableInfo()    /**     * Returns information about a table or a result set     *     * @param object|string  $result  DB_result object from a query or a     *                                 string containing the name of a table.     *                                 While this also accepts a query result     *                                 resource identifier, this behavior is     *                                 deprecated.     * @param int            $mode    a valid tableInfo mode     *     * @return array  an associative array with the information requested.     *                 A DB_Error object on failure.     *     * @see DB_common::tableInfo()     * @since Method available since Release 1.7.0     */    function tableInfo($result, $mode = null)    {        if (is_string($result)) {            /*             * Probably received a table name.             * Create a result resource identifier.             */            $id = @odbc_exec($this->connection, "SELECT * FROM $result");            if (!$id) {                return $this->odbcRaiseError();            }            $got_string = true;        } elseif (isset($result->result)) {            /*             * Probably received a result object.             * Extract the result resource identifier.             */            $id = $result->result;            $got_string = false;        } else {            /*             * Probably received a result resource identifier.             * Copy it.             * Deprecated.  Here for compatibility only.             */            $id = $result;            $got_string = false;        }        if (!is_resource($id)) {            return $this->odbcRaiseError(DB_ERROR_NEED_MORE_DATA);        }        if ($this->options['portability'] & DB_PORTABILITY_LOWERCASE) {            $case_func = 'strtolower';        } else {            $case_func = 'strval';        }        $count = @odbc_num_fields($id);        $res   = array();        if ($mode) {            $res['num_fields'] = $count;        }        for ($i = 0; $i < $count; $i++) {            $col = $i + 1;            $res[$i] = array(                'table' => $got_string ? $case_func($result) : '',                'name'  => $case_func(@odbc_field_name($id, $col)),                'type'  => @odbc_field_type($id, $col),                'len'   => @odbc_field_len($id, $col),                '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) {            @odbc_free_result($id);        }        return $res;    }    // }}}    // {{{ getSpecialQuery()    /**     * Obtains the query string needed for listing a given type of objects     *     * Thanks to symbol1@gmail.com and Philippe.Jausions@11abacus.com.     *     * @param string $type  the kind of objects you want to retrieve     *     * @return string  the list of objects requested     *     * @access protected     * @see DB_common::getListOf()     * @since Method available since Release 1.7.0     */    function getSpecialQuery($type)    {        switch ($type) {            case 'databases':                if (!function_exists('odbc_data_source')) {                    return null;                }                $res = @odbc_data_source($this->connection, SQL_FETCH_FIRST);                if (is_array($res)) {                    $out = array($res['server']);                    while($res = @odbc_data_source($this->connection,                                                   SQL_FETCH_NEXT))                    {                        $out[] = $res['server'];                    }                    return $out;                } else {                    return $this->odbcRaiseError();                }                break;            case 'tables':            case 'schema.tables':                $keep = 'TABLE';                break;            case 'views':                $keep = 'VIEW';                break;            default:                return null;        }        /*         * Removing non-conforming items in the while loop rather than         * in the odbc_tables() call because some backends choke on this:         *     odbc_tables($this->connection, '', '', '', 'TABLE')         */        $res  = @odbc_tables($this->connection);        if (!$res) {            return $this->odbcRaiseError();        }        $out = array();        while ($row = odbc_fetch_array($res)) {            if ($row['TABLE_TYPE'] != $keep) {                continue;            }            if ($type == 'schema.tables') {                $out[] = $row['TABLE_SCHEM'] . '.' . $row['TABLE_NAME'];            } else {                $out[] = $row['TABLE_NAME'];            }        }        return $out;    }    // }}}}/* * Local variables: * tab-width: 4 * c-basic-offset: 4 * End: */?>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产风韵犹存在线视精品| 国产精品剧情在线亚洲| 蜜桃视频在线观看一区二区| 欧美女孩性生活视频| 麻豆国产一区二区| 欧美成人三级在线| 高清国产一区二区| 亚洲精品视频免费观看| 欧美曰成人黄网| 午夜精品免费在线观看| 91麻豆精品国产91久久久久| 久久国产精品无码网站| 国产欧美日韩综合| 色www精品视频在线观看| 日韩高清不卡在线| 久久精品亚洲一区二区三区浴池| 成人a区在线观看| 亚洲国产综合91精品麻豆| 日韩午夜三级在线| 国产99久久久精品| 午夜精品久久久久久久久久| 国产亚洲一本大道中文在线| 成人国产精品免费观看视频| 亚洲高清免费在线| 久久只精品国产| 色综合欧美在线视频区| 亚洲成人免费视| 久久久久国色av免费看影院| 色综合久久久久久久久| 蜜臀精品一区二区三区在线观看 | 91麻豆精品在线观看| 亚洲国产va精品久久久不卡综合| 精品久久久久久久久久久久包黑料| 成人av电影免费观看| 亚洲成人免费在线观看| 国产精品无人区| 日韩视频中午一区| 99精品视频在线观看| 麻豆成人免费电影| 亚洲男同性恋视频| 久久综合成人精品亚洲另类欧美| 欧美在线观看一区| www.激情成人| 国产成人精品www牛牛影视| 亚洲柠檬福利资源导航| 国产三级久久久| 3d动漫精品啪啪一区二区竹菊| 99精品国产99久久久久久白柏| 美腿丝袜亚洲三区| 亚洲一二三四在线观看| 国产精品成人一区二区艾草| 欧美大片一区二区| 欧美久久一区二区| 色综合久久久久久久久久久| 丰满少妇久久久久久久| 久久精品国产一区二区| 午夜精品久久久久久| 国产精品福利电影一区二区三区四区| 精品国产一区二区精华| 欧美男人的天堂一二区| 欧美性淫爽ww久久久久无| 99视频热这里只有精品免费| 国产一级精品在线| 三级不卡在线观看| 亚洲综合区在线| 亚洲色大成网站www久久九九| 久久久99精品久久| 国产亚洲一区字幕| 精品久久久久久久久久久久久久久久久 | 婷婷综合久久一区二区三区| 亚洲美女视频在线| ...av二区三区久久精品| 欧美激情一区二区在线| 亚洲国产精品黑人久久久| 26uuu亚洲| 26uuu国产在线精品一区二区| 日韩欧美在线一区二区三区| 欧美日韩一区二区三区在线看| 日本精品一区二区三区高清 | 日韩一区二区三区三四区视频在线观看 | 另类的小说在线视频另类成人小视频在线 | 久久久久久久综合日本| 欧美精品一区在线观看| 久久亚洲欧美国产精品乐播 | 国产精品乱码人人做人人爱| 国产午夜精品美女毛片视频| 精品日韩99亚洲| 精品国内片67194| 久久久久一区二区三区四区| 久久精品欧美一区二区三区不卡 | 欧美三级在线视频| 欧美人伦禁忌dvd放荡欲情| 欧美一区二区视频在线观看2022| 91精品国产色综合久久ai换脸| 欧美一区二区三区免费观看视频| 精品国产污污免费网站入口 | 久久婷婷国产综合国色天香| 久久久久9999亚洲精品| 国产日韩一级二级三级| 中文字幕一区二区三区色视频| 亚洲天堂久久久久久久| 亚洲aaa精品| 精品一区二区三区香蕉蜜桃 | 丝瓜av网站精品一区二区| 日韩影院精彩在线| 国产麻豆精品久久一二三| 99精品欧美一区二区三区小说| 91视频免费播放| 欧美疯狂性受xxxxx喷水图片| 精品国产免费久久| 亚洲欧美日韩国产一区二区三区| 午夜电影一区二区三区| 久久久精品免费网站| 欧美专区在线观看一区| 欧美一级午夜免费电影| 精品国偷自产国产一区| 国产女同互慰高潮91漫画| 国产精品电影院| 午夜欧美大尺度福利影院在线看 | 亚洲欧美激情视频在线观看一区二区三区| 欧美日韩国产综合久久| 日韩一区二区免费在线电影| 精品国产免费视频| 夜夜嗨av一区二区三区网页| 亚洲精品欧美专区| 日本三级亚洲精品| 99re成人精品视频| 久久女同性恋中文字幕| 自拍偷自拍亚洲精品播放| 一区二区三区在线看| 麻豆精品新av中文字幕| 色天使色偷偷av一区二区| 欧美老年两性高潮| 国产精品伦理一区二区| 国产伦精一区二区三区| 成人黄色电影在线 | 色国产综合视频| 欧美一区二区三区公司| 自拍偷拍欧美精品| 国产一区二区三区| 国产片一区二区| 国产成人精品免费| 在线观看亚洲一区| 91精品在线麻豆| 亚洲精品中文在线影院| 国产成人aaa| 国产精品视频一二三区 | 五月天丁香久久| 国产午夜一区二区三区| 亚洲高清一区二区三区| 色诱视频网站一区| 国产欧美一区二区三区沐欲| 日韩精品成人一区二区三区| 99re亚洲国产精品| 国产精品久久久久久久裸模| 国产乱淫av一区二区三区| 日韩免费看网站| 免费观看日韩电影| 国产精品综合二区| 国产欧美精品一区| 成人一区二区三区中文字幕| 久久久不卡网国产精品二区| 国产电影精品久久禁18| 中文字幕第一区综合| 色吊一区二区三区| 亚洲电影中文字幕在线观看| 欧美色成人综合| 精品综合久久久久久8888| 久久夜色精品一区| www.色精品| 国内精品久久久久影院色| 欧美日韩精品一区二区三区| 美国三级日本三级久久99 | 欧美日韩美少妇 | 国产成人啪免费观看软件| 国产性做久久久久久| 666欧美在线视频| 不卡一区二区三区四区| 日韩**一区毛片| 国产精品国产三级国产aⅴ原创 | 国产成人精品免费在线| 国产精品天干天干在观线| 欧美一区二区高清| 91色|porny| 欧美婷婷六月丁香综合色| 国产一区高清在线| 久久久综合激的五月天| 99r国产精品| 国内精品在线播放| 亚洲成人精品在线观看| 一区二区三区欧美激情| 91网站视频在线观看| 亚洲女厕所小便bbb| 亚洲免费资源在线播放| 美女网站色91| 国产欧美日韩在线看| 在线观看国产一区二区| 天天综合天天做天天综合| 欧美一区二区三区免费在线看| 国产精品自拍毛片|