mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 22:37:45 +00:00
Skip input on liquidate
This commit is contained in:
parent
e69d112d5f
commit
1123c097bb
2 changed files with 3 additions and 3 deletions
|
@ -256,14 +256,14 @@ bool DbManager::modeLiquidate()
|
|||
return false;
|
||||
|
||||
char type = '\0';
|
||||
if( !m_force )
|
||||
/* if( !m_force )
|
||||
while( promptForChar( "This action will drop all tables in the database. Are you sure? [y/n]", type ) )
|
||||
{
|
||||
if( type == 'y' )
|
||||
break;
|
||||
if( type == 'n' )
|
||||
return true;
|
||||
}
|
||||
}*/
|
||||
|
||||
std::string query = "SELECT TABLE_NAME "
|
||||
"FROM information_schema.tables "
|
||||
|
|
|
@ -47,7 +47,7 @@ class DbManager
|
|||
void setSchemaFile( const std::string& schemaFile );
|
||||
void setInsertFile( const std::string& insertFile );
|
||||
|
||||
void setForceMode( bool );
|
||||
void setForceMode( bool mode );
|
||||
|
||||
private:
|
||||
std::string m_host;
|
||||
|
|
Loading…
Add table
Reference in a new issue