From 5788020c3ecdbc92a5da7c8ff5569f29d386ba61 Mon Sep 17 00:00:00 2001 From: LiuYoung00 Date: Thu, 7 Dec 2023 08:16:37 +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()),