We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43a114c commit bdbd173Copy full SHA for bdbd173
1 file changed
src/parser/mod.rs
@@ -7123,6 +7123,8 @@ impl<'a> Parser<'a> {
7123
// parse it anyway (as we do inside `ALTER TABLE` and `CREATE TABLE` parsing).
7124
let index_options = self.parse_index_options()?;
7125
7126
+ // Only keep the latest USING, we don't take the IndexOption out of the vec and place the
7127
+ // value in the `using` var because we try to keep the order of the options as they appear.
7128
if index_options
7129
.iter()
7130
.any(|opt| matches!(opt, IndexOption::Using(_)))
0 commit comments