Show
Ignore:
Timestamp:
10/02/08 18:12:10 (3 months ago)
Author:
nowelium
Message:

mysql の procedure サポートは終わり。
General error: 2014 Cannot execute queries while other unbuffered queries are active. とかは、PDOのPDO::MYSQL_ATTR_USE_BUFFERED_QUERY をいくら設定してもダメなので、少し逃げ。一端切断すればなんとかなるけど、Datasource設定とかは管理外なので、やらない。
multi rows は 2次元配列で。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/php/misc/Hermit/src/Hermit/meta/HermitProcedureInfo.php

    r20325 r20492  
    55 */ 
    66class HermitProcedureInfo implements Serializable { 
     7     
    78    const IN_TYPE = 1; 
    89    const OUT_TYPE = 2; 
    910    const INOUT_TYPE = 3; 
    1011 
     12    private $procedureName; 
    1113    private $names = array(); 
    1214    private $inout = array(); 
     
    2931        } 
    3032    } 
    31  
     33     
     34    public function setName($name){ 
     35        $this->procedureName = $name; 
     36    } 
     37    public function getName(){ 
     38        return $this->procedureName; 
     39    } 
    3240    public function addParamName($name){ 
    3341        $this->names[] = $name;