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

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

?? mysql.php

?? This is the script which used on 10minutemail.com for temporary email.
?? PHP
?? 第 1 頁 / 共 4 頁
字號:
<?php
// vim: set et ts=4 sw=4 fdm=marker:
// +----------------------------------------------------------------------+
// | PHP versions 4 and 5                                                 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1998-2006 Manuel Lemos, Tomas V.V.Cox,                 |
// | Stig. S. Bakken, Lukas Smith                                         |
// | All rights reserved.                                                 |
// +----------------------------------------------------------------------+
// | MDB2 is a merge of PEAR DB and Metabases that provides a unified DB  |
// | API as well as database abstraction for PHP applications.            |
// | This LICENSE is in the BSD license style.                            |
// |                                                                      |
// | Redistribution and use in source and binary forms, with or without   |
// | modification, are permitted provided that the following conditions   |
// | are met:                                                             |
// |                                                                      |
// | Redistributions of source code must retain the above copyright       |
// | notice, this list of conditions and the following disclaimer.        |
// |                                                                      |
// | Redistributions in binary form must reproduce the above copyright    |
// | notice, this list of conditions and the following disclaimer in the  |
// | documentation and/or other materials provided with the distribution. |
// |                                                                      |
// | Neither the name of Manuel Lemos, Tomas V.V.Cox, Stig. S. Bakken,    |
// | Lukas Smith nor the names of his contributors may be used to endorse |
// | or promote products derived from this software without specific prior|
// | written permission.                                                  |
// |                                                                      |
// | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS  |
// | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT    |
// | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS    |
// | FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE      |
// | REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,          |
// | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
// | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS|
// |  OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED  |
// | AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT          |
// | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY|
// | WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE          |
// | POSSIBILITY OF SUCH DAMAGE.                                          |
// +----------------------------------------------------------------------+
// | Author: Lukas Smith <smith@pooteeweet.org>                           |
// +----------------------------------------------------------------------+
//
// $Id: mysql.php,v 1.170 2006/10/31 18:46:43 lsmith Exp $
//

/**
 * MDB2 MySQL driver
 *
 * @package MDB2
 * @category Database
 * @author  Lukas Smith <smith@pooteeweet.org>
 */
class MDB2_Driver_mysql extends MDB2_Driver_Common
{
    // {{{ properties
    var $string_quoting = array('start' => "'", 'end' => "'", 'escape' => '\\', 'escape_pattern' => '\\');

    var $identifier_quoting = array('start' => '`', 'end' => '`', 'escape' => '`');

    var $sql_comments = array(
        array('start' => '-- ', 'end' => "\n", 'escape' => false),
        array('start' => '#', 'end' => "\n", 'escape' => false),
        array('start' => '/*', 'end' => '*/', 'escape' => false),
    );

    var $start_transaction = false;

    var $varchar_max_length = 255;
    // }}}
    // {{{ constructor

    /**
     * Constructor
     */
    function __construct()
    {
        parent::__construct();

        $this->phptype = 'mysql';
        $this->dbsyntax = 'mysql';

        $this->supported['sequences'] = 'emulated';
        $this->supported['indexes'] = true;
        $this->supported['affected_rows'] = true;
        $this->supported['transactions'] = false;
        $this->supported['savepoints'] = false;
        $this->supported['summary_functions'] = true;
        $this->supported['order_by_text'] = true;
        $this->supported['current_id'] = 'emulated';
        $this->supported['limit_queries'] = true;
        $this->supported['LOBs'] = true;
        $this->supported['replace'] = true;
        $this->supported['sub_selects'] = 'emulated';
        $this->supported['auto_increment'] = true;
        $this->supported['primary_key'] = true;
        $this->supported['result_introspection'] = true;
        $this->supported['prepared_statements'] = 'emulated';
        $this->supported['identifier_quoting'] = true;
        $this->supported['pattern_escaping'] = true;
        $this->supported['new_link'] = true;

        $this->options['default_table_type'] = '';
    }

