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
5b643e55
Commit
5b643e55
authored
May 22, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USER, DATABASE and VERSION functions returns now IMPLICIT coercibility
parent
f6a7dd74
Changes
2
Hide 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 @
5b643e55
...
@@ -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 @
5b643e55
...
@@ -333,7 +333,7 @@ class Item_func_decode :public Item_func_encode
...
@@ -333,7 +333,7 @@ class Item_func_decode :public Item_func_encode
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 @@ class Item_func_database :public Item_str_func
...
@@ -346,7 +346,7 @@ class Item_func_database :public Item_str_func
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