编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
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 c api函数描述mysql rnd initmysql 实施external lock 函数mysql 实施extra 函数mysql 实施info 函数mysql 实施rnd init 函数mysql 实施store lock 函数mysql 实施rnd next 函数mysql 测试几何对象间空间关系的函数mysql 字符串比较函数mysql 字符串函数php cubrid mysql 兼容性函数 return the name of the table of the specified fieldphp cubrid mysql 兼容性函数 return the type of the column corresponding to the given field offsetphp cubrid mysql 兼容性函数 return the value of a specific field in a specific rowphp mysql 函数 返回字符集的名称php mysql 函数 关闭 mysql 连接php mysql 函数 从结果集中取得一行作为枚举数组php mysql 函数 列出 mysql 进程php mysql xdevapi 函数 connect to a mysql server
关注编程学问公众号
编程学问网 湘ICP备20001732号