Changing the response packet size of remote SQL to 2MB

This commit is contained in:
leslieyuchen
2023-10-31 20:39:28 +00:00
committed by ob-robot
parent 34c3e633b0
commit c91f22632a
5 changed files with 36 additions and 9 deletions

View File

@ -79,7 +79,6 @@ TEST_F(TestScanner, basic_test)
TEST_F(TestScanner, serialization)
{
ObScanner scanner;
scanner.set_mem_size_limit(1024);
scanner.set_affected_rows(10);
scanner.set_last_insert_id_to_client(111);
scanner.set_last_insert_id_session(121);
@ -91,7 +90,7 @@ TEST_F(TestScanner, serialization)
scanner.set_row_duplicated_count(2000);
scanner.set_extend_info("fine,thank you, and you");
scanner.set_is_result_accurate(false);
scanner.init();
ASSERT_EQ(OB_SUCCESS, scanner.init(1024));
ObObj objs[3];
ObNewRow row;