src/main/java/me/firewolf8385/flameperms/MySQL.java
/**
     * Check if a table exists
     * @param table table
     * @return exists
     */
Check if a table exists
@param table table
@return exists
Check if a table exists @param table table @return exists
private static boolean tableExists(String table)
    {
        try
        {
            DatabaseMetaData dbm = connection.getMetaData();
            ResultSet tables = dbm.getTables(null, null, table, null);
            if (tables.next())
            {
                return true;
            }
        }
        catch(SQLException e)
        {
            e.printStackTrace();
        }
        return false;
    }
private static boolean tableExists ( String table ) { try { DatabaseMetaData dbm = connection . getMetaData ( ) ; ResultSet tables = dbm . getTables ( null , null , table , null ) ; if ( tables . next ( ) ) { return true ; } } catch ( SQLException e ) { e . printStackTrace ( ) ; } return false ; }
Check if a table exists
 @param table table
 @return exists
Check if a table exists @param table table @return exists