mysql: Fix EOFIfLegacyThenResultSet

Only expect a result next if an EOF was consumed.
This commit is contained in:
Arne Welzel 2024-07-05 13:56:44 +02:00
parent 320923418c
commit 6ea1045245

View file

@ -449,7 +449,7 @@ type EOFIfLegacyThenResultset(pkt_len: uint32) = case $context.connection.get_de
true -> resultset: Resultset(pkt_len); true -> resultset: Resultset(pkt_len);
} &let { } &let {
update_result_seen: bool = $context.connection.set_results_seen(0); update_result_seen: bool = $context.connection.set_results_seen(0);
update_expectation: bool = $context.connection.set_next_expected(EXPECT_RESULTSET); update_expectation: bool = $context.connection.set_next_expected(EXPECT_RESULTSET) &if( ! $context.connection.get_deprecate_eof() );
}; };
type Resultset(pkt_len: uint32) = record { type Resultset(pkt_len: uint32) = record {