diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-08-13 15:48:25 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-08-13 17:23:50 +0300 |
commit | 97f312a1b536c92440b04ec3dd743fc2802ab150 (patch) | |
tree | c232649f6bfb1f566032ad5c5e6e185b3df7d100 /bpkg/odb.sh | |
parent | d1fa0047be1db658b165514dc429ce494517b39c (diff) |
Optimize query_dependents() using prepared queries
Diffstat (limited to 'bpkg/odb.sh')
-rwxr-xr-x | bpkg/odb.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bpkg/odb.sh b/bpkg/odb.sh index 7f494e1..75c6d2d 100755 --- a/bpkg/odb.sh +++ b/bpkg/odb.sh @@ -50,6 +50,7 @@ $odb "${inc[@]}" \ --hxx-prologue '#include <bpkg/pointer-traits.hxx>' \ --hxx-prologue '#include <bpkg/wrapper-traits.hxx>' \ --hxx-prologue '#include <bpkg/value-traits.hxx>' \ - --include-with-brackets --include-prefix bpkg --guard-prefix BPKG \ - --schema main --schema-version-table main.schema_version \ + --generate-prepared --include-with-brackets --include-prefix bpkg \ + --guard-prefix BPKG --schema main \ + --schema-version-table main.schema_version \ --sqlite-override-null package.hxx |