mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-03 03:42:54 +00:00
* feat: introduce read preference * feat: introduce `RegionQueryHandlerFactory` * feat: extract ReadPreference from http header * test: add more tests * chore: apply suggestions from CR * chore: apply suggestions from CR
14 lines
221 B
SQL
14 lines
221 B
SQL
-- SQLNESS PROTOCOL MYSQL
|
|
SELECT read_preference();
|
|
|
|
-- SQLNESS PROTOCOL MYSQL
|
|
SET read_preference = 'hi';
|
|
|
|
-- SQLNESS PROTOCOL MYSQL
|
|
SET read_preference = 'leader';
|
|
|
|
-- SQLNESS PROTOCOL MYSQL
|
|
SELECT read_preference();
|
|
|
|
|