Debian Codegraph @

mysql-test/suite/ndb/r/ndbapi-examples.result

raw
1 Running ndb_ndbapi_simple
2 Running ndb_ndbapi_simple_index
3 Running ndb_ndbapi_scan
4 Running ndb_ndbapi_retries
5 Running ndb_ndbapi_async
6 Running ndb_ndbapi_async1
7 drop database ndb_examples;
8 create table t0(c0 int, c1 int, c2 char(4), c3 char(4), c4 text,
9 primary key(c0, c2)) engine ndb charset latin1;
10 insert into t0 values (1, 2, 'a', 'b', null);
11 insert into t0 values (3, 4, 'c', 'd', null);
12 update t0 set c3 = 'e' where c0 = 1 and c2 = 'a';
13 update t0 set c3 = 'f';
14 update t0 set c3 = 'F';
15 update t0 set c2 = 'g' where c0 = 1;
16 update t0 set c2 = 'G' where c0 = 1;
17 update t0 set c0 = 5, c2 = 'H' where c0 = 3;
18 delete from t0;
19 drop table t0;
20 Running mgmapi_logevent
21 Running ndb_ndbapi_array_simple
22 create table api_array_simple(
23 ATTR1 INT UNSIGNED NOT NULL PRIMARY KEY,
24 ATTR2 CHAR(20) NOT NULL,
25 ATTR3 VARCHAR(20) NOT NULL,
26 ATTR4 VARCHAR(500) NOT NULL,
27 ATTR5 BINARY(20),
28 ATTR6 VARBINARY(20),
29 ATTR7 VARBINARY(500)
30 ) engine ndb charset latin1;
31 Row ID : 17
32 Column id: 1, name: ATTR2, size: 20, type: Char, stored string length: 17, value: ''''-,,,,|''''-,,
33 Column id: 2, name: ATTR3, size: 18, type: Varchar, stored string length: 17, value: ''''-,,,,|''''-,,
34 Column id: 3, name: ATTR4, size: 342, type: Longvarchar, stored string length: 340, value: ''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|
35 Column id: 4, name: ATTR5, size: 20, type: Binary, stored bytes length: 20, sum of byte array: 136
36 Column id: 5, name: ATTR6, size: 18, type: Varbinary, stored bytes length: 17, sum of byte array: 136
37 Column id: 6, name: ATTR7, size: 342, type: Longvarbinary, stored bytes length: 340, sum of byte array: 3358
38 drop table api_array_simple;
39 Running ndb_ndbapi_array_using_adapter
40 CREATE TABLE api_array_using_adapter(
41 ATTR1 INT UNSIGNED NOT NULL PRIMARY KEY,
42 ATTR2 CHAR(20) NOT NULL,
43 ATTR3 VARCHAR(20) NOT NULL,
44 ATTR4 VARCHAR(500) NOT NULL,
45 ATTR5 BINARY(20) NOT NULL,
46 ATTR6 VARBINARY(20) NOT NULL,
47 ATTR7 VARBINARY(500)
48 ) engine ndb charset latin1;
49 Row ID : 17
50 Column id: 1, name: ATTR2, size: 20, type: Char, stored string length: 17, value: ''''-,,,,|''''-,,
51 Column id: 2, name: ATTR3, size: 18, type: Varchar, stored string length: 17, value: ''''-,,,,|''''-,,
52 Column id: 3, name: ATTR4, size: 342, type: Longvarchar, stored string length: 340, value: ''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|
53 Column id: 4, name: ATTR5, size: 20, type: Binary, stored bytes length: 20, sum of byte array: 136
54 Column id: 5, name: ATTR6, size: 18, type: Varbinary, stored bytes length: 17, sum of byte array: 136
55 Column id: 6, name: ATTR7, size: 342, type: Longvarbinary, stored bytes length: 340, sum of byte array: 3358
56 drop table api_array_using_adapter;