summaryrefslogtreecommitdiff
path: root/vendor/github.com/uptrace/bun/internal/flag.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-04-24 12:26:22 +0200
committerLibravatar GitHub <noreply@github.com>2022-04-24 12:26:22 +0200
commit88979b35d462516e1765524d70a41c0d26eec911 (patch)
treefd37cb19317217e226ee7717824f24031f53b031 /vendor/github.com/uptrace/bun/internal/flag.go
parentRevert "[chore] Tidy up federating db locks a tiny bit (#472)" (#479) (diff)
downloadgotosocial-88979b35d462516e1765524d70a41c0d26eec911.tar.xz
[chore] Update bun and sqlite dependencies (#478)
* update bun + sqlite versions * step bun to v1.1.3
Diffstat (limited to 'vendor/github.com/uptrace/bun/internal/flag.go')
-rw-r--r--vendor/github.com/uptrace/bun/internal/flag.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/uptrace/bun/internal/flag.go b/vendor/github.com/uptrace/bun/internal/flag.go
index b42f59df7..22d2db291 100644
--- a/vendor/github.com/uptrace/bun/internal/flag.go
+++ b/vendor/github.com/uptrace/bun/internal/flag.go
@@ -3,7 +3,7 @@ package internal
type Flag uint64
func (flag Flag) Has(other Flag) bool {
- return flag&other == other
+ return flag&other != 0
}
func (flag Flag) Set(other Flag) Flag {