当前位置: 首页>>代码示例>>PHP>>正文


PHP ibase_free_query函数代码示例

本文整理汇总了PHP中ibase_free_query函数的典型用法代码示例。如果您正苦于以下问题:PHP ibase_free_query函数的具体用法?PHP ibase_free_query怎么用?PHP ibase_free_query使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了ibase_free_query函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: sql_close

 function sql_close()
 {
     if (!$this->db_connect_id) {
         return false;
     }
     if ($this->transaction) {
         @ibase_commit($this->db_connect_id);
     }
     if (sizeof($this->open_queries)) {
         foreach ($this->open_queries as $i_query_id => $query_id) {
             @ibase_free_query($query_id);
         }
     }
     return @ibase_close($this->db_connect_id);
 }
开发者ID:MarxGonzalez,项目名称:SemanticScuttle,代码行数:15,代码来源:firebird.php

示例2: freePrepared

 /**
  * Frees the internal resources associated with a prepared query
  *
  * @param resource $stmt           the prepared statement's PHP resource
  * @param bool     $free_resource  should the PHP resource be freed too?
  *                                  Use false if you need to get data
  *                                  from the result set later.
  *
  * @return bool  TRUE on success, FALSE if $result is invalid
  *
  * @see DB_ibase::prepare()
  */
 function freePrepared($stmt, $free_resource = true)
 {
     if (!is_resource($stmt)) {
         return false;
     }
     if ($free_resource) {
         @ibase_free_query($stmt);
     }
     unset($this->prepare_tokens[(int) $stmt]);
     unset($this->prepare_types[(int) $stmt]);
     unset($this->manip_query[(int) $stmt]);
     return true;
 }
开发者ID:ryo88c,项目名称:BEAR.Saturday,代码行数:25,代码来源:ibase.php

示例3: close

 /**
  * Closes the cursor and the statement.
  *
  * @return bool
  */
 public function close()
 {
     if ($stmt = $this->_stmtResult) {
         @ibase_free_result($this->_stmtResult);
         $this->_stmtResult = null;
     }
     if ($this->_stmtPrepared) {
         $r = @ibase_free_query($this->_stmtPrepared);
         $this->_stmtPrepared = null;
         return $r;
     }
     return false;
 }
开发者ID:JosefinaArayaTapia,项目名称:Capicua-Restobar,代码行数:18,代码来源:Firebird_3.php

示例4: freeQuery

 function freeQuery($query)
 {
     ibase_free_query($query);
     return true;
 }
开发者ID:joeymetal,项目名称:v1,代码行数:5,代码来源:ibase.php

示例5: free

 /**
  * Release resources allocated for the specified prepared query.
  *
  * @return mixed MDB2_OK on success, a MDB2 error on failure
  * @access public
  */
 function free()
 {
     if (null === $this->positions) {
         return $this->db->raiseError(MDB2_ERROR, null, null, 'Prepared statement has already been freed', __FUNCTION__);
     }
     $result = MDB2_OK;
     if (null !== $this->statement && !@ibase_free_query($this->statement)) {
         $result = $this->db->raiseError(null, null, null, 'Could not free statement', __FUNCTION__);
     }
     parent::free();
     return $result;
 }
开发者ID:Dulciane,项目名称:jaws,代码行数:18,代码来源:ibase.php

示例6: FreePreQuery

 function FreePreQuery($intPreQuery)
 {
     $this->intQuery = ibase_free_query($intPreQuery);
     if ($this->intDebug) {
         echo "Query prepared free...\t\t<br>";
     }
 }
开发者ID:ibnoe,项目名称:simpatda-thinkfrogs,代码行数:7,代码来源:metafire.lib.php


注:本文中的ibase_free_query函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。