Function meta_table_exists_internal

Source
async fn meta_table_exists_internal(pool: &Pool<MySql>) -> Result<bool>
Expand description

Internal function to check if the metadata table exists.

This function checks if the metadata table exists in the current database without acquiring the metadata mutex. It’s intended for internal use by functions that already hold the mutex.

§Arguments

  • pool - Database connection pool for executing the query

§Returns

  • Ok(bool) - True if the table exists, false otherwise
  • Err(anyhow::Error) - Failed to check if the table exists

§Note

This is an internal function not protected by the metadata mutex. It should only be called from functions that already hold the mutex or where concurrent access is not a concern.