Commit 604b3982 authored by unknown's avatar unknown

Followup for bug#30252.

Ensure that all SQLCOM_ constants have corresponding Com_ variables.


mysql-test/r/status.result:
  Tests updated.
sql/mysqld.cc:
  Followup for bug#30252.
  Rename few variables to match SQL syntax.
  Ensure that all SQLCOM_ constants have corresponding Com_ variables.
parent 881b405d
...@@ -166,8 +166,9 @@ show global status like 'Com%function%'; ...@@ -166,8 +166,9 @@ show global status like 'Com%function%';
Variable_name Value Variable_name Value
Com_alter_function 0 Com_alter_function 0
Com_create_function 0 Com_create_function 0
Com_create_spfunction 0
Com_drop_function 0 Com_drop_function 0
Com_show_function_code 0
Com_show_function_status 0
create function f1 (x INTEGER) returns integer create function f1 (x INTEGER) returns integer
begin begin
declare ret integer; declare ret integer;
...@@ -178,6 +179,7 @@ drop function f1; ...@@ -178,6 +179,7 @@ drop function f1;
show global status like 'Com%function%'; show global status like 'Com%function%';
Variable_name Value Variable_name Value
Com_alter_function 0 Com_alter_function 0
Com_create_function 0 Com_create_function 1
Com_create_spfunction 1
Com_drop_function 1 Com_drop_function 1
Com_show_function_code 0
Com_show_function_status 0
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment