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

56 lines
1.7 KiB
Plaintext

create schema xtest default charset 'utf8mb4';
create database xtest_1 default charset 'utf8mb4';
command ok
Got expected error (code 0)
command ok
Got expected error (code 0)
Got expected error: Table 'books1' already exists (code 1050)
command ok
Got expected error (code 0)
Got expected error: Invalid number of arguments, expected value for 'name' (code 5015)
Got expected error: Invalid number of arguments, expected value for 'schema' (code 5015)
Got expected error: Invalid number of arguments, expected value for 'schema' (code 5015)
Got expected error: Invalid number of arguments, expected 2 but got 3 (code 5015)
Got expected error: Invalid collection name (code 5113)
Got expected error: Invalid schema (code 5112)
Got expected error: Incorrect table name ' ' (code 1103)
Got expected error: Incorrect database name ' ' (code 1102)
command ok
Got expected error (code 0)
command ok
Got expected error (code 0)
Got expected error: Invalid value for argument 'name' (code 5017)
Tables_in_xtest
a table name'with"bad`characters
books0
books1
col lection
0 rows affected
command ok
Got expected error (code 0)
command ok
Got expected error (code 0)
command ok
Got expected error (code 0)
Got expected error: Invalid number of arguments, expected value for 'name' (code 5015)
Got expected error: Invalid number of arguments, expected value for 'schema' (code 5015)
Got expected error: Invalid number of arguments, expected 2 but got 3 (code 5015)
Got expected error: Invalid number of arguments, expected value for 'schema' (code 5015)
Variable_name Value
Mysqlx_stmt_execute_mysqlx 22
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
ok
drop schema if exists xtest;
drop database if exists xtest_1;