• davi@mysql.com/endora.local's avatar
    Bug#33851 Passing UNSIGNED param to EXECUTE returns ERROR 1210 · 361262c7
    davi@mysql.com/endora.local authored
    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.
    361262c7
item_func.cc 139 KB