Commit 03d6ee3
authored
Update MultithreadedOrderInsertMain.cs
There is a bug in the code when it tries to append the union, it generates invalid SQL. By encapsulating the underlying select's into parens, it eliminates the issue in both cases (just the first query vs both queries unioned).1 parent bccd666 commit 03d6ee3
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- samples/databases/wide-world-importers/workload-drivers/order-insert/MultithreadedOrderInsert
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
0 commit comments