## generated ## Rel: Attempt to break value quoting --source include/xplugin_preamble.inc --source include/xplugin_create_user.inc create schema xtest default charset='utf8mb4'; ## Test starts here --write_file $MYSQL_TMP_DIR/insert_table_string_quoting.tmp ## Test data -->sql use xtest; create table mytable (i int NOT NULL, ui int unsigned, vc varchar(100), f float, d double, dt datetime, ts timestamp(5), j json); -->endsql Mysqlx.Crud.Insert { collection { name: "mytable" schema: "xtest" } data_model: TABLE projection { name: "i" } projection { name: "vc" } row { field { type: LITERAL literal { type: V_SINT v_signed_int: 1 } } field { type: LITERAL literal { type: V_STRING v_string { value: " .\'\"``\\\\" } } } } } ## expect Mysqlx.Sql.StmtExecuteOk -->recvresult EOF --exec $MYSQLXTEST -ux_root --password='' --file=$MYSQL_TMP_DIR/insert_table_string_quoting.tmp 2>&1 ## Cleanup drop schema if exists xtest; --remove_file $MYSQL_TMP_DIR/insert_table_string_quoting.tmp --source include/xplugin_drop_user.inc