Current Path : /home/usr.opt/mysql57/mysql-test/suite/x/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 : /home/usr.opt/mysql57/mysql-test/suite/x/r/crud_find_doc_criteria.result |
install plugin mysqlx soname "mysqlx.so"; call mtr.add_suppression("Plugin mysqlx reported: .Failed at SSL configuration: .SSL context is not usable without certificate and private key.."); call mtr.add_suppression("Plugin mysqlx reported: .SSL_CTX_load_verify_locations failed."); DROP SCHEMA IF EXISTS xtest; Warnings: Note 1008 Can't drop database 'xtest'; database doesn't exist CREATE SCHEMA xtest DEFAULT CHARSET 'utf8mb4'; CREATE TABLE xtest.xcoll (doc JSON, _id VARBINARY(16) GENERATED ALWAYS AS (JSON_UNQUOTE(JSON_EXTRACT(doc, '$._id'))) STORED PRIMARY KEY); INSERT INTO xtest.xcoll (doc) VALUES ('{"_id": "1", "name": "Anabel"}'); CREATE TABLE xtest.ycoll (ydoc JSON, _id VARBINARY(16) GENERATED ALWAYS AS (JSON_UNQUOTE(JSON_EXTRACT(ydoc, '$._id'))) STORED PRIMARY KEY); INSERT INTO xtest.ycoll (ydoc) VALUES ('{"_id": "1", "name": "Anabel"}'); CREATE TABLE xtest.zcoll (doc JSON, _zid VARBINARY(16) GENERATED ALWAYS AS (JSON_UNQUOTE(JSON_EXTRACT(doc, '$._id'))) STORED PRIMARY KEY); INSERT INTO xtest.zcoll (doc) VALUES ('{"_id": "1", "name": "Anabel"}'); xcoll is corect collection *************************** doc {"_id": "1", "name": "Anabel"} command ok Got expected error (code 0) doc command ok Got expected error (code 0) doc command ok Got expected error (code 0) doc {"_id": "1", "name": "Anabel"} command ok Got expected error (code 0) doc command ok Got expected error (code 0) Got expected error: Unknown column 'name' in selection criteria (code 5117) ycoll is not corect collection; missing `doc` column ***************************************************** Got expected error: Unknown column 'doc' in collection (code 5117) Got expected error: Unknown column 'doc' in collection (code 5117) Got expected error: Unknown column 'doc' in collection (code 5117) Got expected error: Unknown column 'doc' in collection (code 5117) Got expected error: Unknown column 'doc' in collection (code 5117) Got expected error: Unknown column 'doc' in collection (code 5117) zcoll is not corect collection; missing `_id` column ***************************************************** Got expected error: Unknown column '_id' in selection criteria (code 5117) Got expected error: Unknown column '_id' in selection criteria (code 5117) doc command ok Got expected error (code 0) doc {"_id": "1", "name": "Anabel"} command ok Got expected error (code 0) doc command ok Got expected error (code 0) Got expected error: Unknown column 'name' in selection criteria (code 5117) Mysqlx.Ok { msg: "bye!" } ok DROP SCHEMA IF EXISTS xtest; UNINSTALL PLUGIN mysqlx;