File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -176,19 +176,27 @@ impl DbFsQueries {
176176 PgTimeTz :: type_info ( ) . into ( ) ,
177177 <str as Type < Postgres > >:: type_info ( ) . into ( ) ,
178178 ] ;
179+ log:: debug!(
180+ "Preparing the database filesystem was_modified_query: {}" ,
181+ was_modified_query
182+ ) ;
179183 db. prepare_with ( & was_modified_query, param_types) . await
180184 }
181185
182186 async fn make_read_file_query (
183187 db : & Database ,
184188 db_kind : AnyKind ,
185189 ) -> anyhow:: Result < AnyStatement < ' static > > {
186- let was_modified_query = format ! (
190+ let read_file_query = format ! (
187191 "SELECT contents from sqlpage_files WHERE path = {}" ,
188192 make_placeholder( db_kind, 1 ) ,
189193 ) ;
190194 let param_types: & [ AnyTypeInfo ; 1 ] = & [ <str as Type < Postgres > >:: type_info ( ) . into ( ) ] ;
191- db. prepare_with ( & was_modified_query, param_types) . await
195+ log:: debug!(
196+ "Preparing the database filesystem read_file_query: {}" ,
197+ read_file_query
198+ ) ;
199+ db. prepare_with ( & read_file_query, param_types) . await
192200 }
193201
194202 async fn file_modified_since_in_db (
You can’t perform that action at this time.
0 commit comments