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
d6237b89
Commit
d6237b89
authored
Dec 19, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge siva.hindu.god:/usr/home/tim/m/bk/50-release
into siva.hindu.god:/usr/home/tim/m/bk/50-build
parents
cf31ba3c
29aae170
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
cmd-line-utils/readline/histfile.c
cmd-line-utils/readline/histfile.c
+2
-1
sql/udf_example.c
sql/udf_example.c
+1
-1
strings/decimal.c
strings/decimal.c
+1
-1
No files found.
cmd-line-utils/readline/histfile.c
View file @
d6237b89
...
...
@@ -334,7 +334,8 @@ history_truncate_file (fname, lines)
file_size
=
(
size_t
)
finfo
.
st_size
;
/* check for overflow on very large files */
if
(
file_size
!=
finfo
.
st_size
||
file_size
+
1
<
file_size
)
if
((
long
long
)
file_size
!=
(
long
long
)
finfo
.
st_size
||
file_size
+
1
<
file_size
)
{
close
(
file
);
#if defined (EFBIG)
...
...
sql/udf_example.c
View file @
d6237b89
...
...
@@ -1087,7 +1087,7 @@ my_bool is_const_init(UDF_INIT *initid, UDF_ARGS *args, char *message)
strmov
(
message
,
"IS_CONST accepts only one argument"
);
return
1
;
}
initid
->
ptr
=
(
char
*
)((
args
->
args
[
0
]
!=
NULL
)
?
1
:
0
);
initid
->
ptr
=
(
char
*
)((
args
->
args
[
0
]
!=
NULL
)
?
1
UL
:
0
);
return
0
;
}
...
...
strings/decimal.c
View file @
d6237b89
...
...
@@ -971,7 +971,7 @@ int decimal2double(decimal_t *from, double *to)
*
to
=
from
->
sign
?
-
result
:
result
;
DBUG_PRINT
(
"info"
,
(
"result: %f (%lx)"
,
*
to
,
*
to
));
DBUG_PRINT
(
"info"
,
(
"result: %f (%lx)"
,
*
to
,
*
(
ulong
*
)
to
));
return
E_DEC_OK
;
}
...
...
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