Fix build errors
This commit is contained in:
parent
89f9960fe7
commit
6ba926d016
@ -432,8 +432,7 @@ impl InnerConnection {
|
||||
let hasher = Hasher::new(MD5);
|
||||
hasher.update(output.as_bytes());
|
||||
hasher.update(salt);
|
||||
let output = format!("md5{}",
|
||||
hasher.finalize()[].to_hex());
|
||||
let output = format!("md5{}", hasher.finalize()[].to_hex());
|
||||
try!(self.write_messages([PasswordMessage {
|
||||
password: output[]
|
||||
}]));
|
||||
|
@ -87,9 +87,9 @@ macro_rules! make_postgres_type(
|
||||
/// An unknown type
|
||||
Unknown {
|
||||
/// The name of the type
|
||||
pub name: String,
|
||||
name: String,
|
||||
/// The OID of the type
|
||||
pub oid: Oid
|
||||
oid: Oid
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
// except according to those terms.
|
||||
|
||||
use std::fmt;
|
||||
use std::from_str::FromStr;
|
||||
use std::str::FromStr;
|
||||
use std::hash;
|
||||
use std::path::BytesContainer;
|
||||
use std::num;
|
||||
|
Loading…
Reference in New Issue
Block a user