编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
Mysql参考手册

16.9.3. 实施rnd_init()函数

在任何表扫描之前调用的函数是rnd_init()函数。函数rnd_init()用于为表扫描作准备,将计数器和指针复位为表的开始状态。

下述示例来自CSV存储引擎:

  int ha_tina::rnd_init(bool scan)
    {
      DBUG_ENTER("ha_tina::rnd_init");
 
      current_position= next_position= 0;
      records= 0;
      chain_ptr= chain;
 
      DBUG_RETURN(0);
    }  
相关文章
mysql截取字符串的函数总结mysql 控制流程函数mysql rnd initmysql rnd nextmysql 实施external lock 函数mysql 实施extra 函数mysql 实施info 函数mysql 实施rnd init 函数mysql 实施store lock 函数mysql 实施rnd next 函数mysql 日期和时间函数mysql geometry函数mysql 尚未实施的gis特性mysql 数学函数php cubrid mysql 兼容性函数 return the associative array that corresponds to the fetched rowphp cubrid mysql 兼容性函数 get column information from a result and return as an objectphp cubrid mysql 兼容性函数 return the number of columns in the result setphp mysql 函数 发送一条 mysql 查询php mysql 函数 取得结果集中指定字段的类型php mysql 函数 发送一条 mysql 查询
关注编程学问公众号
编程学问网 湘ICP备20001732号