summaryrefslogtreecommitdiff
path: root/innobase/include/dict0dict.h
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-03-31 10:30:14 +0300
committerunknown <marko@hundin.mysql.fi>2004-03-31 10:30:14 +0300
commit4050e916c99293b0e0c6ada33054d2cbbcb0efba (patch)
tree09b400115844ab4e220f1023f1f1fb05e9ef026d /innobase/include/dict0dict.h
parent7945ea24bf9a9f52dd83f788c4e942972b23765c (diff)
downloadmariadb-git-4050e916c99293b0e0c6ada33054d2cbbcb0efba.tar.gz
InnoDB: Remove unnecessary code, mostly related to stored procedures
innobase/data/data0data.c: Remove unused global variables innobase/dict/dict0dict.c: Remove unused code innobase/dict/dict0mem.c: Remove unnecessary function dict_mem_procedure_create() innobase/include/dict0dict.h: Remove unused code related to stored procedures innobase/include/dict0dict.ic: Remove unnecessary function dict_procedure_get() innobase/include/dict0mem.h: Remove unnecessary code related to stored procedures innobase/include/dict0types.h: Remove dict_proc_t, as procedures are not stored into database innobase/include/pars0pars.h: Remove call_node_struct and references to dict_proc_t, as procedures are not stored into database or called by name innobase/include/pars0sym.h: Remove procedure_def, as procedures are not stored into database innobase/include/pars0types.h: Remove call_node_t, as procedures are not called by name
Diffstat (limited to 'innobase/include/dict0dict.h')
-rw-r--r--innobase/include/dict0dict.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/innobase/include/dict0dict.h b/innobase/include/dict0dict.h
index be5d3b5b465..2e51fecdb8d 100644
--- a/innobase/include/dict0dict.h
+++ b/innobase/include/dict0dict.h
@@ -59,41 +59,6 @@ Inits the data dictionary module. */
void
dict_init(void);
/*===========*/
-/**************************************************************************
-Returns a stored procedure object and memoryfixes it. */
-UNIV_INLINE
-dict_proc_t*
-dict_procedure_get(
-/*===============*/
- /* out: procedure, NULL if does not exist */
- char* proc_name, /* in: table name */
- trx_t* trx); /* in: transaction handle or NULL */
-/**************************************************************************
-Adds a stored procedure object to the dictionary cache. */
-
-void
-dict_procedure_add_to_cache(
-/*========================*/
- dict_proc_t* proc); /* in: procedure */
-/**************************************************************************
-Reserves a parsed copy of a stored procedure to execute. If there are no
-free parsed copies left at the moment, parses a new copy. Takes the copy off
-the list of copies: the copy must be returned there with
-dict_procedure_release_parsed_copy. */
-
-que_t*
-dict_procedure_reserve_parsed_copy(
-/*===============================*/
- /* out: the query graph */
- dict_proc_t* proc); /* in: dictionary procedure node */
-/**************************************************************************
-Releases a parsed copy of an executed stored procedure. Puts the copy to the
-list of copies. */
-
-void
-dict_procedure_release_parsed_copy(
-/*===============================*/
- que_t* graph); /* in: query graph of a stored procedure */
/*************************************************************************
Gets the column data type. */
UNIV_INLINE
@@ -901,8 +866,6 @@ struct dict_sys_struct{
hash_table_t* table_id_hash; /* hash table of the tables, based
on id */
hash_table_t* col_hash; /* hash table of the columns */
- hash_table_t* procedure_hash; /* hash table of the stored
- procedures */
UT_LIST_BASE_NODE_T(dict_table_t)
table_LRU; /* LRU list of tables */
ulint size; /* varying space in bytes occupied