Skip to content

Commit

Permalink
[ui] add example & visual for interior table
Browse files Browse the repository at this point in the history
  • Loading branch information
torymur committed Sep 6, 2024
1 parent 2d8b332 commit 558b5bb
Show file tree
Hide file tree
Showing 7 changed files with 342 additions and 5,062 deletions.
11 changes: 10 additions & 1 deletion ui/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.PHONY: setup
setup: included included/simple included/big_page included/overflow_page included/two_tables
setup: included included/simple included/big_page included/overflow_page included/two_tables included/interior_table

included:
mkdir $@
Expand All @@ -19,6 +19,15 @@ included/overflow_page:
'insert into mixed_overflow select cast(blob as TEXT), 234234235, 0, blob from blob_overflow' \
'insert into mixed_overflow select cast(blob as TEXT), 94542343, 1, blob from blob_overflow'

included/interior_table:
sqlite3 $@ \
-cmd '.load ./dev/fileio' \
-cmd 'PRAGMA page_size=512' \
'create table macro_story(line)' \
'insert into macro_story select value from fileio_scan("dev/lines.txt")'\
'create table same_macro_story(line)' \
'insert into same_macro_story select value from fileio_scan("dev/lines.txt")'\

included/big_page:
sqlite3 $@ \
-cmd 'PRAGMA page_size=65536' \
Expand Down
Loading

0 comments on commit 558b5bb

Please sign in to comment.