mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
WL#1363: Update the mysql.proc table and add new fields.
Also made the parsing and handling of SP characteristics more general and extendable, and added a few ch:istics.
This commit is contained in:
@@ -3558,12 +3558,10 @@ mysql_execute_command(THD *thd)
|
||||
}
|
||||
if (lex->sql_command == SQLCOM_ALTER_PROCEDURE)
|
||||
res= sp_update_procedure(thd, lex->udf.name.str, lex->udf.name.length,
|
||||
lex->name, newname_len, lex->comment->str,
|
||||
lex->comment->length, lex->suid);
|
||||
lex->name, newname_len, &lex->sp_chistics);
|
||||
else
|
||||
res= sp_update_function(thd, lex->udf.name.str, lex->udf.name.length,
|
||||
lex->name, newname_len, lex->comment->str,
|
||||
lex->comment->length, lex->suid);
|
||||
lex->name, newname_len, &lex->sp_chistics);
|
||||
switch (res)
|
||||
{
|
||||
case SP_OK:
|
||||
|
||||
Reference in New Issue
Block a user