提交 3be156a1 编写于 作者: S stdliu 提交者: LINGuanRen

Fix inner sql execution refered to destroyed SQL bug

上级 6de26d62
......@@ -73,7 +73,7 @@ public:
MEMCPY(dup_sql->ptr(), sql_.ptr(), sql_.length());
dup_sql->ptr()[sql_.length()] = '\0';
res.get_session().store_query_string(*dup_sql);
ret = engine.stmt_query(sql_, ctx, res);
ret = engine.stmt_query(*dup_sql, ctx, res);
}
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册