This is an automated email from the ASF dual-hosted git repository.
lichaoyong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 93aae6b [Bug] fix mixed used of counter (#3720)
93aae6b is described below
commit 93aae6bdff2e32a1a0e31c4844b99e943b172679
Author: lichaoyong <[email protected]>
AuthorDate: Fri May 29 15:36:21 2020 +0800
[Bug] fix mixed used of counter (#3720)
MysqlResultWriter _sent_rows_counter and _result_send_timer are mixed used.
It will results core dump when checking counter->type().
---
be/src/runtime/mysql_result_writer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/runtime/mysql_result_writer.cpp
b/be/src/runtime/mysql_result_writer.cpp
index a0d2426..036ec4a 100644
--- a/be/src/runtime/mysql_result_writer.cpp
+++ b/be/src/runtime/mysql_result_writer.cpp
@@ -229,7 +229,7 @@ Status MysqlResultWriter::append_row_batch(const RowBatch*
batch) {
}
if (status.ok()) {
- SCOPED_TIMER(_sent_rows_counter);
+ SCOPED_TIMER(_result_send_timer);
// push this batch to back
status = _sinker->add_batch(result);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]