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
528386fc
Commit
528386fc
authored
Jun 20, 2003
by
ram@mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added AsWKT() alias for AsText().
Renamed as_text().
parent
354af955
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
sql/item_create.cc
sql/item_create.cc
+1
-1
sql/item_create.h
sql/item_create.h
+1
-1
sql/lex.h
sql/lex.h
+2
-1
No files found.
sql/item_create.cc
View file @
528386fc
...
@@ -506,7 +506,7 @@ Item *create_func_quote(Item* a)
...
@@ -506,7 +506,7 @@ Item *create_func_quote(Item* a)
return
new
Item_func_quote
(
a
);
return
new
Item_func_quote
(
a
);
}
}
Item
*
create_func_as_
tex
t
(
Item
*
a
)
Item
*
create_func_as_
wk
t
(
Item
*
a
)
{
{
return
new
Item_func_as_text
(
a
);
return
new
Item_func_as_text
(
a
);
}
}
...
...
sql/item_create.h
View file @
528386fc
...
@@ -104,7 +104,7 @@ Item *create_func_is_used_lock(Item* a);
...
@@ -104,7 +104,7 @@ Item *create_func_is_used_lock(Item* a);
Item
*
create_func_quote
(
Item
*
a
);
Item
*
create_func_quote
(
Item
*
a
);
Item
*
create_func_geometry_from_text
(
Item
*
a
);
Item
*
create_func_geometry_from_text
(
Item
*
a
);
Item
*
create_func_as_
tex
t
(
Item
*
a
);
Item
*
create_func_as_
wk
t
(
Item
*
a
);
Item
*
create_func_as_wkb
(
Item
*
a
);
Item
*
create_func_as_wkb
(
Item
*
a
);
Item
*
create_func_srid
(
Item
*
a
);
Item
*
create_func_srid
(
Item
*
a
);
Item
*
create_func_startpoint
(
Item
*
a
);
Item
*
create_func_startpoint
(
Item
*
a
);
...
...
sql/lex.h
View file @
528386fc
...
@@ -433,8 +433,9 @@ static SYMBOL sql_functions[] = {
...
@@ -433,8 +433,9 @@ static SYMBOL sql_functions[] = {
{
"AREA"
,
SYM
(
FUNC_ARG1
),
0
,
CREATE_FUNC
(
create_func_area
)},
{
"AREA"
,
SYM
(
FUNC_ARG1
),
0
,
CREATE_FUNC
(
create_func_area
)},
{
"ASIN"
,
SYM
(
FUNC_ARG1
),
0
,
CREATE_FUNC
(
create_func_asin
)},
{
"ASIN"
,
SYM
(
FUNC_ARG1
),
0
,
CREATE_FUNC
(
create_func_asin
)},
{
"ASBINARY"
,
SYM
(
FUNC_ARG1
),
0
,
CREATE_FUNC
(
create_func_as_wkb
)},
{
"ASBINARY"
,
SYM
(
FUNC_ARG1
),
0
,
CREATE_FUNC
(
create_func_as_wkb
)},
{
"ASTEXT"
,
SYM
(
FUNC_ARG1
),
0
,
CREATE_FUNC
(
create_func_as_
tex
t
)},
{
"ASTEXT"
,
SYM
(
FUNC_ARG1
),
0
,
CREATE_FUNC
(
create_func_as_
wk
t
)},
{
"ASWKB"
,
SYM
(
FUNC_ARG1
),
0
,
CREATE_FUNC
(
create_func_as_wkb
)},
{
"ASWKB"
,
SYM
(
FUNC_ARG1
),
0
,
CREATE_FUNC
(
create_func_as_wkb
)},
{
"ASWKT"
,
SYM
(
FUNC_ARG1
),
0
,
CREATE_FUNC
(
create_func_as_wkt
)},
{
"ATAN"
,
SYM
(
ATAN
),
0
,
0
},
{
"ATAN"
,
SYM
(
ATAN
),
0
,
0
},
{
"ATAN2"
,
SYM
(
ATAN
),
0
,
0
},
{
"ATAN2"
,
SYM
(
ATAN
),
0
,
0
},
{
"BENCHMARK"
,
SYM
(
BENCHMARK_SYM
),
0
,
0
},
{
"BENCHMARK"
,
SYM
(
BENCHMARK_SYM
),
0
,
0
},
...
...
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