当我尝试NOWAIT
在我的选择查询中使用时,出现以下错误。
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'NOWAIT' at line 1
我的 Mariadb 版本是10.2.29-MariaDB-1:10.2.29+maria~bionic
有人能帮助我吗?
当我尝试NOWAIT
在我的选择查询中使用时,出现以下错误。
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'NOWAIT' at line 1
我的 Mariadb 版本是10.2.29-MariaDB-1:10.2.29+maria~bionic
有人能帮助我吗?
WAIT
MariaDB 10.3.0 中添加了该关键字。
在此之前,控制锁等待时间的等待是通过设置变量lock_wait_timeout
或innodb_lock_wait_timeout
。将适当的变量设置0
为等效于NOWAIT
。