⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.124
Server IP:
50.28.103.30
Server:
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
server
/
mysql
/
mysql-test
/
suite
/
x
/
t
/
View File Name :
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;