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
7474deec
Commit
7474deec
authored
Oct 01, 2019
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-20708 Change make_table_field() to get TABLE_SHARE rather than TABLE
parent
02dea3ff
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
71 additions
and
71 deletions
+71
-71
sql/sql_type.cc
sql/sql_type.cc
+37
-37
sql/sql_type.h
sql/sql_type.h
+31
-31
sql/sql_type_geom.cc
sql/sql_type_geom.cc
+2
-2
sql/sql_type_geom.h
sql/sql_type_geom.h
+1
-1
No files found.
sql/sql_type.cc
View file @
7474deec
This diff is collapsed.
Click to expand it.
sql/sql_type.h
View file @
7474deec
This diff is collapsed.
Click to expand it.
sql/sql_type_geom.cc
View file @
7474deec
...
...
@@ -475,11 +475,11 @@ Field *Type_handler_geometry::make_table_field(MEM_ROOT *root,
const
LEX_CSTRING
*
name
,
const
Record_addr
&
addr
,
const
Type_all_attributes
&
attr
,
TABLE
*
tabl
e
)
const
TABLE
_SHARE
*
shar
e
)
const
{
return
new
(
root
)
Field_geom
(
addr
.
ptr
(),
addr
.
null_ptr
(),
addr
.
null_bit
(),
Field
::
NONE
,
name
,
table
->
s
,
4
,
this
,
0
);
Field
::
NONE
,
name
,
share
,
4
,
this
,
0
);
}
...
...
sql/sql_type_geom.h
View file @
7474deec
...
...
@@ -119,7 +119,7 @@ class Type_handler_geometry: public Type_handler_string_result
const
LEX_CSTRING
*
name
,
const
Record_addr
&
addr
,
const
Type_all_attributes
&
attr
,
TABLE
*
tabl
e
)
const
override
;
TABLE
_SHARE
*
shar
e
)
const
override
;
Field
*
make_table_field_from_def
(
TABLE_SHARE
*
share
,
MEM_ROOT
*
mem_root
,
...
...
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