mirror of
https://github.com/MariaDB/server.git
synced 2025-11-08 00:28:29 +03:00
The problem is that passing anything other than a integer to a limit clause in a prepared statement would fail. This limitation was introduced to avoid replication problems (e.g: replicating the statement with a string argument would cause a parse failure in the slave). The solution is to convert arguments to the limit clause to a integer value and use this converted value when persisting the query to the log.
7.5 KiB
7.5 KiB