Debian Codegraph @

mysql-test/suite/x/r/udf_mysqlx_get_prepared_statement_id.result

raw
1 include/assert.inc [Validation of MYSQLX_GET_PREPARED_STATEMENT_ID(1)]
2 include/assert.inc [Validation of MYSQLX_GET_PREPARED_STATEMENT_ID(2)]
3 RUN recvok
4 RUN recvok
5 RUN recvok
6 RUN recvok
7 RUN recvok
8 RUN recvok
9 Verify ["SELECT MYSQLX_GET_PREPARED_STATEMENT_ID(3) as Value" returns in "Value" column, following value null]
10 Verify ["SELECT MYSQLX_GET_PREPARED_STATEMENT_ID(4) as Value" returns in "Value" column, following value 1]
11
12 0 rows affected
13 Got expected error: No database selected (code 1046)
14
15 0 rows affected
16 Got expected error: PROCEDURE test.MYSQLX_GET_PREPARED_STATEMENT_ID does not exist (code 1305)
17 Got expected error: Can't initialize function 'mysqlx_get_prepared_statement_id'; Function expect only one numeric argument (code 1123)
18 Got expected error: Can't initialize function 'mysqlx_get_prepared_statement_id'; Function expect only one numeric argument (code 1123)
19 Got expected error: Can't initialize function 'mysqlx_get_prepared_statement_id'; Function expect only one numeric argument (code 1123)
20 Got expected error: Can't initialize function 'mysqlx_get_prepared_statement_id'; Function expect only one numeric argument (code 1123)
21
22 0 rows affected
23 begin
24 begin
25 MYSQLX_GET_PREPARED_STATEMENT_ID(id)
26 6
27 end
28 end
29
30 0 rows affected
31
32 0 rows affected
33 Mysqlx.Ok {
34 msg: "bye!"
35 }
36 ok