matrix
matrix copied to clipboard
ExplainQueryPlanChecker 检测失效
Issue /提问须知
在提交 issue 之前,我们应该先查询是否已经有相关的 issue 以及常见问题。提交 issue 时,我们需要写明 issue 的原因,以及编译或运行过程的日志。issue 需要以下面的格式:
异常类型:app 运行时异常
手机型号:HUAWEI Mate 30
手机系统版本:Android 10.0
matrix版本:如: 2.0.1
gradle版本:如: 4.1.0
问题描述:ExplainQueryPlanChecker 检测失效
我发现 ExplainQueryPlanChecker::Check 方法执行到下面的代码时:
std::unique_ptr<QueryPlan> query_plan(new QueryPlan);
int ret = env.GetExplainQueryPlan(sql, query_plan.get());
query_plan->plans_还是空的,也就是说 GetExplainQueryPlan 没有达到预期的效果,但是没有错误的日志
应该是机型的问题,我在其他手机: Pixel、小米、Oppo上面测试都没有问题。在华为系列:Mate30 - HarmonyOS 2.0.0、P20 - Android 10、荣耀10 - Android 9上都有问题