mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
043e4aff01
Previously if the `reverse` named arg was unset (value of NULL), then SQL would order by NULL instead of ID causing undifined ordering of the returned rows. To fix that we check for NULL and also make sure to set the `reverse` arg in the code explicitly as it in the generated code it is an `interface{}` instead of `bool`. |
||
---|---|---|
.. | ||
sqlc | ||
config.go | ||
go.mod | ||
go.sum | ||
interfaces.go | ||
log.go | ||
migrations.go | ||
no_sqlite.go | ||
postgres_fixture.go | ||
postgres_test.go | ||
postgres.go | ||
schemas.go | ||
sqlerrors_no_sqlite.go | ||
sqlerrors.go | ||
sqlite_test.go | ||
sqlite.go | ||
sqlutils.go |