fix mysqltest

This commit is contained in:
obdev
2024-03-20 11:45:49 +00:00
committed by ob-robot
parent 84c5698b2a
commit 6d3c185095
2 changed files with 5 additions and 40 deletions

View File

@ -412,7 +412,8 @@ while ($i <= 10000)
eval insert into geek_poi_7(p_id, p_logo_url,p_scene_url,p_quickapp_url, p_tags_id,geog_poi,p_delete_time) values($i, 'aaa','aaa','aaa','[]', st_geomfromtext('POINT(33.11138916015625 123.42416381835938)', 4326), $i%2);
inc $i;
}
call dbms_stats.gather_table_stats('test','geek_poi_7');
--enable_query_log
--enable_result_log
explain EXTENDED_NOADDR SELECT p.p_id,0 as distance FROM geek_poi_7 as p WHERE p.geohash_code like 'ws0emp%' and p.p_delete_time = 0 AND ST_Contains(p.geog_poi,_ST_GeogFromText('POINT(113.42416381835938 23.11138916015625)'));
explain SELECT p.p_id,0 as distance FROM geek_poi_7 as p WHERE p.geohash_code like 'ws0emp%' and p.p_delete_time = 0 AND ST_Contains(p.geog_poi,_ST_GeogFromText('POINT(113.42416381835938 23.11138916015625)'));