summaryrefslogtreecommitdiffstats
path: root/debian/control
diff options
context:
space:
mode:
authorGravatar Stefan Richter 2012-05-25 21:27:40 +0200
committerGravatar Stefan Richter 2012-05-25 21:27:40 +0200
commitb1dd5418233a4c00aed20150ec0e75885322b202 (patch)
treefb231faba41289ca7a9428bb50a9ba86b30ace61 /debian/control
parentImplement raw1394_iso_recv_flush() on Juju (diff)
Add firewire-{cdev,constants}.h from Linux v3.4
Add copies of the Linux kernel header files but don't #include them just yet. These are exact copies of the files from linux-3.4. In case that we eventually want updates from later kernels, a diff of the kernel's firewire-c*.h between v3.4 and then should do the trick. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
td>-17/+14 2021-07-26queryparse: add function to build SQL queriesGravatar Peter McGoron 2-1/+73 SQLite allows for UNIONs and INTERSECTIONs between SELECT statements, but it does not support grouping them. By recursively applying DeMorgan's laws, the parser can reduce the parse tree to only * Literals * NOT literals (i.e. "all items not belonging to this tag") * ANDs * ORs What SQLite /can/ do is have SELECT statements come from other SELECT statements. A query like (X & Y & Z) | (A & B & C) in pseudo-SQLite becomes SELECT * FROM ( SELECT * FROM tbl WHERE name IN X INTERSECTION SELECT * FROM tbl WHERE name IN Y INTERSECTION SELECT * FROM tbl WHERE name IN Z ) UNION SELECT * FROM ( SELECT * FROM tbl WHERE name IN A INTERSECTION SELECT * FROM tbl WHERE name IN B INTERSECTION SELECT * FROM tbl WHERE name IN C ) One future optimization would be to group all literals at a certain level with each other, so that there are less direct queries to the entire tag table. 2021-07-26queryparse: use demorgan's laws to simplify parsed expressionGravatar Peter McGoron 2-1/+17 2021-07-26update README.mdGravatar Peter McGoron 1-0/+10 2021-07-26queryparse: collect literals into set and return itGravatar Peter McGoron 2-16/+22 2021-07-26gitea wants .md suffixes for web renderingGravatar Peter McGoron 2-0/+0 2021-07-26example/query.md: change to what the code actually implementsGravatar Peter McGoron 1-3/+3