aboutsummaryrefslogtreecommitdiffhomepage
path: root/.dr
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-09-21 11:14:58 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-09-22 14:43:16 -0400
commitdc50cca5e2ae3f13f1a585108b116245fc68a9ca (patch)
tree25b08fd30adff25cbf88bfe7d8653768c2921bb4 /.dr
parentpaths: doc_uid_out_no_lang, doc name sans language (diff)
ocda db: one <doc>.ocda.db holding every language
The file is named for the document, not for one of its languages (and is written a language at a time: ten calls fill one file for a ten language document). The removal on entry was right when a call wrote the whole file. It now happens on the first language of the document, taken from the manifest rather than from whatever order the loop ran in, so nine languages are no longer written and thrown away. Also a partial unique index for the file level metadata rows. In SQL no null equals any other null, so UNIQUE(doc_id, key) does not constrain the rows written with a null doc_id, and schema.name and schema.version were inserted once per language: ten rows each, with nothing for INSERT OR REPLACE to replace. (assisted by Claude-Code)
Diffstat (limited to '.dr')
0 files changed, 0 insertions, 0 deletions