summaryrefslogtreecommitdiffstats
path: root/src/Utils/Query.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Utils/Query.php')
-rw-r--r--src/Utils/Query.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Utils/Query.php b/src/Utils/Query.php
index 4d66a90..bfd10a9 100644
--- a/src/Utils/Query.php
+++ b/src/Utils/Query.php
@@ -831,6 +831,8 @@ class Query
&& ($clause === $token->value)
) {
return $i;
+ } elseif ($token->value === 'UNION') {
+ return -1;
}
}
}