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
1379dd18
Commit
1379dd18
authored
Nov 10, 2005
by
guilhem@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/mysql_src/mysql-4.1-gca
into mysql.com:/home/mysql_src/mysql-5.0-release
parents
4015635b
2df7d972
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
sql/item_func.h
sql/item_func.h
+2
-2
sql/item_strfunc.h
sql/item_strfunc.h
+1
-1
sql/item_timefunc.h
sql/item_timefunc.h
+4
-4
No files found.
sql/item_func.h
View file @
1379dd18
...
@@ -1129,7 +1129,6 @@ class user_var_entry;
...
@@ -1129,7 +1129,6 @@ class user_var_entry;
class
Item_func_set_user_var
:
public
Item_func
class
Item_func_set_user_var
:
public
Item_func
{
{
enum
Item_result
cached_result_type
;
enum
Item_result
cached_result_type
;
LEX_STRING
name
;
user_var_entry
*
entry
;
user_var_entry
*
entry
;
char
buffer
[
MAX_FIELD_WIDTH
];
char
buffer
[
MAX_FIELD_WIDTH
];
String
value
;
String
value
;
...
@@ -1146,6 +1145,7 @@ class Item_func_set_user_var :public Item_func
...
@@ -1146,6 +1145,7 @@ class Item_func_set_user_var :public Item_func
public:
public:
LEX_STRING
name
;
// keep it public
Item_func_set_user_var
(
LEX_STRING
a
,
Item
*
b
)
Item_func_set_user_var
(
LEX_STRING
a
,
Item
*
b
)
:
Item_func
(
b
),
cached_result_type
(
INT_RESULT
),
name
(
a
)
:
Item_func
(
b
),
cached_result_type
(
INT_RESULT
),
name
(
a
)
{}
{}
...
@@ -1168,10 +1168,10 @@ class Item_func_set_user_var :public Item_func
...
@@ -1168,10 +1168,10 @@ class Item_func_set_user_var :public Item_func
class
Item_func_get_user_var
:
public
Item_func
class
Item_func_get_user_var
:
public
Item_func
{
{
LEX_STRING
name
;
user_var_entry
*
var_entry
;
user_var_entry
*
var_entry
;
public:
public:
LEX_STRING
name
;
// keep it public
Item_func_get_user_var
(
LEX_STRING
a
)
:
Item_func_get_user_var
(
LEX_STRING
a
)
:
Item_func
(),
name
(
a
)
{}
Item_func
(),
name
(
a
)
{}
enum
Functype
functype
()
const
{
return
GUSERVAR_FUNC
;
}
enum
Functype
functype
()
const
{
return
GUSERVAR_FUNC
;
}
...
...
sql/item_strfunc.h
View file @
1379dd18
...
@@ -651,8 +651,8 @@ class Item_func_quote :public Item_str_func
...
@@ -651,8 +651,8 @@ class Item_func_quote :public Item_str_func
class
Item_func_conv_charset
:
public
Item_str_func
class
Item_func_conv_charset
:
public
Item_str_func
{
{
CHARSET_INFO
*
conv_charset
;
public:
public:
CHARSET_INFO
*
conv_charset
;
// keep it public
Item_func_conv_charset
(
Item
*
a
,
CHARSET_INFO
*
cs
)
:
Item_str_func
(
a
)
Item_func_conv_charset
(
Item
*
a
,
CHARSET_INFO
*
cs
)
:
Item_str_func
(
a
)
{
conv_charset
=
cs
;
}
{
conv_charset
=
cs
;
}
String
*
val_str
(
String
*
);
String
*
val_str
(
String
*
);
...
...
sql/item_timefunc.h
View file @
1379dd18
...
@@ -641,12 +641,12 @@ enum interval_type
...
@@ -641,12 +641,12 @@ enum interval_type
class
Item_date_add_interval
:
public
Item_date_func
class
Item_date_add_interval
:
public
Item_date_func
{
{
const
interval_type
int_type
;
String
value
;
String
value
;
const
bool
date_sub_interval
;
enum_field_types
cached_field_type
;
enum_field_types
cached_field_type
;
public:
public:
const
interval_type
int_type
;
// keep it public
const
bool
date_sub_interval
;
// keep it public
Item_date_add_interval
(
Item
*
a
,
Item
*
b
,
interval_type
type_arg
,
bool
neg_arg
)
Item_date_add_interval
(
Item
*
a
,
Item
*
b
,
interval_type
type_arg
,
bool
neg_arg
)
:
Item_date_func
(
a
,
b
),
int_type
(
type_arg
),
date_sub_interval
(
neg_arg
)
{}
:
Item_date_func
(
a
,
b
),
int_type
(
type_arg
),
date_sub_interval
(
neg_arg
)
{}
String
*
val_str
(
String
*
);
String
*
val_str
(
String
*
);
...
@@ -662,10 +662,10 @@ class Item_date_add_interval :public Item_date_func
...
@@ -662,10 +662,10 @@ class Item_date_add_interval :public Item_date_func
class
Item_extract
:
public
Item_int_func
class
Item_extract
:
public
Item_int_func
{
{
const
interval_type
int_type
;
String
value
;
String
value
;
bool
date_value
;
bool
date_value
;
public:
public:
const
interval_type
int_type
;
// keep it public
Item_extract
(
interval_type
type_arg
,
Item
*
a
)
Item_extract
(
interval_type
type_arg
,
Item
*
a
)
:
Item_int_func
(
a
),
int_type
(
type_arg
)
{}
:
Item_int_func
(
a
),
int_type
(
type_arg
)
{}
longlong
val_int
();
longlong
val_int
();
...
@@ -910,8 +910,8 @@ enum date_time_format
...
@@ -910,8 +910,8 @@ enum date_time_format
class
Item_func_get_format
:
public
Item_str_func
class
Item_func_get_format
:
public
Item_str_func
{
{
const
timestamp_type
type
;
public:
public:
const
timestamp_type
type
;
// keep it public
Item_func_get_format
(
timestamp_type
type_arg
,
Item
*
a
)
Item_func_get_format
(
timestamp_type
type_arg
,
Item
*
a
)
:
Item_str_func
(
a
),
type
(
type_arg
)
:
Item_str_func
(
a
),
type
(
type_arg
)
{}
{}
...
...
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