mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
[PATCH] Add tests for ndb variables (related to BUG#26675)
This is somewhat related to BUG#26675 (ndb_connectstring not reported in show global variables) Index: ndb-work/mysql-test/r/ndb_basic.result ===================================================================
This commit is contained in:
parent
35006868d1
commit
367076371e
2 changed files with 29 additions and 0 deletions
|
@ -1,5 +1,26 @@
|
||||||
DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6,t7;
|
DROP TABLE IF EXISTS t1,t2,t3,t4,t5,t6,t7;
|
||||||
drop database if exists mysqltest;
|
drop database if exists mysqltest;
|
||||||
|
SHOW GLOBAL STATUS LIKE 'ndb%';
|
||||||
|
Variable_name Value
|
||||||
|
Ndb_cluster_node_id #
|
||||||
|
Ndb_config_from_host #
|
||||||
|
Ndb_config_from_port #
|
||||||
|
Ndb_number_of_data_nodes #
|
||||||
|
SHOW GLOBAL VARIABLES LIKE 'ndb%';
|
||||||
|
Variable_name Value
|
||||||
|
ndb_autoincrement_prefetch_sz #
|
||||||
|
ndb_cache_check_time #
|
||||||
|
ndb_connectstring #
|
||||||
|
ndb_extra_logging #
|
||||||
|
ndb_force_send #
|
||||||
|
ndb_index_stat_cache_entries #
|
||||||
|
ndb_index_stat_enable #
|
||||||
|
ndb_index_stat_update_freq #
|
||||||
|
ndb_report_thresh_binlog_epoch_slip #
|
||||||
|
ndb_report_thresh_binlog_mem_usage #
|
||||||
|
ndb_use_copying_alter_table #
|
||||||
|
ndb_use_exact_count #
|
||||||
|
ndb_use_transactions #
|
||||||
CREATE TABLE t1 (
|
CREATE TABLE t1 (
|
||||||
pk1 INT NOT NULL PRIMARY KEY,
|
pk1 INT NOT NULL PRIMARY KEY,
|
||||||
attr1 INT NOT NULL,
|
attr1 INT NOT NULL,
|
||||||
|
|
|
@ -22,6 +22,14 @@ drop database if exists mysqltest;
|
||||||
# table handler is working
|
# table handler is working
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Show status and variables
|
||||||
|
#
|
||||||
|
--replace_column 2 #
|
||||||
|
SHOW GLOBAL STATUS LIKE 'ndb%';
|
||||||
|
--replace_column 2 #
|
||||||
|
SHOW GLOBAL VARIABLES LIKE 'ndb%';
|
||||||
|
|
||||||
#
|
#
|
||||||
# Create a normal table with primary key
|
# Create a normal table with primary key
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Reference in a new issue