eos icon indicating copy to clipboard operation
eos copied to clipboard

cleos get table "more" returns true if records match query

Open infohata opened this issue 8 years ago • 5 comments

cleos get table account account table --limit 10 returns "more":true when there are just 10 records in the table, but with --limit 11 it returns "more": false. In other words, if --limit matches the query result rows count, it returns false positive for "more".

infohata avatar Jul 31 '18 09:07 infohata

This is by design. "more" means whether or not there's more data than the returning result.

taokayan avatar Jul 31 '18 10:07 taokayan

and this is exactly what I am reporting. It is reporting false positive extra data when there aren't any. If result exactly matches query, it reports that there is "more":true when it's not. Please reopen, reproduce, and fix.

infohata avatar Aug 02 '18 12:08 infohata

@sergmetelin bump

infohata avatar Aug 02 '18 12:08 infohata

Confirmed off-by-one error.

jgiszczak avatar Aug 02 '18 22:08 jgiszczak

In order to focus our efforts on issues that are currently creating difficulty for the community we are closing tickets that were created prior to the EOSIO 2.0 release. If you believe this issue is still relevant please feel free to reopen it or create a new one. Thank you for your continued support of EOSIO!

aclark-b1 avatar Jul 31 '20 18:07 aclark-b1