File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -486,7 +486,7 @@ impl InnerPostgresConnection {
486486 payload : payload
487487 } ) ,
488488 ParameterStatus { parameter, value } =>
489- debug ! ( "Parameter {} = {}" , parameter, value) ,
489+ info ! ( "Parameter {} = {}" , parameter, value) ,
490490 msg => return msg
491491 }
492492 }
@@ -722,7 +722,7 @@ impl PostgresConnection {
722722 /// Used with the `cancel_query` function. The object returned can be used
723723 /// to cancel any query executed by the connection it was created from.
724724 pub fn cancel_data ( & self ) -> PostgresCancelData {
725- do self . conn . with_mut_ref |conn| {
725+ do self . conn . with_ref |conn| {
726726 conn. cancel_data
727727 }
728728 }
@@ -1035,7 +1035,7 @@ impl<'self> PostgresStatement for NormalPostgresStatement<'self> {
10351035 let num;
10361036 loop {
10371037 match self . conn . read_message ( ) {
1038- DataRow { _ } => { }
1038+ DataRow { _ } => { }
10391039 ErrorResponse { fields } => {
10401040 self . conn . wait_for_ready ( ) ;
10411041 return Err ( PostgresDbError :: new ( fields) ) ;
@@ -1178,7 +1178,7 @@ impl<'self> PostgresResult<'self> {
11781178 loop {
11791179 match self . stmt . conn . read_message ( ) {
11801180 EmptyQueryResponse |
1181- CommandComplete { _ } => {
1181+ CommandComplete { _ } => {
11821182 self . more_rows = false ;
11831183 break ;
11841184 } ,
You can’t perform that action at this time.
0 commit comments