Browse Source
[demo] mysql.spider_table_sts is empty, but it returns something when read
10.10-spider-sts-demo
Yuchen Pei
2 years ago
No known key found for this signature in database
GPG Key ID: 3DD1B35105743563
2 changed files with
5 additions and
1 deletions
-
storage/spider/mysql-test/spider/t/spider_fixes.test
-
storage/spider/spd_table.cc
|
|
@ -266,6 +266,7 @@ SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l ORDER BY a; |
|
|
|
--echo |
|
|
|
--echo 2.15 |
|
|
|
--echo select table with range scan |
|
|
|
select count(*) from mysql.spider_table_sts; |
|
|
|
TRUNCATE TABLE ta_l; |
|
|
|
--disable_warnings |
|
|
|
DROP TABLE IF EXISTS ta_l; |
|
|
|
|
|
@ -7040,7 +7040,10 @@ int spider_get_sts( |
|
|
|
!error_num || |
|
|
|
(error_num != HA_ERR_KEY_NOT_FOUND && error_num != HA_ERR_END_OF_FILE) |
|
|
|
) |
|
|
|
need_to_get = FALSE; |
|
|
|
{ |
|
|
|
abort(); |
|
|
|
need_to_get = FALSE; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (need_to_get) |
|
|
|