1785 - when @@global.enforce_gtid_consistency = 1, updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables.
单独执行存储过程时提示这个错误,百度了下,说是混用myisam 和inodb ,以前也是这么混用的没有问题,也没有说的临时表
请教一下大家可能是什么原因,
你把 MySQL 降到 5.5 以下,就不出错了
高版本的mysql会报错
谢谢大家热心回答 ,问题解决了,但是不是很明白, 在一个事务中,对同一个表 先做查询,后又更新, 把更新的删除了,就不报这个错误了
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号