fix(pgproto): correct row count for SELECT command tag
Previously, we retrieved the row count using rows.len(), where rows was an iterator that returned the remaining number of rows instead of the total number of rows sent.
parent
bee0aa00
No related branches found
No related tags found
Showing
- src/pgproto/backend/result.rs 4 additions, 4 deletionssrc/pgproto/backend/result.rs
- src/pgproto/backend/storage.rs 3 additions, 1 deletionsrc/pgproto/backend/storage.rs
- src/pgproto/client/extended_query.rs 6 additions, 3 deletionssrc/pgproto/client/extended_query.rs
- src/pgproto/client/simple_query.rs 6 additions, 5 deletionssrc/pgproto/client/simple_query.rs
Please register or sign in to comment