Skip to main content

pretty_expr_mysql

Function pretty_expr_mysql 

Source
pub fn pretty_expr_mysql(e: &Expr) -> String
Expand description

v7.39 (round 527) — the same deparse, spelling a cast the way MySQL writes it.

MariaDB names the offending expression in its out-of-range message and quotes the user’s own syntax: cast(1 as unsigned) - 2. SPG answered 1::unsigned - 2 — PG’s spelling, in a message going to a MySQL client, for a cast the client had just written the other way.