mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 22:55:32 +02:00
Bug #44922 mysqltest's query_get_value function can't work with queries containing ','
check_command_args() always looks for the first , (or whatever) Extended check_command_args() to let arguments be quoted Added test in mysqltest.test
This commit is contained in:
parent
20e09b39fc
commit
b12bb225d1
4 changed files with 22 additions and 3 deletions
|
|
@ -2037,6 +2037,10 @@ let $value= query_get_value(SELECT 'A B' AS "MyColumn", MyColumn, 1);
|
|||
let $value= query_get_value(SELECT 1 AS "My Column", My Column, 1);
|
||||
--echo value= $value
|
||||
#
|
||||
# 4.1 Query containing , protected by quotes, quotes also on column
|
||||
let $value= query_get_value('SELECT 1 as a, 2 as b', "b", 1);
|
||||
--echo value= $value
|
||||
#
|
||||
#------------ Negative tests ------------
|
||||
# 5. Incomplete statement including missing parameters
|
||||
# 5.1 incomplete statement
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue