--source include/have_falcon.inc

# Check the command line options pass through

#
# We exclude falcon_debug_mask as workaround for
# Bug#41368 --replace_regex does not work as expected.
#
--sorted_result
SELECT * FROM INFORMATION_SCHEMA.global_variables
  WHERE variable_name LiKE 'falcon_%'
    AND variable_name <> 'falcon_serial_log_dir'
    AND variable_name <> 'falcon_debug_mask';

--let $debug = `SELECT @@GLOBAL.falcon_debug_mask;`
--replace_result $debug 0
SELECT * FROM INFORMATION_SCHEMA.global_variables
  WHERE variable_name LiKE 'falcon_debug_mask';

SELECT @@falcon_checkpoint_schedule;
SELECT @@falcon_consistent_read;
--replace_result $debug 0
SELECT @@falcon_debug_mask;
SELECT @@falcon_debug_server;
SELECT @@falcon_debug_trace;
SELECT @@falcon_direct_io;
SELECT @@falcon_gopher_threads;
SELECT @@falcon_index_chill_threshold;
SELECT @@falcon_io_threads;
SELECT @@falcon_large_blob_threshold;
SELECT @@falcon_lock_wait_timeout;
SELECT @@falcon_page_cache_size;
SELECT @@falcon_page_size;
SELECT @@falcon_record_chill_threshold;
SELECT @@falcon_record_memory_max;
SELECT @@falcon_record_scavenge_floor;
SELECT @@falcon_record_scavenge_threshold;
SELECT @@falcon_scavenge_schedule;
SELECT @@falcon_serial_log_block_size;
SELECT @@falcon_serial_log_buffers;
SELECT @@falcon_serial_log_priority;
SELECT @@falcon_use_deferred_index_hash;
SELECT @@falcon_use_sectorcache;
SELECT @@falcon_use_supernodes;
