diff options
author | unknown <marko@hundin.mysql.fi> | 2004-03-31 10:30:14 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-03-31 10:30:14 +0300 |
commit | 4050e916c99293b0e0c6ada33054d2cbbcb0efba (patch) | |
tree | 09b400115844ab4e220f1023f1f1fb05e9ef026d /innobase/include/dict0mem.h | |
parent | 7945ea24bf9a9f52dd83f788c4e942972b23765c (diff) | |
download | mariadb-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/dict0mem.h')
-rw-r--r-- | innobase/include/dict0mem.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/innobase/include/dict0mem.h b/innobase/include/dict0mem.h index 1930825f601..439adf6f52e 100644 --- a/innobase/include/dict0mem.h +++ b/innobase/include/dict0mem.h @@ -132,18 +132,6 @@ dict_foreign_t* dict_mem_foreign_create(void); /*=========================*/ /* out, own: foreign constraint struct */ -/************************************************************************** -Creates a procedure memory object. */ - -dict_proc_t* -dict_mem_procedure_create( -/*======================*/ - /* out, own: procedure object */ - char* name, /* in: procedure name */ - char* sql_string, /* in: procedure definition as an SQL - string */ - que_fork_t* graph); /* in: parsed procedure graph */ - /* Data structure for a column in a table */ struct dict_col_struct{ @@ -420,24 +408,6 @@ struct dict_table_struct{ #endif /* UNIV_DEBUG */ }; -/* Data structure for a stored procedure */ -struct dict_proc_struct{ - mem_heap_t* heap; /* memory heap */ - char* name; /* procedure name */ - char* sql_string; - /* procedure definition as an SQL string: - we can produce more parsed instances of the - procedure by parsing this string */ - hash_node_t name_hash; - /* hash chain node */ - UT_LIST_BASE_NODE_T(que_fork_t) graphs; - /* list of parsed instances of the procedure: - there may be many of them, and they are - recycled */ - ulint mem_fix;/* count of how many times this struct - has been fixed in memory */ -}; - #ifndef UNIV_NONINL #include "dict0mem.ic" #endif |