Remove deprecated method use
This commit is contained in:
parent
cdaab78181
commit
dc3b5d863b
@ -461,7 +461,7 @@ impl InnerPostgresConnection {
|
||||
NoticeResponse { fields } =>
|
||||
self.notice_handler.handle(PostgresDbError::new(fields)),
|
||||
NotificationResponse { pid, channel, payload } =>
|
||||
self.notifications.push_back(PostgresNotification {
|
||||
self.notifications.push(PostgresNotification {
|
||||
pid: pid,
|
||||
channel: channel,
|
||||
payload: payload
|
||||
@ -1315,7 +1315,7 @@ impl<'stmt> PostgresRows<'stmt> {
|
||||
self.more_rows = true;
|
||||
break;
|
||||
},
|
||||
DataRow { row } => self.data.push_back(row),
|
||||
DataRow { row } => self.data.push(row),
|
||||
ErrorResponse { fields } => {
|
||||
try!(self.stmt.conn.wait_for_ready());
|
||||
return Err(PgDbError(PostgresDbError::new(fields)));
|
||||
|
@ -113,7 +113,7 @@ impl<T> ArrayBase<T> {
|
||||
/// For example the one-dimensional array `[1,2]` would turn into
|
||||
/// the two-dimensional array `[[1,2]]`.
|
||||
pub fn wrap(&mut self, lower_bound: int) {
|
||||
self.info.unshift(DimensionInfo {
|
||||
self.info.insert(0, DimensionInfo {
|
||||
len: 1,
|
||||
lower_bound: lower_bound
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user