(name: &str, sql: &str)
| 1128 | } |
| 1129 | |
| 1130 | fn parse_statement(name: &str, sql: &str) -> Vec<u8> { |
| 1131 | let mut body = Vec::new(); |
| 1132 | add_cstring(&mut body, name); |
| 1133 | add_cstring(&mut body, sql); |
| 1134 | body.extend_from_slice(&0_i16.to_be_bytes()); |
| 1135 | tagged_message(b'P', body) |
| 1136 | } |
| 1137 | |
| 1138 | fn bind_statement(portal: &str, statement: &str, values: &[&str]) -> Vec<u8> { |
| 1139 | let mut body = Vec::new(); |
no test coverage detected