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
cb401dde
Commit
cb401dde
authored
Jun 13, 2007
by
mikael@dator6.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manual merge
parent
920a8ed5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
sql/item.h
sql/item.h
+3
-3
sql/item_func.h
sql/item_func.h
+4
-4
sql/item_timefunc.h
sql/item_timefunc.h
+2
-2
No files found.
sql/item.h
View file @
cb401dde
...
...
@@ -1627,7 +1627,7 @@ class Item_int :public Item_num
uint
decimal_precision
()
const
{
return
(
uint
)(
max_length
-
test
(
value
<
0
));
}
bool
eq
(
const
Item
*
,
bool
binary_cmp
)
const
;
bool
check_partition_func_processor
(
byte
*
bool_arg
)
{
return
FALSE
;}
bool
check_partition_func_processor
(
uchar
*
bool_arg
)
{
return
FALSE
;}
};
...
...
@@ -1645,7 +1645,7 @@ class Item_uint :public Item_int
void
print
(
String
*
str
);
Item_num
*
neg
();
uint
decimal_precision
()
const
{
return
max_length
;
}
bool
check_partition_func_processor
(
byte
*
bool_arg
)
{
return
FALSE
;}
bool
check_partition_func_processor
(
uchar
*
bool_arg
)
{
return
FALSE
;}
};
...
...
@@ -1688,7 +1688,7 @@ class Item_decimal :public Item_num
uint
decimal_precision
()
const
{
return
decimal_value
.
precision
();
}
bool
eq
(
const
Item
*
,
bool
binary_cmp
)
const
;
void
set_decimal_value
(
my_decimal
*
value_par
);
bool
check_partition_func_processor
(
byte
*
bool_arg
)
{
return
FALSE
;}
bool
check_partition_func_processor
(
uchar
*
bool_arg
)
{
return
FALSE
;}
};
...
...
sql/item_func.h
View file @
cb401dde
...
...
@@ -439,7 +439,7 @@ class Item_func_neg :public Item_func_num1
void
fix_length_and_dec
();
void
fix_num_length_and_dec
();
uint
decimal_precision
()
const
{
return
args
[
0
]
->
decimal_precision
();
}
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
FALSE
;}
bool
check_partition_func_processor
(
uchar
*
int_arg
)
{
return
FALSE
;}
};
...
...
@@ -452,7 +452,7 @@ class Item_func_abs :public Item_func_num1
my_decimal
*
decimal_op
(
my_decimal
*
);
const
char
*
func_name
()
const
{
return
"abs"
;
}
void
fix_length_and_dec
();
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
FALSE
;}
bool
check_partition_func_processor
(
uchar
*
int_arg
)
{
return
FALSE
;}
};
// A class to handle logarithmic and trigonometric functions
...
...
@@ -619,7 +619,7 @@ class Item_func_ceiling :public Item_func_int_val
longlong
int_op
();
double
real_op
();
my_decimal
*
decimal_op
(
my_decimal
*
);
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
FALSE
;}
bool
check_partition_func_processor
(
uchar
*
int_arg
)
{
return
FALSE
;}
};
...
...
@@ -631,7 +631,7 @@ class Item_func_floor :public Item_func_int_val
longlong
int_op
();
double
real_op
();
my_decimal
*
decimal_op
(
my_decimal
*
);
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
FALSE
;}
bool
check_partition_func_processor
(
uchar
*
int_arg
)
{
return
FALSE
;}
};
/* This handles round and truncate */
...
...
sql/item_timefunc.h
View file @
cb401dde
...
...
@@ -127,7 +127,7 @@ class Item_func_monthname :public Item_func_month
max_length
=
10
*
my_charset_bin
.
mbmaxlen
;
maybe_null
=
1
;
}
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
TRUE
;}
bool
check_partition_func_processor
(
uchar
*
int_arg
)
{
return
TRUE
;}
};
...
...
@@ -301,7 +301,7 @@ class Item_func_dayname :public Item_func_weekday
max_length
=
9
*
MY_CHARSET_BIN_MB_MAXLEN
;
maybe_null
=
1
;
}
bool
check_partition_func_processor
(
byte
*
int_arg
)
{
return
TRUE
;}
bool
check_partition_func_processor
(
uchar
*
int_arg
)
{
return
TRUE
;}
};
...
...
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