@@ -308,17 +308,17 @@ where
308
308
let paused = pool. paused ( ) ;
309
309
310
310
res. put ( data_row ( & vec ! [
311
- address. name( ) , // name
312
- address. host. to_string( ) , // host
313
- address. port. to_string( ) , // port
314
- database_name. to_string( ) , // database
315
- pool_config. user. username. to_string( ) , // force_user
316
- pool_config. user. pool_size. to_string( ) , // pool_size
317
- "0" . to_string( ) , // min_pool_size
318
- "0" . to_string( ) , // reserve_pool
319
- pool_config. pool_mode. to_string( ) , // pool_mode
320
- pool_config. user. pool_size. to_string( ) , // max_connections
321
- pool_state. connections. to_string( ) , // current_connections
311
+ address. name( ) , // name
312
+ address. host. to_string( ) , // host
313
+ address. port. to_string( ) , // port
314
+ database_name. to_string( ) , // database
315
+ pool_config. user. username. to_string( ) , // force_user
316
+ pool_config. user. pool_size. to_string( ) , // pool_size
317
+ pool_config . user . min_pool_size . unwrap_or ( 0 ) . to_string( ) , // min_pool_size
318
+ "0" . to_string( ) , // reserve_pool
319
+ pool_config. pool_mode. to_string( ) , // pool_mode
320
+ pool_config. user. pool_size. to_string( ) , // max_connections
321
+ pool_state. connections. to_string( ) , // current_connections
322
322
match paused {
323
323
// paused
324
324
true => "1" . to_string( ) ,
0 commit comments