core-lightning/devtools
niftynei fdfca9e721 sqlite3: no NULLS FIRST
sqlite3 added NULLS FIRST to their schema as of v3.30.1 but some older
boxes aren't updated (notably the author's own node box).

The default behavior for sqlite3 is to sort nulls first however, this
is *really* only needed for postgres.

As a simple fix (which will allow older boxes to not upgrade their
sqlite yet), simply strip out the NULLS FIRST keywords from sqlite3
queries.

Reported-By: Simon Vrouwe @SimonVrouwe
Fixes: #5517
2022-08-16 12:32:08 -05:00
..
.gitignore Add rune and commando to gitignore. 2022-07-19 15:29:26 +09:30
bolt11-cli.c bolt11: support payment_metadata. 2022-04-02 09:40:18 +10:30
bolt12-cli.c json: fix up msat amounts in non-_msat fields. 2022-06-21 06:52:35 +09:30
changelog.py devtools: if there's a message in the API call, print and exit 2022-08-02 10:00:26 -07:00
checkchannels.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
clean_topo.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
clean_topo.h devtools/topology: new tool to explore lightning topology. 2020-08-28 10:56:50 +09:30
create-gossipstore.c tools/generate_wire.py: make functions allocate the TLV. 2022-03-25 13:55:44 +10:30
credit tools: Pretty print the credits 2021-01-26 15:45:13 +01:00
decode-iolog devtools/decode-iolog: tool to decode hexstrings from io logging. 2019-05-31 18:36:38 +02:00
decodemsg.c devtools/decodemsg: add --list-tlvs 2022-03-25 13:55:44 +10:30
dump-gossipstore.c devtools: add --print-timestamps to dump-gossipstore. 2022-07-15 21:18:29 +09:30
encodeaddr.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
features.c devtools/features: tool to convert feature bitmap to names. 2021-09-23 15:02:05 +02:00
fp16.c devtools/fp16: conversion tool for fp16 format. 2022-03-22 18:45:41 +10:30
gossipwith.c devtools: revert changes and make sure chainparams always set. 2022-06-28 06:09:01 +09:30
lightning-checkmessage.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
Makefile devtools/rune: simple decode tool. 2022-07-17 08:51:02 +09:30
mkclose.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
mkcommit.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
mkencoded.c Makefile: update to BOLTs without zlib. 2022-05-19 09:47:32 +09:30
mkfunding.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
mkgossip.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
mkquery.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
onion.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
print_wire.c Makefile: update to BOLTs without zlib. 2022-05-19 09:47:32 +09:30
print_wire.h wire: generate printwire_ routines for bolt12 CSV. 2022-03-25 13:55:44 +10:30
reduce-includes.sh devtools/reduce-includes.sh: brute-force script to remove includes. 2021-09-17 09:43:22 +09:30
route.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
rune.c devtools/rune: simple decode tool. 2022-07-17 08:51:02 +09:30
sql-rewrite.py sqlite3: no NULLS FIRST 2022-08-16 12:32:08 -05:00
taldump-analyze.py devtools/taldump-analyze.py: script to analyze tal_dump() output. 2021-11-27 10:38:13 +10:30
topology.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
unused-functions.sh devtools: simple script to look for functions which don't seem to be used. 2021-12-06 10:05:39 +10:30