pingcap / parser

A MySQL Compatible SQL Parser
Apache License 2.0
1.41k stars 489 forks source link

Support "Set transaction read only as of ..." #1229

Closed Yisaer closed 3 years ago

Yisaer commented 3 years ago

Signed-off-by: yisaer disxiaofei@163.com

What problem does this PR solve?

Currently Set transaction read only as of ... will be restored as Set tx_read_only = '1', tx_read_ts = ... while tx_read_only is no-op variable now.

What is changed and how it works?

Make Set transaction read only as of ... restored as Set tx_read_ts = ...

Check List

Tests