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
8cd3d2d9
Commit
8cd3d2d9
authored
Feb 09, 2018
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes for ctags
parent
4fd48678
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
sql/field.h
sql/field.h
+8
-7
No files found.
sql/field.h
View file @
8cd3d2d9
...
...
@@ -46,6 +46,8 @@ class Item_func;
class
Item_bool_func
;
class
Item_equal
;
class
Virtual_tmp_table
;
class
Qualified_column_ident
;
class
Table_ident
;
enum
enum_check_fields
{
...
...
@@ -4377,7 +4379,6 @@ class Row_definition_list: public List<class Spvar_definition>
bool
resolve_type_refs
(
THD
*
);
};
/**
This class is used during a stored routine or a trigger execution,
at sp_rcontext::create() time.
...
...
@@ -4399,8 +4400,8 @@ class Row_definition_list: public List<class Spvar_definition>
*/
class
Spvar_definition
:
public
Column_definition
{
class
Qualified_column_ident
*
m_column_type_ref
;
// for %TYPE
class
Table_ident
*
m_table_rowtype_ref
;
// for table%ROWTYPE
Qualified_column_ident
*
m_column_type_ref
;
// for %TYPE
Table_ident
*
m_table_rowtype_ref
;
// for table%ROWTYPE
bool
m_cursor_rowtype_ref
;
// for cursor%ROWTYPE
uint
m_cursor_rowtype_offset
;
// for cursor%ROWTYPE
Row_definition_list
*
m_row_field_definitions
;
// for ROW
...
...
@@ -4427,20 +4428,20 @@ class Spvar_definition: public Column_definition
bool
is_column_type_ref
()
const
{
return
m_column_type_ref
!=
0
;
}
bool
is_table_rowtype_ref
()
const
{
return
m_table_rowtype_ref
!=
0
;
}
bool
is_cursor_rowtype_ref
()
const
{
return
m_cursor_rowtype_ref
;
}
class
Qualified_column_ident
*
column_type_ref
()
const
Qualified_column_ident
*
column_type_ref
()
const
{
return
m_column_type_ref
;
}
void
set_column_type_ref
(
class
Qualified_column_ident
*
ref
)
void
set_column_type_ref
(
Qualified_column_ident
*
ref
)
{
m_column_type_ref
=
ref
;
}
class
Table_ident
*
table_rowtype_ref
()
const
Table_ident
*
table_rowtype_ref
()
const
{
return
m_table_rowtype_ref
;
}
void
set_table_rowtype_ref
(
class
Table_ident
*
ref
)
void
set_table_rowtype_ref
(
Table_ident
*
ref
)
{
DBUG_ASSERT
(
ref
);
set_handler
(
&
type_handler_row
);
...
...
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