summaryrefslogtreecommitdiff
path: root/innobase/include/dict0load.h
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2004-05-17 14:40:31 +0300
committermarko@hundin.mysql.fi <>2004-05-17 14:40:31 +0300
commit03f19377a91b81b060288cd148407c95ccf542e8 (patch)
tree17e1fcb0d47194292389b6b6d5d0b78c2695e328 /innobase/include/dict0load.h
parenteb936575073ba2d75c744f133fcd4a6e95e97993 (diff)
downloadmariadb-git-03f19377a91b81b060288cd148407c95ccf542e8.tar.gz
InnoDB cleanup: Add const qualifiers to many char* arguments
Diffstat (limited to 'innobase/include/dict0load.h')
-rw-r--r--innobase/include/dict0load.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/innobase/include/dict0load.h b/innobase/include/dict0load.h
index f7168a0f45f..d4dccb33373 100644
--- a/innobase/include/dict0load.h
+++ b/innobase/include/dict0load.h
@@ -31,9 +31,10 @@ Finds the first table name in the given database. */
char*
dict_get_first_table_name_in_db(
/*============================*/
- /* out, own: table name, NULL if does not exist;
- the caller must free the memory in the string! */
- char* name); /* in: database name which ends to '/' */
+ /* out, own: table name, NULL if
+ does not exist; the caller must free
+ the memory in the string! */
+ const char* name); /* in: database name which ends to '/' */
/************************************************************************
Loads a table definition and also all its index definitions, and also
the cluster definition if the table is a member in a cluster. Also loads
@@ -43,11 +44,13 @@ a foreign key references columns in this table. */
dict_table_t*
dict_load_table(
/*============*/
- /* out: table, NULL if does not exist; if the table is
- stored in an .ibd file, but the file does not exist,
- then we set the ibd_file_missing flag TRUE in the table
- object we return */
- char* name); /* in: table name */
+ /* out: table, NULL if does not exist;
+ if the table is stored in an .ibd file,
+ but the file does not exist,
+ then we set the ibd_file_missing flag TRUE
+ in the table object we return */
+ const char* name); /* in: table name in the
+ databasename/tablename format */
/***************************************************************************
Loads a table object based on the table id. */
@@ -75,8 +78,8 @@ already in the dictionary cache. */
ulint
dict_load_foreigns(
/*===============*/
- /* out: DB_SUCCESS or error code */
- char* table_name); /* in: table name */
+ /* out: DB_SUCCESS or error code */
+ const char* table_name); /* in: table name */
/************************************************************************
Prints to the standard output information on all tables found in the data
dictionary system table. */