Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset cross-db flag for each statement (babelfish-for-postgresql#3237)
Earlier, while parsing the batch, We were marking the all the subsequent statements of the batch as cross-database statements once we encounter any cross-database statement in batch which was incorrect. This commit fixes above behaviour by resetting 'is_cross_db' maintained at mutator level once we mark some statement as cross_db in the parse tree. Task: BABEL-5447 Signed-off-by: Harsh Lunagariya <[email protected]>
- Loading branch information