예제 #1
0
 function PrepareSP($sql)
 {
     if (!$this->_canPrepareSP) {
         return $sql;
     }
     // Can't prepare procedures
     $stmt = @odbtp_prepare_proc($sql, $this->_connectionID);
     if (!$stmt) {
         return false;
     }
     return array($sql, $stmt);
 }
예제 #2
0
 function PrepareSP($sql, $param = true)
 {
     if (!$this->_canPrepareSP) {
         return $sql;
     }
     // Can't prepare procedures
     $this->_errorMsg = false;
     $this->_errorCode = false;
     $stmt = @odbtp_prepare_proc($sql, $this->_connectionID);
     if (!$stmt) {
         return false;
     }
     return array($sql, $stmt);
 }