Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add missing test for all_records() and cache
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
test/command/suite/select/function/all_records/cached.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |