File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -611,13 +611,6 @@ where
611
611
message_result = read_message( & mut self . read) => message_result?
612
612
} ;
613
613
614
- // Handle admin database queries.
615
- if self . admin {
616
- debug ! ( "Handling admin command" ) ;
617
- handle_admin ( & mut self . write , message, self . client_server_map . clone ( ) ) . await ?;
618
- continue ;
619
- }
620
-
621
614
match message[ 0 ] as char {
622
615
// Buffer extended protocol messages even if we do not have
623
616
// a server connection yet. Hopefully, when we get the S message
@@ -637,6 +630,13 @@ where
637
630
_ => ( ) ,
638
631
}
639
632
633
+ // Handle admin database queries.
634
+ if self . admin {
635
+ debug ! ( "Handling admin command" ) ;
636
+ handle_admin ( & mut self . write , message, self . client_server_map . clone ( ) ) . await ?;
637
+ continue ;
638
+ }
639
+
640
640
// Get a pool instance referenced by the most up-to-date
641
641
// pointer. This ensures we always read the latest config
642
642
// when starting a query.
You can’t perform that action at this time.
0 commit comments