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
d31c5609
Commit
d31c5609
authored
Sep 16, 2024
by
Dave Gosselin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GIS update get_copy overrides to do_get_copy const
parent
cf1a32d0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
sql/item_geofunc.h
sql/item_geofunc.h
+6
-6
sql/item_sum.h
sql/item_sum.h
+1
-1
No files found.
sql/item_geofunc.h
View file @
d31c5609
...
...
@@ -996,7 +996,7 @@ class Item_func_simplify: public Item_geometry_func_args_geometry
{
return
&
type_handler_geometry
;
}
Item
*
get_copy
(
THD
*
thd
)
override
Item
*
do_get_copy
(
THD
*
thd
)
const
override
{
return
get_item_copy
<
Item_func_simplify
>
(
thd
,
this
);
}
};
...
...
@@ -1042,7 +1042,7 @@ class Item_func_isvalid: public Item_long_func_args_geometry
static
LEX_CSTRING
name
=
{
STRING_WITH_LEN
(
"st_isvalid"
)
};
return
name
;
}
Item
*
get_copy
(
THD
*
thd
)
override
Item
*
do_get_copy
(
THD
*
thd
)
const
override
{
return
get_item_copy
<
Item_func_isvalid
>
(
thd
,
this
);
}
};
...
...
@@ -1062,7 +1062,7 @@ class Item_func_validate: public Item_geometry_func_args_geometry
{
return
&
type_handler_point
;
}
Item
*
get_copy
(
THD
*
thd
)
override
Item
*
do_get_copy
(
THD
*
thd
)
const
override
{
return
get_item_copy
<
Item_func_validate
>
(
thd
,
this
);
}
};
...
...
@@ -1347,7 +1347,7 @@ class Item_func_latfromgeohash: public Item_func_latlongfromgeohash
static
LEX_CSTRING
name
=
{
STRING_WITH_LEN
(
"st_latfromgeohash"
)
};
return
name
;
}
Item
*
get_copy
(
THD
*
thd
)
override
Item
*
do_get_copy
(
THD
*
thd
)
const
override
{
return
get_item_copy
<
Item_func_latfromgeohash
>
(
thd
,
this
);
}
};
...
...
@@ -1362,7 +1362,7 @@ class Item_func_longfromgeohash: public Item_func_latlongfromgeohash
static
LEX_CSTRING
name
=
{
STRING_WITH_LEN
(
"st_longfromgeohash"
)
};
return
name
;
}
Item
*
get_copy
(
THD
*
thd
)
override
Item
*
do_get_copy
(
THD
*
thd
)
const
override
{
return
get_item_copy
<
Item_func_longfromgeohash
>
(
thd
,
this
);
}
};
...
...
@@ -1382,7 +1382,7 @@ class Item_func_pointfromgeohash: public Item_geometry_func
return
name
;
}
String
*
val_str
(
String
*
)
override
;
Item
*
get_copy
(
THD
*
thd
)
override
Item
*
do_get_copy
(
THD
*
thd
)
const
override
{
return
get_item_copy
<
Item_func_pointfromgeohash
>
(
thd
,
this
);
}
};
...
...
sql/item_sum.h
View file @
d31c5609
...
...
@@ -2166,7 +2166,7 @@ class Item_func_collect :public Item_sum_int // XXX why *int* ???
return
{
STRING_WITH_LEN
(
"st_collect("
)
};
}
Item
*
copy_or_same
(
THD
*
thd
)
override
;
Item
*
get_copy
(
THD
*
thd
)
override
Item
*
do_get_copy
(
THD
*
thd
)
const
override
{
return
get_item_copy
<
Item_func_collect
>
(
thd
,
this
);
}
bool
supports_removal
()
const
override
...
...
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