Commit bfbcb5a
committed
Fix observer query summaries for UNION and parenthesized SQL
Strip leading parentheses before extracting the SQL operation so
queries like "(SELECT ... UNION ...)" are correctly identified as
SELECT instead of "(SELECT". Append a UNION suffix to summaries
when a UNION clause is detected.1 parent 17f0e76 commit bfbcb5a
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| |||
0 commit comments