Repository navigation
Commit 7967bfe
committed
fix(syntax-receipts): place replication not enabled for the account as semantic
Errno 3078 (SQLSTATE 55000, "Replication is not enabled for your
account") was refused as having no established phase. Snowflake parses
the statement before this check: in CREATE FAILOVER GROUP, CREATE
REPLICATION GROUP and CREATE DATABASE ... AS REPLICA OF, every case
Snowflake rejects as malformed returns errno 1003, including one-token
near misses of statements that reach errno 3078, and only statements
that parse reach errno 3078. The errno is now reviewed as semantic,
like the other account restrictions.1 parent 6036370 commit 7967bfe
3 files changed
Lines changed: 15 additions & 3 deletions
File tree
- docs
- scripts/syntax_receipts
- tests/unit/scripts/syntax_receipts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
185 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
180 | 190 | | |
181 | 191 | | |
182 | 192 | | |
| |||
0 commit comments