summaryrefslogtreecommitdiff
path: root/sql/event_db_repository.cc
diff options
context:
space:
mode:
authorunknown <andrey@example.com>2006-08-21 17:16:46 +0200
committerunknown <andrey@example.com>2006-08-21 17:16:46 +0200
commit3e4b79d9cafea4d1e86ddba6c8f5658f4c4ef23c (patch)
treee084f8220ad01d3f1e9fce545c534964aab984fe /sql/event_db_repository.cc
parente10aed52724e264e41c7382df88b8e9f89b841f1 (diff)
downloadmariadb-git-3e4b79d9cafea4d1e86ddba6c8f5658f4c4ef23c.tar.gz
Minor change - fixed function documentation and added
const for two parameters. sql/event_db_repository.cc: add a missing documentation of a parameter add const to two parameters sql/event_db_repository.h: Added const to two parameters
Diffstat (limited to 'sql/event_db_repository.cc')
-rw-r--r--sql/event_db_repository.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/event_db_repository.cc b/sql/event_db_repository.cc
index 8c31b65eced..c6b84a1c84b 100644
--- a/sql/event_db_repository.cc
+++ b/sql/event_db_repository.cc
@@ -253,6 +253,7 @@ err_truncate:
thd Thread
schema_table The I_S.EVENTS table
event_table The event table to use for loading (mysql.event)
+ db For which schema to do an index scan.
RETURN VALUE
0 OK
@@ -261,7 +262,8 @@ err_truncate:
bool
Event_db_repository::index_read_for_db_for_i_s(THD *thd, TABLE *schema_table,
- TABLE *event_table, char *db)
+ TABLE *event_table,
+ const char *db)
{
int ret=0;
CHARSET_INFO *scs= system_charset_info;
@@ -369,7 +371,8 @@ Event_db_repository::table_scan_all_for_i_s(THD *thd, TABLE *schema_table,
*/
int
-Event_db_repository::fill_schema_events(THD *thd, TABLE_LIST *tables, char *db)
+Event_db_repository::fill_schema_events(THD *thd, TABLE_LIST *tables,
+ const char *db)
{
TABLE *schema_table= tables->table;
TABLE *event_table= NULL;