diff options
author | June McEnroe <june@causal.agency> | 2019-12-30 22:27:46 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-12-30 22:29:08 -0500 |
commit | de6980860b012fd2dfd1f7a77b47473ff290dc4f (patch) | |
tree | bbd46f89d2ccd120c28c7f941e6c9a97a8fe8c01 /database.h | |
parent | Add -D flag to prospective scoop manual (diff) | |
download | litterbox-de6980860b012fd2dfd1f7a77b47473ff290dc4f.tar.gz litterbox-de6980860b012fd2dfd1f7a77b47473ff290dc4f.zip |
Join with USING wherever possible
Diffstat (limited to 'database.h')
-rw-r--r-- | database.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database.h b/database.h index 1837a9f..d02bc28 100644 --- a/database.h +++ b/database.h @@ -266,7 +266,7 @@ static const char *InitSQL = SQL( nick, user, target, message FROM events JOIN contexts USING (context) - JOIN names ON names.name = events.name; + JOIN names USING (name); CREATE VIRTUAL TABLE search USING fts5 ( network, channel, query, nick, user, target, message, |