polardbxengine/mysql-test/suite/x/r/insert_table_string_quoting...

47 lines
745 B
Plaintext

create schema xtest default charset='utf8mb4';
RUN use xtest
0 rows affected
RUN create table mytable (i int NOT NULL, ui int unsigned, vc varchar(100), f float, d double, dt datetime, ts timestamp(5), j json)
0 rows affected
send 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: " .\'\"``\\\\"
}
}
}
}
}
1 rows affected
Mysqlx.Ok {
msg: "bye!"
}
ok
drop schema if exists xtest;