Commit c9d7dba
committed
Skip truncating ON COMMIT DELETE ROWS temp tables, if the transaction hasn't
touched any temporary tables.
We could try harder, and keep track of whether we've inserted to any temp
tables, rather than accessed them, and which temp tables have been inserted
to. But this is dead simple, and already covers many interesting scenarios.1 parent fd4ced5 commit c9d7dba
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10124 | 10124 | | |
10125 | 10125 | | |
10126 | 10126 | | |
10127 | | - | |
| 10127 | + | |
| 10128 | + | |
| 10129 | + | |
| 10130 | + | |
| 10131 | + | |
| 10132 | + | |
| 10133 | + | |
10128 | 10134 | | |
10129 | 10135 | | |
10130 | 10136 | | |
| |||
0 commit comments