From c8292c2c2ed41e7f8a3d64891fa87a54f4dd348f Mon Sep 17 00:00:00 2001 From: ym0 Date: Mon, 29 Nov 2021 19:33:50 +0800 Subject: [PATCH] Fix retrieve schema problem --- deps/oblib/src/lib/mysqlclient/ob_mysql_result.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/oblib/src/lib/mysqlclient/ob_mysql_result.h b/deps/oblib/src/lib/mysqlclient/ob_mysql_result.h index 11a446a1f8..cf137fc56b 100644 --- a/deps/oblib/src/lib/mysqlclient/ob_mysql_result.h +++ b/deps/oblib/src/lib/mysqlclient/ob_mysql_result.h @@ -490,8 +490,8 @@ if (skip_column_error) { \ SQL_LOG(INFO, "column not found, ignore", "column_name", #column_name); \ /*overwrite ret*/ \ - if (OB_FAIL((class_obj).set_##column_name(str_value))) { \ - SQL_LOG(WARN, "fail to set value", KR(ret), K(str_value)); \ + if (OB_FAIL((class_obj).set_##column_name(default_value))) { \ + SQL_LOG(WARN, "fail to set value", KR(ret), K(default_value)); \ } \ } else { \ SQL_LOG(WARN, "column not found", "column_name", #column_name, K(ret)); \ -- GitLab