mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
mysql: Fix EOFIfLegacyThenResultSet
Only expect a result next if an EOF was consumed.
This commit is contained in:
parent
320923418c
commit
6ea1045245
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ type EOFIfLegacyThenResultset(pkt_len: uint32) = case $context.connection.get_de
|
|||
true -> resultset: Resultset(pkt_len);
|
||||
} &let {
|
||||
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue