Debian Codegraph @

mysql-test/suite/ndb/t/ndb_desc_blob.test

raw
1 -- source include/have_ndb.inc
2
3 # Turn off ndb_read_backup to avoid result diffs from ndb_desc
4 --source suite/ndb/include/turn_off_ndb_read_backup.inc
5
6 #
7 # BUG 14695968
8 # - If a table has a tinyblob column and one uses 'ndb_desc -pb'
9 # to dump both extra information about partitions and blob
10 # tables, ndb_desc crashes.
11 #
12 --echo # bug#14695968
13 --echo "ndb_desc -pb with tinyblob column"
14
15 CREATE TABLE test.t1 (a int primary key, b tinyblob)engine=ndbcluster;
16
17 ## Check details of partitioning
18 --let $ndb_desc_opts= -pb -dtest t1
19 --source suite/ndb/include/ndb_desc_print.inc
20
21 --echo "ndb_desc -pb with all types of blob and text columns"
22
23 CREATE TABLE test.t2 (a int primary key, b tinyblob, c mediumblob,
24 d blob, e longblob,f tinytext, g text, h mediumtext, i longtext)
25 engine=ndbcluster;
26
27 ## Check details of partitioning
28 --let $ndb_desc_opts= -pb -dtest t2
29 --source suite/ndb/include/ndb_desc_print.inc
30
31 DROP TABLE test.t1;
32 DROP TABLE test.t2;
33
34 --source suite/ndb/include/restore_ndb_read_backup.inc