Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
fffe4e97
Commit
fffe4e97
authored
Aug 21, 2006
by
andrey@example.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor change - fixed function documentation and added
const for two parameters.
parent
089b284c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
sql/event_db_repository.cc
sql/event_db_repository.cc
+5
-2
sql/event_db_repository.h
sql/event_db_repository.h
+2
-2
No files found.
sql/event_db_repository.cc
View file @
fffe4e97
...
...
@@ -253,6 +253,7 @@ mysql_event_fill_row(THD *thd, TABLE *table, Event_parse_data *et,
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 @@ mysql_event_fill_row(THD *thd, TABLE *table, Event_parse_data *et,
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
;
...
...
sql/event_db_repository.h
View file @
fffe4e97
...
...
@@ -80,7 +80,7 @@ class Event_db_repository
open_event_table
(
THD
*
thd
,
enum
thr_lock_type
lock_type
,
TABLE
**
table
);
int
fill_schema_events
(
THD
*
thd
,
TABLE_LIST
*
tables
,
char
*
db
);
fill_schema_events
(
THD
*
thd
,
TABLE_LIST
*
tables
,
c
onst
c
har
*
db
);
private:
void
...
...
@@ -88,7 +88,7 @@ class Event_db_repository
LEX_STRING
field_value
);
bool
index_read_for_db_for_i_s
(
THD
*
thd
,
TABLE
*
schema_table
,
TABLE
*
event_table
,
char
*
db
);
c
onst
c
har
*
db
);
bool
table_scan_all_for_i_s
(
THD
*
thd
,
TABLE
*
schema_table
,
TABLE
*
event_table
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment