Commit 10571f9
committed
readyset-client: allow ADD INDEX to not require resnapshot
This commit allows the `ADD INDEX` statement to not require a
resnapshot.
Those operations will not change the underlying table, so we can avoid
the resnapshot.
This is not the case for ADD PRIMARY KEY & ADD UNIQUE KEY.
Change-Id: I66792a6fc57affb44c946816ef10993a11c30730
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/9595
Tested-by: Buildkite CI
Reviewed-by: Michael Zink <michael.z@readyset.io>1 parent ff48d6a commit 10571f9
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
| 396 | + | |
| 397 | + | |
397 | 398 | | |
398 | 399 | | |
399 | | - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
400 | 405 | | |
401 | 406 | | |
402 | 407 | | |
| |||
0 commit comments