async fn execute_one(
client: &Object,
stmt: &Statement,
stmt_sql: &str,
with_explain: bool,
start: impl Fn() -> Instant + Copy,
) -> Result<SqlResult, ServerFnError>Expand description
执行单条语句,返回结果。
stmt_sql 必须是 stmt 重序列化后的单条语句 SQL(不含其他语句),
保证护栏检查的 AST 与实际执行的语句一致。