Skip to content

Commit cab47e9

Browse files
committed
Align Dolt snapshot write flag with driver eligibility
1 parent 795d8de commit cab47e9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎src/openstatspec/sql/wide.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,10 @@ def dolt_state_snapshot(
15071507
"profile": "dolt",
15081508
"server_version": active["server_version"],
15091509
"read_only": True,
1510-
"operational_write_enabled": bool(active["claimed_supported"]),
1510+
"operational_write_enabled": (
1511+
bool(active["claimed_supported"])
1512+
and bool(active["driver_eligible"])
1513+
),
15111514
"working_set_binding": binding,
15121515
"state": state,
15131516
}

0 commit comments

Comments
 (0)