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

16.9.2. 实施external_lock()函数

external_lock()函数是在事务开始时调用的,或发出LOCK TABLES语句时调用的,用于事务性存储引擎。

在sql/ha_innodb.cc和sql/ha_berkeley.cc文件中,可找到使用external_lock()的示例,但大多数存储引擎简单地返回0,就像EXAMPLE存储引擎那样:

int ha_example::external_lock(THD *thd, int lock_type)
 {
   DBUG_ENTER("ha_example::external_lock");
   DBUG_RETURN(0);
 }
相关文章
mysql截取字符串的函数总结mysql 位函数mysql c api预处理语句函数描述mysql external lockmysql 实施external lock 函数mysql 实施extra 函数mysql 实施info 函数mysql 实施rnd init 函数mysql 实施store lock 函数mysql 实施rnd next 函数mysql geometry格式转换函数mysql 其他函数php cubrid mysql 兼容性函数 return the type of the column corresponding to the given field offsetphp cubrid 函数 set a read lock on the given oidphp db++ 函数 request write lock on relationphp mysql 函数 关闭 mysql 连接php mysql 函数 从结果中取得和指定字段关联的标志php mysql 函数 列出 mysql 数据库中的表php mysqlnd ms 函数 查询给定的 sql 会发送给 master、slave 还是最后使用的 mysql server 执行。php mysql xdevapi collectionfind execute operation with shared lock
关注编程学问公众号
编程学问网 湘ICP备20001732号