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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ddc46349
Commit
ddc46349
authored
May 27, 2006
by
vtkachenko@vadima.volia.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_class.cc, mysql_priv.h:
Added accessor to handler data.
parent
0bf4f531
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
sql/mysql_priv.h
sql/mysql_priv.h
+1
-0
sql/sql_class.cc
sql/sql_class.cc
+5
-0
No files found.
sql/mysql_priv.h
View file @
ddc46349
...
...
@@ -489,6 +489,7 @@ inline THD *_current_thd(void)
my_bool
thd_in_lock_tables
(
const
THD
*
thd
);
my_bool
thd_tablespace_op
(
const
THD
*
thd
);
const
char
*
thd_proc_info
(
THD
*
thd
,
const
char
*
info
);
void
**
thd_ha_data
(
const
THD
*
thd
,
const
struct
handlerton
*
hton
);
/*
External variables
...
...
sql/sql_class.cc
View file @
ddc46349
...
...
@@ -186,6 +186,11 @@ const char *thd_proc_info(THD *thd, const char *info)
return
old_info
;
}
void
**
thd_ha_data
(
const
THD
*
thd
,
const
struct
handlerton
*
hton
)
{
return
(
void
**
)
thd
->
ha_data
+
hton
->
slot
;
}
/*
Pass nominal parameters to Statement constructor only to ensure that
...
...
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