Current Path : /usr/opt/mysql57/mysql-test/suite/ndb/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/opt/mysql57/mysql-test/suite/ndb/r/ndbapi-examples.result |
Running ndb_ndbapi_simple Running ndb_ndbapi_simple_index Running ndb_ndbapi_scan Running ndb_ndbapi_retries Running ndb_ndbapi_async Running ndb_ndbapi_async1 drop database ndb_examples; create table t0(c0 int, c1 int, c2 char(4), c3 char(4), c4 text, primary key(c0, c2)) engine ndb charset latin1; insert into t0 values (1, 2, 'a', 'b', null); insert into t0 values (3, 4, 'c', 'd', null); update t0 set c3 = 'e' where c0 = 1 and c2 = 'a'; update t0 set c3 = 'f'; update t0 set c3 = 'F'; update t0 set c2 = 'g' where c0 = 1; update t0 set c2 = 'G' where c0 = 1; update t0 set c0 = 5, c2 = 'H' where c0 = 3; delete from t0; drop table t0; Running mgmapi_logevent Running ndb_ndbapi_array_simple create table api_array_simple( ATTR1 INT UNSIGNED NOT NULL PRIMARY KEY, ATTR2 CHAR(20) NOT NULL, ATTR3 VARCHAR(20) NOT NULL, ATTR4 VARCHAR(500) NOT NULL, ATTR5 BINARY(20), ATTR6 VARBINARY(20), ATTR7 VARBINARY(500) ) engine ndb charset latin1; Row ID : 17 Column id: 1, name: ATTR2, size: 20, type: Char, stored string length: 17, value: ''''-,,,,|''''-,, Column id: 2, name: ATTR3, size: 18, type: Varchar, stored string length: 17, value: ''''-,,,,|''''-,, Column id: 3, name: ATTR4, size: 342, type: Longvarchar, stored string length: 340, value: ''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,| Column id: 4, name: ATTR5, size: 20, type: Binary, stored bytes length: 20, sum of byte array: 136 Column id: 5, name: ATTR6, size: 18, type: Varbinary, stored bytes length: 17, sum of byte array: 136 Column id: 6, name: ATTR7, size: 342, type: Longvarbinary, stored bytes length: 340, sum of byte array: 3358 Verify values stored in the table select count(ATTR1) from api_array_simple; count(ATTR1) 21 drop table api_array_simple; Running ndb_ndbapi_array_using_adapter CREATE TABLE api_array_using_adapter( ATTR1 INT UNSIGNED NOT NULL PRIMARY KEY, ATTR2 CHAR(20) NOT NULL, ATTR3 VARCHAR(20) NOT NULL, ATTR4 VARCHAR(500) NOT NULL, ATTR5 BINARY(20) NOT NULL, ATTR6 VARBINARY(20) NOT NULL, ATTR7 VARBINARY(500) ) engine ndb charset latin1; Row ID : 17 Column id: 1, name: ATTR2, size: 20, type: Char, stored string length: 17, value: ''''-,,,,|''''-,, Column id: 2, name: ATTR3, size: 18, type: Varchar, stored string length: 17, value: ''''-,,,,|''''-,, Column id: 3, name: ATTR4, size: 342, type: Longvarchar, stored string length: 340, value: ''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,|''''-,,,,| Column id: 4, name: ATTR5, size: 20, type: Binary, stored bytes length: 20, sum of byte array: 136 Column id: 5, name: ATTR6, size: 18, type: Varbinary, stored bytes length: 17, sum of byte array: 136 Column id: 6, name: ATTR7, size: 342, type: Longvarbinary, stored bytes length: 340, sum of byte array: 3358 Verify values stored in the table select count(ATTR1) from api_array_using_adapter; count(ATTR1) 21 drop table api_array_using_adapter;