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
1ad35518
Commit
1ad35518
authored
May 22, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USER, DATABASE and VERSION functions returns now IMPLICIT coercibility
parent
bf71feca
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
sql/item_create.cc
sql/item_create.cc
+1
-1
sql/item_strfunc.h
sql/item_strfunc.h
+2
-2
No files found.
sql/item_create.cc
View file @
1ad35518
...
@@ -437,7 +437,7 @@ Item *create_func_version(void)
...
@@ -437,7 +437,7 @@ Item *create_func_version(void)
{
{
return
new
Item_string
(
NullS
,
server_version
,
return
new
Item_string
(
NullS
,
server_version
,
(
uint
)
strlen
(
server_version
),
(
uint
)
strlen
(
server_version
),
system_charset_info
);
system_charset_info
,
Item
::
COER_IMPLICIT
);
}
}
Item
*
create_func_weekday
(
Item
*
a
)
Item
*
create_func_weekday
(
Item
*
a
)
...
...
sql/item_strfunc.h
View file @
1ad35518
...
@@ -333,7 +333,7 @@ public:
...
@@ -333,7 +333,7 @@ public:
class
Item_func_database
:
public
Item_str_func
class
Item_func_database
:
public
Item_str_func
{
{
public:
public:
Item_func_database
()
{}
Item_func_database
()
{
coercibility
=
COER_IMPLICIT
;
}
String
*
val_str
(
String
*
);
String
*
val_str
(
String
*
);
void
fix_length_and_dec
()
void
fix_length_and_dec
()
{
{
...
@@ -346,7 +346,7 @@ public:
...
@@ -346,7 +346,7 @@ public:
class
Item_func_user
:
public
Item_str_func
class
Item_func_user
:
public
Item_str_func
{
{
public:
public:
Item_func_user
()
{}
Item_func_user
()
{
coercibility
=
COER_IMPLICIT
;
}
String
*
val_str
(
String
*
);
String
*
val_str
(
String
*
);
void
fix_length_and_dec
()
void
fix_length_and_dec
()
{
{
...
...
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