Skip to content

Commit

Permalink
Update src/sqlparser/src/parser.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Bugen Zhao <[email protected]>
  • Loading branch information
yezizp2012 and BugenZhao authored Nov 4, 2024
1 parent b0e6705 commit 56c8a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sqlparser/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3100,7 +3100,7 @@ impl Parser<'_> {
let target_schema = self.parse_object_name()?;
AlterSchemaOperation::SwapRenameSchema { target_schema }
} else {
return self.expected("RENAME, OWNER TO OR SWAP WITH after ALTER SCHEMA");
return self.expected("RENAME, OWNER TO, OR SWAP WITH after ALTER SCHEMA");
};

Ok(Statement::AlterSchema {
Expand Down

0 comments on commit 56c8a4c

Please sign in to comment.