From 0dc52306298aeb1b7a409f23ff69f98df3859046 Mon Sep 17 00:00:00 2001 From: LiuYoung00 Date: Wed, 7 Feb 2024 12:45:22 +0000 Subject: [PATCH] [to #6249380]fixed fetch type check problem --- src/observer/mysql/obmp_stmt_fetch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/observer/mysql/obmp_stmt_fetch.cpp b/src/observer/mysql/obmp_stmt_fetch.cpp index cbd3294d0..368889b2e 100644 --- a/src/observer/mysql/obmp_stmt_fetch.cpp +++ b/src/observer/mysql/obmp_stmt_fetch.cpp @@ -353,7 +353,7 @@ int ObMPStmtFetch::response_result(pl::ObPLCursorInfo &cursor, ret = OB_ERR_UNEXPECTED; LOG_WARN("get unexpect streaming result set.", K(ret), K(cursor.get_id())); } - if (OB_OCI_DEFAULT != offset_type_ || OB_OCI_FETCH_NEXT != offset_type_) { + if (OB_OCI_DEFAULT != offset_type_ && OB_OCI_FETCH_NEXT != offset_type_) { ret = OB_ERR_UNEXPECTED; LOG_WARN("streaming result set not support this offset type.", K(ret), K(cursor.get_id()),