    // }}}
    // {{{ errorInfo()

    /**
     * This method is used to collect information about an error
     *
     * @param integer $error
     * @return array
     * @access public
     */
    function errorInfo($error = null)
    {
        if ($this->connection) {
            $native_code = @mysql_errno($this->connection);
            $native_msg  = @mysql_error($this->connection);
        } else {
            $native_code = @mysql_errno();
            $native_msg  = @mysql_error();
        }
        if (is_null($error)) {
            static $ecode_map;
            if (empty($ecode_map)) {
                $ecode_map = array(
                    1004 => MDB2_ERROR_CANNOT_CREATE,
                    1005 => MDB2_ERROR_CANNOT_CREATE,
                    1006 => MDB2_ERROR_CANNOT_CREATE,
                    1007 => MDB2_ERROR_ALREADY_EXISTS,
                    1008 => MDB2_ERROR_CANNOT_DROP,
                    1022 => MDB2_ERROR_ALREADY_EXISTS,
                    1044 => MDB2_ERROR_ACCESS_VIOLATION,
                    1046 => MDB2_ERROR_NODBSELECTED,
                    1048 => MDB2_ERROR_CONSTRAINT,
                    1049 => MDB2_ERROR_NOSUCHDB,
                    1050 => MDB2_ERROR_ALREADY_EXISTS,
                    1051 => MDB2_ERROR_NOSUCHTABLE,
                    1054 => MDB2_ERROR_NOSUCHFIELD,
                    1061 => MDB2_ERROR_ALREADY_EXISTS,
                    1062 => MDB2_ERROR_ALREADY_EXISTS,
                    1064 => MDB2_ERROR_SYNTAX,
                    1091 => MDB2_ERROR_NOT_FOUND,
                    1100 => MDB2_ERROR_NOT_LOCKED,
                    1136 => MDB2_ERROR_VALUE_COUNT_ON_ROW,
                    1142 => MDB2_ERROR_ACCESS_VIOLATION,
                    1146 => MDB2_ERROR_NOSUCHTABLE,
                    1216 => MDB2_ERROR_CONSTRAINT,
                    1217 => MDB2_ERROR_CONSTRAINT,
                );
            }
            if ($this->options['portability'] & MDB2_PORTABILITY_ERRORS) {
                $ecode_map[1022] = MDB2_ERROR_CONSTRAINT;
                $ecode_map[1048] = MDB2_ERROR_CONSTRAINT_NOT_NULL;
                $ecode_map[1062] = MDB2_ERROR_CONSTRAINT;
            } else {
                // Doing this in case mode changes during runtime.
                $ecode_map[1022] = MDB2_ERROR_ALREADY_EXISTS;
                $ecode_map[1048] = MDB2_ERROR_CONSTRAINT;
                $ecode_map[1062] = MDB2_ERROR_ALREADY_EXISTS;
            }
            if (isset($ecode_map[$native_code])) {
                $error = $ecode_map[$native_code];
            }
        }
        return array($error, $native_code, $native_msg);
    }

    // }}}
    // {{{ escape()

    /**
     * Quotes a string so it can be safely used in a query. It will quote
     * the text so it can safely be used within a query.
     *
     * @param   string  the input string to quote
     * @param   bool    escape wildcards
     *
     * @return  string  quoted string
     *
     * @access  public
     */
    function escape($text, $escape_wildcards = false)
    {
        if ($escape_wildcards) {
            $text = $this->escapePattern($text);
        }
        $connection = $this->getConnection();
        if (PEAR::isError($connection)) {
            return $connection;
        }
        $text = @mysql_real_escape_string($text, $connection);
        return $text;
    }

    // }}}
    // {{{

