Commit 2cb41714 authored by joreland@mysql.com's avatar joreland@mysql.com

ndb - mysql-test-run - ndb_partition_key

  remove length of frm files as this is config dependant
parent 543f95ec
...@@ -54,7 +54,7 @@ Max load factor: 80 ...@@ -54,7 +54,7 @@ Max load factor: 80
Temporary table: no Temporary table: no
Number of attributes: 4 Number of attributes: 4
Number of primary keys: 3 Number of primary keys: 3
Length of frm data: 301 Length of frm data: #
TableStatus: Retrieved TableStatus: Retrieved
-- Attributes -- -- Attributes --
a Int PRIMARY KEY a Int PRIMARY KEY
......
...@@ -53,6 +53,6 @@ CREATE TABLE t1 (a INT, b CHAR(10) COLLATE latin1_bin, c INT, d INT, ...@@ -53,6 +53,6 @@ CREATE TABLE t1 (a INT, b CHAR(10) COLLATE latin1_bin, c INT, d INT,
insert into t1 values (1,"a",1,1),(2,"a",1,1),(3,"a",1,1); insert into t1 values (1,"a",1,1),(2,"a",1,1),(3,"a",1,1);
# should show only one attribute with DISTRIBUTION KEY # should show only one attribute with DISTRIBUTION KEY
--exec $NDB_TOOLS_DIR/ndb_desc --no-defaults -d test t1 | sed 's/Version: [0-9]*//' --exec $NDB_TOOLS_DIR/ndb_desc --no-defaults -d test t1 | sed 's/Version: [0-9]*//' | sed 's/\(Length of frm data: \)[0-9]*/\1#/'
DROP TABLE t1; DROP TABLE t1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment