Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
  • Loading branch information
CalvinNeo committed Jun 15, 2023
1 parent ef8ae7a commit d073587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbms/src/Storages/Transaction/Region.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ ImutRegionRangePtr Region::getRange() const
RaftstoreVer Region::getClusterRaftstoreVer()
{
// In non-debug/test mode, we should assert the proxy_ptr be always not null.
if (proxy_helper->proxy_ptr)
if (proxy_helper->proxy_ptr.inner != nullptr)
{
return proxy_helper->fn_get_cluster_raftstore_version(proxy_helper->proxy_ptr, 0, 0);
}
Expand Down

0 comments on commit d073587

Please sign in to comment.