dendrite/internal/sqlutil
0x1a8510f2 46902e5766
Take advantage of changes in recent Go versions (#3361)
Given that #2714 wasn't merged but we are now at a minimum supported Go
version of 1.20 (soon to be 1.21), I wanted to carry over some of the
changes. Namely:
- Fix the log typo
- Simplify build constraints for unix
- Use stdlib atomic package

### Pull Request Checklist

<!-- Please read
https://matrix-org.github.io/dendrite/development/contributing before
submitting your pull request -->

* [x] I have added Go unit tests or [Complement integration
tests](https://github.com/matrix-org/complement) for this PR _or_ I have
justified why this PR doesn't need tests
* [x] Pull request includes a [sign off below using a legally
identifiable
name](https://matrix-org.github.io/dendrite/development/contributing#sign-off)
_or_ I have already signed off privately

Signed-off-by: `0x1a8510f2 <admin@0x1a8510f2.space>`

---------

Co-authored-by: devonh <devon.dmytro@gmail.com>
2024-05-01 00:38:36 +00:00
..
connection_manager.go Update ConnectionManager to still allow component defined connections (#3154) 2023-07-21 08:34:01 +02:00
connection_manager_test.go Update ConnectionManager to still allow component defined connections (#3154) 2023-07-21 08:34:01 +02:00
migrate.go Prepare statement on an existing transaction (#3144) 2023-07-07 13:09:39 +02:00
migrate_test.go Fix moderncsqlite errors and rebase onto main (#2832) 2022-11-02 13:20:10 +00:00
sql.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
sqlite_cgo.go Move every db.Prepare to sqlutil.Statementlist, remove trace driver (#3026) 2023-03-23 13:52:53 +01:00
sqlite_native.go Move every db.Prepare to sqlutil.Statementlist, remove trace driver (#3026) 2023-03-23 13:52:53 +01:00
sqlutil.go Move every db.Prepare to sqlutil.Statementlist, remove trace driver (#3026) 2023-03-23 13:52:53 +01:00
sqlutil_test.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
unique_constraint.go Fix moderncsqlite errors and rebase onto main (#2832) 2022-11-02 13:20:10 +00:00
unique_constraint_cgo.go Fix moderncsqlite errors and rebase onto main (#2832) 2022-11-02 13:20:10 +00:00
unique_constraint_wasm.go Fix moderncsqlite errors and rebase onto main (#2832) 2022-11-02 13:20:10 +00:00
uri.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
writer.go Component-wide TransactionWriters (#1290) 2020-08-21 10:42:08 +01:00
writer_dummy.go Component-wide TransactionWriters (#1290) 2020-08-21 10:42:08 +01:00
writer_exclusive.go Take advantage of changes in recent Go versions (#3361) 2024-05-01 00:38:36 +00:00