fix pointer print issue
when response_result fail, it will try to print row value. When the failure is caused by ctrl+c, neteasy memory is released in response_result function and row memory is invalid.
This commit is contained in:
@ -256,7 +256,7 @@ int ObSyncCmdDriver::response_query_result(ObMySQLResultSet& result)
|
||||
ctx_.schema_guard_,
|
||||
tmp_session->get_effective_tenant_id()));
|
||||
if (OB_FAIL(sender_.response_packet(rp))) {
|
||||
LOG_WARN("response packet fail", K(ret), K(*row));
|
||||
LOG_WARN("response packet fail", K(ret), KP(row));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user