mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 05:35:31 +02:00
Fix for #1487
libmysqld/lib_sql.cc: arg_parameters now are stored in these THD members sql/sql_class.h: members to store query arguments sql/sql_prepare.cc: query arguments retrieval added for embedded case code not necessary in embedded server #ifdefed
This commit is contained in:
parent
1d5c187e2f
commit
f9ce2f4b58
3 changed files with 16 additions and 2 deletions
|
|
@ -75,7 +75,10 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
|
|||
client). So we have to call free_old_query here
|
||||
*/
|
||||
free_old_query(mysql);
|
||||
if (!arg)
|
||||
|
||||
thd->extra_length= arg_length;
|
||||
thd->extra_data= (char *)arg;
|
||||
if (header)
|
||||
{
|
||||
arg= header;
|
||||
arg_length= header_length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue