Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
Make user_analysis PRAGMA writable (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
gamebox authored Jul 28, 2023
1 parent dd0edc5 commit 2ffd4ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sqld/src/query_analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl StmtKind {
// always ok to be served by primary
"foreign_keys" | "foreign_key_list" | "foreign_key_check" | "collation_list"
| "data_version" | "freelist_count" | "integrity_check" | "legacy_file_format"
| "page_count" | "quick_check" | "stats" => Some(Self::Write),
| "page_count" | "quick_check" | "stats" | "user_version" => Some(Self::Write),
// ok to be served by primary without args
"analysis_limit"
| "application_id"
Expand Down Expand Up @@ -142,7 +142,6 @@ impl StmtKind {
| "temp_store"
| "threads"
| "trusted_schema"
| "user_version"
| "wal_autocheckpoint" => {
match body {
Some(_) => None,
Expand Down

0 comments on commit 2ffd4ef

Please sign in to comment.