rust/hedgewars-server/src/server/database.rs
changeset 15848 3d05bada4799
parent 15833 3511bacbd763
child 15937 e514ceb5e7d6
equal deleted inserted replaced
15847:2839b68a3732 15848:3d05bada4799
   104             })
   104             })
   105             .ignore(&mut connection)
   105             .ignore(&mut connection)
   106             .await
   106             .await
   107     }
   107     }
   108 
   108 
   109     pub async fn store_achievements(&mut self, achievements: &Achievements) -> mysql_async::Result<()> {
   109     pub async fn store_achievements(
       
   110         &mut self,
       
   111         achievements: &Achievements,
       
   112     ) -> mysql_async::Result<()> {
   110         Ok(())
   113         Ok(())
   111     }
   114     }
   112 
   115 
   113     pub async fn get_replay_name(&mut self, replay_id: u32) -> mysql_async::Result<Option<String>> {
   116     pub async fn get_replay_name(&mut self, replay_id: u32) -> mysql_async::Result<Option<String>> {
   114         let mut connection = self.pool.get_conn().await?;
   117         let mut connection = self.pool.get_conn().await?;