Navigation Menu

Skip to content

Commit

Permalink
test: add missing test for all_records() and cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 13, 2018
1 parent e542731 commit d054ad4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/command/suite/select/function/all_records/cached.expected
@@ -0,0 +1,10 @@
table_create Table TABLE_HASH_KEY ShortText
[[0,0.0,0.0],true]
#>select --filter "all_records()" --table "Table"
#:000000000000000 filter(0)
#:000000000000000 select(0)
#:000000000000000 output(0)
#<000000000000000 rc=0
#>select --filter "all_records()" --table "Table"
#:000000000000000 cache(0)
#<000000000000000 rc=0
8 changes: 8 additions & 0 deletions test/command/suite/select/function/all_records/cached.test
@@ -0,0 +1,8 @@
table_create Table TABLE_HASH_KEY ShortText

#@collect-query-log true
#@disable-logging
select Table --filter 'all_records()'
select Table --filter 'all_records()'
#@enable-logging
#@collect-query-log false

0 comments on commit d054ad4

Please sign in to comment.