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
9982d797
Commit
9982d797
authored
Jul 10, 2004
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't use atoll
parent
bd3f7457
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
sql/parse_file.cc
sql/parse_file.cc
+5
-3
tests/client_test.c
tests/client_test.c
+2
-2
No files found.
sql/parse_file.cc
View file @
9982d797
...
...
@@ -692,9 +692,11 @@ File_parser::parse(gptr base, MEM_ROOT *mem_root,
parameter
->
name
.
str
,
line
);
DBUG_RETURN
(
TRUE
);
}
*
eol
=
'\0'
;
*
((
ulonglong
*
)(
base
+
parameter
->
offset
))
=
atoll
(
ptr
);
*
eol
=
'\n'
;
{
int
not_used
;
*
((
ulonglong
*
)(
base
+
parameter
->
offset
))
=
my_strtoll10
(
ptr
,
0
,
&
not_used
);
}
ptr
=
eol
+
1
;
break
;
case
FILE_OPTIONS_TIMESTAMP
:
...
...
tests/client_test.c
View file @
9982d797
...
...
@@ -9670,12 +9670,12 @@ static void test_union_param()
/* bind parameters */
bind
[
0
].
buffer_type
=
FIELD_TYPE_STRING
;
bind
[
0
].
buffer
=
&
my_val
;
bind
[
0
].
buffer
=
my_val
;
bind
[
0
].
buffer_length
=
4
;
bind
[
0
].
length
=
&
my_length
;
bind
[
0
].
is_null
=
(
char
*
)
&
my_null
;
bind
[
1
].
buffer_type
=
FIELD_TYPE_STRING
;
bind
[
1
].
buffer
=
&
my_val
;
bind
[
1
].
buffer
=
my_val
;
bind
[
1
].
buffer_length
=
4
;
bind
[
1
].
length
=
&
my_length
;
bind
[
1
].
is_null
=
(
char
*
)
&
my_null
;
...
...
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