@@ -740,7 +740,7 @@ impl Runner {
740740 self . args . grpc . http2_keepalive_timeout ,
741741 ) ,
742742 max_message_size : self . args . grpc . max_message_size ,
743- sql_api_enabled : self . args . server . sql_api_enabled ,
743+ raw_sql : self . args . server . raw_sql ,
744744 } ,
745745 Some ( grpc_bind_addr) ,
746746 )
@@ -758,7 +758,7 @@ impl Runner {
758758 None ,
759759 absolute_path. clone ( ) ,
760760 Arc :: new ( readonly_pool. clone ( ) ) ,
761- self . args . server . sql_api_enabled ,
761+ self . args . server . raw_sql ,
762762 storage. clone ( ) ,
763763 provider. clone ( ) ,
764764 self . version_spec . clone ( ) ,
@@ -839,7 +839,7 @@ impl Runner {
839839 info ! ( target: LOG_TARGET , endpoint = %addr, protocol = %protocol, "Starting torii endpoint." ) ;
840840 info ! ( target: LOG_TARGET , endpoint = %grpc_addr, "Serving gRPC endpoint." ) ;
841841 info ! ( target: LOG_TARGET , endpoint = %gql_endpoint, "Serving Graphql playground." ) ;
842- if self . args . server . sql_api_enabled {
842+ if self . args . server . raw_sql {
843843 info ! ( target: LOG_TARGET , endpoint = %sql_endpoint, "Serving SQL playground." ) ;
844844 } else {
845845 info ! ( target: LOG_TARGET , "SQL endpoint is disabled." ) ;
0 commit comments