You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When selecting with a shared lock, e.g. Entity::find().lock_shared(), the generated query looks like SELECT ... FROM ... FOR SHARE, but MariaDB only supports the syntax SELECT ... FROM ... LOCK IN SHARE MODE (see https://mariadb.com/kb/en/select/). This is basically the old syntax for MySQL, so this issue might also occur with an old MySQL server. The current MySQL version supports both variants.
The text was updated successfully, but these errors were encountered:
When selecting with a shared lock, e.g.
Entity::find().lock_shared()
, the generated query looks likeSELECT ... FROM ... FOR SHARE
, but MariaDB only supports the syntaxSELECT ... FROM ... LOCK IN SHARE MODE
(see https://mariadb.com/kb/en/select/). This is basically the old syntax for MySQL, so this issue might also occur with an old MySQL server. The current MySQL version supports both variants.The text was updated successfully, but these errors were encountered: