Skip to content

Commit aeaea5e

Browse files
committed
simple_query generate error on unexpected message
1 parent d21090d commit aeaea5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgres/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ impl InnerConnection {
963963
result.push(TextRows::new(cols, mem::replace(&mut rows, Vec::new())));
964964
}
965965
}
966-
_ => {}
966+
_ => bad_response!(self),
967967
}
968968
}
969969
Ok(result)

0 commit comments

Comments
 (0)