Current Path : /usr/opt/mysql57/mysql-test/suite/x/t/ |
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/x/t/crud_insert_nodoc.test |
## Inserting doc into non-doc table ## Preamble --source ../include/xplugin_preamble.inc ## Test data DROP SCHEMA IF EXISTS xtest; CREATE SCHEMA xtest; USE xtest; CREATE TABLE xtable (nodoc JSON); ## Test starts here --write_file $MYSQL_TMP_DIR/crud_insert_nodoc.tmp -->quiet Mysqlx.Crud.Insert { collection { name: "xtable" schema: "xtest" } data_model: DOCUMENT row { field { type: LITERAL literal { type: V_STRING v_string { value: '{"a":10, "b":20}' } } } } } -->noquiet -->expecterror 5117 -->recvresult EOF --exec $MYSQLXTEST -uroot --password='' --file=$MYSQL_TMP_DIR/crud_insert_nodoc.tmp 2>&1 --remove_file $MYSQL_TMP_DIR/crud_insert_nodoc.tmp ## Postamble DROP SCHEMA IF EXISTS xtest; UNINSTALL PLUGIN mysqlx;