/* error_message: db1: Hook early check failed: Database execute error: HY000, [MySQL][ODBC 8.4(a) Driver][mysqld-8.0.11-TiDB-v8.2.0-alpha-216-gfe5858b]runtime error: invalid memory address or nil pointer dereference db2: Database execute error: HY000, [MySQL][ODBC 8.4(a) Driver][mysqld-8.0.11-TiDB-v8.2.0-alpha-216-gfe5858b]runtime error: invalid memory address or nil pointer dereference */ /* query_plan: */ select cast(nullif( (select c_wdj4m from t_evocp8e0 order by c_wdj4m limit 1 offset 6) , (subq_0.c2 between ref_2.c_q22yixwl and cast( (ref_2.c_q22yixwl << -6022487752982591593) as signed)) ) as unsigned) as c0, subq_0.c2 as c1 from ((select ref_0.c_k0yjq8k as c0, 46578369 as c1, ref_0.c_q22yixwl as c2, ref_0.c_k0yjq8k as c3 from t_ktz as ref_0 where (NOT NOT(cast( (cast(0<>0 as unsigned) && cast(cast(null as signed) as signed)) as unsigned))) order by c0, c1, c2, c3 asc limit 43) as subq_0 left outer join t_ktz as ref_2 on ((subq_0.c1 is not NULL))) where (NOT NOT(cast( (cast(3649797776291505592 as signed) >= cast(case when (subq_0.c0 in ( subq_0.c0, ref_2.c_k0yjq8k, cast( (cast(1=1 as unsigned) - cast(subq_0.c1 as signed)) as char))) then cast(subq_0.c2 as decimal) else cast(subq_0.c2 as decimal) end as decimal)) as unsigned))) union ( select (ref_3.c_wdj4m is not NULL) as c0, ref_3.c_ray1y7y as c1 from t_evocp8e0 as ref_3 where (NOT NOT(cast( (cast(ref_3.c_to as signed) || cast(case when (NOT NOT(cast( (cast(ref_3.c_to as decimal) && cast(36.6 as double)) as unsigned))) then round( cast((select c_vpiqmsh6 from t_s436oao0nr order by c_vpiqmsh6 limit 1 offset 4) as double), cast(ref_3.c_ray1y7y as signed)) else cast(coalesce( case when (0<>0) and (1=1) then cast((select c_vpiqmsh6 from t_s436oao0nr order by c_vpiqmsh6 limit 1 offset 1) as double) else cast((select c_vpiqmsh6 from t_s436oao0nr order by c_vpiqmsh6 limit 1 offset 5) as double) end , abs( cast((select c_vpiqmsh6 from t_s436oao0nr order by c_vpiqmsh6 limit 1 offset 86) as double)) ) as double) end as double)) as unsigned))) ) order by c0, c1 limit 92;