    /**
     * Start a transaction or set a savepoint.
     *
     * @param   string  name of a savepoint to set
     * @return  mixed   MDB2_OK on success, a MDB2 error on failure
     *
     * @access  public
     */
    function beginTransaction($savepoint = null)
    {
        $this->debug('Starting transaction/savepoint', __FUNCTION__, array('is_manip' => true, 'savepoint' => $savepoint));
        if (!is_null($savepoint)) {
            if (!$this->supports('savepoints')) {
                return $this->raiseError(MDB2_ERROR_UNSUPPORTED, null, null,
                    'savepoints are not supported', __FUNCTION__);
            }
            if (!$this->in_transaction) {
                return $this->raiseError(MDB2_ERROR_INVALID, null, null,
                    'savepoint cannot be released when changes are auto committed', __FUNCTION__);
            }
            $query = 'SAVEPOINT '.$savepoint;
            return $this->_doQuery($query, true);
        } elseif ($this->in_transaction) {
            return MDB2_OK;  //nothing to do
        }
        if (!$this->destructor_registered && $this->opened_persistent) {
            $this->destructor_registered = true;
            register_shutdown_function('MDB2_closeOpenTransactions');
        }
        $query = $this->start_transaction ? 'START TRANSACTION' : 'SET AUTOCOMMIT = 1';
        $result =& $this->_doQuery($query, true);
        if (PEAR::isError($result)) {
            return $result;
        }
        $this->in_transaction = true;
        return MDB2_OK;
    }

    // }}}
    // {{{ commit()

    /**
     * Commit the database changes done during a transaction that is in
     * progress or release a savepoint. This function may only be called when
     * auto-committing is disabled, otherwise it will fail. Therefore, a new
     * transaction is implicitly started after committing the pending changes.
     *
     * @param   string  name of a savepoint to release
     * @return  mixed   MDB2_OK on success, a MDB2 error on failure
     *
     * @access  public
     */
    function commit($savepoint = null)
    {
        $this->debug('Committing transaction/savepoint', __FUNCTION__, array('is_manip' => true, 'savepoint' => $savepoint));
        if (!$this->in_transaction) {
            return $this->raiseError(MDB2_ERROR_INVALID, null, null,
                'commit/release savepoint cannot be done changes are auto committed', __FUNCTION__);
        }
        if (!is_null($savepoint)) {
            if (!$this->supports('savepoints')) {
                return $this->raiseError(MDB2_ERROR_UNSUPPORTED, null, null,
                    'savepoints are not supported', __FUNCTION__);
            }
            $server_info = $this->getServerVersion();
            if (version_compare($server_info['major'].'.'.$server_info['minor'].'.'.$server_info['patch'], '5.0.3', '<')) {
                return MDB2_OK;
            }
            $query = 'RELEASE SAVEPOINT '.$savepoint;
            return $this->_doQuery($query, true);
        }

        if (!$this->supports('transactions')) {
            return $this->raiseError(MDB2_ERROR_UNSUPPORTED, null, null,
                'transactions are not supported', __FUNCTION__);
        }

        $result =& $this->_doQuery('COMMIT', true);
        if (PEAR::isError($result)) {
            return $result;
        }
        if (!$this->start_transaction) {
            $query = 'SET AUTOCOMMIT = 0';
            $result =& $this->_doQuery($query, true);
            if (PEAR::isError($result)) {
                return $result;
            }
        }
        $this->in_transaction = false;
        return MDB2_OK;
    }

    // }}}
    // {{{ rollback()

    /**
     * Cancel any database changes done during a transaction or since a specific
     * savepoint that is in progress. This function may only be called when
     * auto-committing is disabled, otherwise it will fail. Therefore, a new
     * transaction is implicitly started after canceling the pending changes.
     *
     * @param   string  name of a savepoint to rollback to
     * @return  mixed   MDB2_OK on success, a MDB2 error on failure
     *
     * @access  public
     */
    function rollback($savepoint = null)
    {
        $this->debug('Rolling back transaction/savepoint', __FUNCTION__, array('is_manip' => true, 'savepoint' => $savepoint));
        if (!$this->in_transaction) {
            return $this->raiseError(MDB2_ERROR_INVALID, null, null,
                'rollback cannot be done changes are auto committed', __FUNCTION__);
        }
        if (!is_null($savepoint)) {
            if (!$this->supports('savepoints')) {
                return $this->raiseError(MDB2_ERROR_UNSUPPORTED, null, null,
                    'savepoints are not supported', __FUNCTION__);
            }
            $query = 'ROLLBACK TO SAVEPOINT '.$savepoint;
            return $this->_doQuery($query, true);
        }

        $query = 'ROLLBACK';
        $result =& $this->_doQuery($query, true);
        if (PEAR::isError($result)) {
            return $result;
        }
        if (!$this->start_transaction) {
            $query = 'SET AUTOCOMMIT = 0';
            $result =& $this->_doQuery($query, true);
            if (PEAR::isError($result)) {
                return $result;
            }
        }
        $this->in_transaction = false;
        return MDB2_OK;
    }

