summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-02-15 12:29:08 +0100
committerSergei Golubchik <serg@mariadb.org>2020-03-10 19:24:22 +0100
commitdfe6e914e58472159f34a8a4c9288ff61eac479f (patch)
treec838143436debf2e19d5b702efdb3d20c08c168c /sql/sp.h
parentf3f31eaa8e8a07adc0d6769f77f1ccfb129529de (diff)
downloadmariadb-git-dfe6e914e58472159f34a8a4c9288ff61eac479f.tar.gz
cleanup: remove TYPE_ENUM_PROXY from enum stored_procedure_type
because it is not
Diffstat (limited to 'sql/sp.h')
-rw-r--r--sql/sp.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sql/sp.h b/sql/sp.h
index 69dde53b34c..3f47c3cad27 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -54,8 +54,7 @@ enum stored_procedure_type
TYPE_ENUM_PROCEDURE=2,
TYPE_ENUM_PACKAGE=3,
TYPE_ENUM_PACKAGE_BODY=4,
- TYPE_ENUM_TRIGGER=5,
- TYPE_ENUM_PROXY=6
+ TYPE_ENUM_TRIGGER=5
};
@@ -506,8 +505,6 @@ inline const Sp_handler *Sp_handler::handler(stored_procedure_type type)
return &sp_handler_package_body;
case TYPE_ENUM_TRIGGER:
return &sp_handler_trigger;
- case TYPE_ENUM_PROXY:
- break;
}
return NULL;
}