mirror of
https://github.com/MariaDB/server.git
synced 2025-11-09 11:41:36 +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.
2.4 KiB
2.4 KiB