    // }}}
    // {{{ function setTransactionIsolation()

    /**
     * Set the transacton isolation level.
     *
     * @param   string  standard isolation level
     *                  READ UNCOMMITTED (allows dirty reads)
     *                  READ COMMITTED (prevents dirty reads)
     *                  REPEATABLE READ (prevents nonrepeatable reads)
     *                  SERIALIZABLE (prevents phantom reads)
     * @return  mixed   MDB2_OK on success, a MDB2 error on failure

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
青青草一区二区三区| 日韩毛片视频在线看| 日韩激情在线观看| 在线不卡一区二区| 麻豆91精品91久久久的内涵| 日韩精品在线网站| 国产成人综合在线观看| 亚洲天堂a在线| 精品视频在线视频| 久久国产精品免费| 中文字幕一区二区三中文字幕| 波多野结衣在线一区| 亚洲品质自拍视频| 欧美一区二区三区免费视频| 国产一区二区按摩在线观看| 中文字幕欧美一区| 欧美精品黑人性xxxx| 国产精品资源在线| 亚洲图片有声小说| 久久婷婷国产综合国色天香| 91女人视频在线观看| 午夜国产精品影院在线观看| 久久人人超碰精品| 欧美三级电影一区| 国产精品自拍在线| 午夜视频久久久久久| 国产婷婷色一区二区三区在线| 91视频你懂的| 黑人巨大精品欧美一区| 亚洲三级小视频| 日韩免费高清av| 在线观看91视频| 国产成人在线电影| 天天操天天干天天综合网| 国产日韩欧美综合在线| 欧美日韩一区在线| 成人午夜视频福利| 久久国产精品99久久人人澡| 亚洲一区二区综合| 欧美国产日韩精品免费观看| 欧美一区二区三区影视| 一本一本大道香蕉久在线精品| 麻豆91在线播放免费| 亚洲电影一级黄| 国产精品国产三级国产有无不卡 | 一区二区日韩电影| 2020国产精品| 91精品国产乱码久久蜜臀| 99久久久久免费精品国产| 激情成人综合网| 日韩精品一卡二卡三卡四卡无卡 | ●精品国产综合乱码久久久久| 欧美一区二区视频免费观看| 日本韩国欧美在线| 成人国产精品免费观看| 国产一区二区三区观看| 蓝色福利精品导航| 秋霞午夜av一区二区三区| 午夜精彩视频在线观看不卡| 亚洲免费观看高清完整版在线观看熊| 久久久久久99久久久精品网站| 精品日韩欧美一区二区| 日韩欧美一二三区| 5566中文字幕一区二区电影| 欧美色图天堂网| 欧美午夜免费电影| 精品视频在线免费| 欧美日韩成人高清| 欧美另类z0zxhd电影| 欧美日韩亚洲丝袜制服| 欧美日韩三级一区| 91精品中文字幕一区二区三区| 欧美天堂一区二区三区| 欧美伊人久久久久久久久影院 | 欧美日韩精品欧美日韩精品一| 色综合久久中文字幕| 色吧成人激情小说| 欧美性受极品xxxx喷水| 欧美日韩一区精品| 91麻豆精品国产91久久久久| 91精品国产91久久综合桃花| 日韩视频123| 久久久久久免费网| 国产精品女主播在线观看| 综合久久给合久久狠狠狠97色| 综合av第一页| 午夜国产精品一区| 九九**精品视频免费播放| 国产又黄又大久久| 国产精品88888| 99久久99久久久精品齐齐 | 7777精品伊人久久久大香线蕉 | 99久久精品99国产精品| 色婷婷激情一区二区三区| 欧美日韩亚洲不卡| 欧美成人女星排名| 国产精品久久影院| 亚洲午夜激情av| 久久超碰97人人做人人爱| 国产精品99久久久久| 91视频观看视频| 欧美一区二区大片| 国产农村妇女毛片精品久久麻豆| 亚洲伦理在线免费看| 亚瑟在线精品视频| 国产一区二区在线观看免费 | 欧美亚洲一区三区| 欧美一区二区三区播放老司机| 久久影院午夜片一区| 国产精品久久久久久久午夜片| 亚洲午夜在线视频| 国产在线精品一区在线观看麻豆| av午夜一区麻豆| 日韩一区二区三区精品视频| 国产女人18水真多18精品一级做| 亚洲综合丝袜美腿| 国产在线视频不卡二| 色综合色综合色综合| 日韩一区国产二区欧美三区| 中文字幕在线播放不卡一区| 免费观看日韩电影| 99r精品视频| 日韩精品中文字幕一区 | 91精品国产欧美一区二区18| 中文字幕在线观看不卡视频| 老司机精品视频一区二区三区| 91免费观看视频在线| 欧美精品一区二区三区蜜桃| 一区二区三区欧美日韩| 国产精品综合一区二区| 制服视频三区第一页精品| 国产精品第13页| 久久电影网电视剧免费观看| 欧美日韩精品三区| 亚洲欧洲精品成人久久奇米网| 久久国产精品色婷婷| 欧美日韩美女一区二区| 亚洲欧洲日韩女同| 国产精品自在在线| 精品精品国产高清一毛片一天堂| 亚洲国产精品久久艾草纯爱| 99久久国产综合精品麻豆| 国产拍揄自揄精品视频麻豆| 麻豆91免费观看| 欧美一级二级在线观看| 午夜精品久久久久久| 日本道免费精品一区二区三区| 中文字幕av不卡| 国产黄人亚洲片| 久久蜜桃av一区精品变态类天堂| 麻豆成人在线观看| 日韩一二三区视频| 婷婷成人综合网| 欧美日韩国产一级片| 亚洲综合激情另类小说区| 97国产精品videossex| 久久精品无码一区二区三区| 精品一区二区国语对白| 日韩亚洲欧美在线观看| 免费观看30秒视频久久| 欧美久久久久免费| 日日摸夜夜添夜夜添国产精品 | 久久激五月天综合精品| 日韩精品中文字幕一区| 经典三级在线一区| 久久综合久久综合亚洲| 国产最新精品精品你懂的| 亚洲精品在线观看网站| 极品少妇xxxx偷拍精品少妇| 精品对白一区国产伦| 激情都市一区二区| 国产女同性恋一区二区| 99免费精品视频| 一区二区三区日韩欧美精品| 欧美又粗又大又爽| 天天综合天天综合色| 日韩一区二区在线播放| 国产一区久久久| 中文字幕永久在线不卡| 在线区一区二视频| 视频一区欧美精品| 精品国产伦理网| 成人一道本在线| 亚洲欧美成aⅴ人在线观看| 欧美亚洲另类激情小说| 日韩在线一区二区三区| 日韩欧美电影一区| 从欧美一区二区三区| 一区二区视频在线| 8v天堂国产在线一区二区| 国产专区欧美精品| 最近中文字幕一区二区三区| 欧美亚洲日本国产| 国产在线精品一区二区三区不卡| 国产精品蜜臀在线观看| 色综合久久久久综合99| 日本va欧美va精品| 中文无字幕一区二区三区| 欧美综合在线视频| 九九精品视频在线看|