[PHP-users 4183] Re: pg_fetch_arrayについて

Y.Inoue php-users@php.gr.jp
Fri, 7 Dec 2001 00:00:44 +0900


はじめて投稿させていただきます、井上です。

PEARのDBクラスを使っているのですが、
DB_commonクラス(common.php)のprepare_maxstmt属性は、
何のためのものなのでしょうか?

    function executeEmulateQuery($stmt, $data = false)
    {
        $p = &$this->prepare_tokens;
        $stmt = (int)$this->prepare_maxstmt++;
とありますが、これでは引数$stmtを渡す意味がないように思うのですが、
バグなのでしょうか?

探しましたが、prepare_maxstmtのundefinedエラーについてしか
見つかりませんでした。

よろしくお願いします。

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 立命館大学 理工学部 
       情報学科  2回生   井上 陽平
              inohei@ma.nasicnet.com
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/