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
ec44c881
Commit
ec44c881
authored
Jan 27, 2003
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql-4.1
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
parents
2aa304d3
b5f740ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
sql/field.cc
sql/field.cc
+8
-10
No files found.
sql/field.cc
View file @
ec44c881
...
@@ -1652,11 +1652,10 @@ int Field_long::store(const char *from,uint len,CHARSET_INFO *cs)
...
@@ -1652,11 +1652,10 @@ int Field_long::store(const char *from,uint len,CHARSET_INFO *cs)
long
tmp
;
long
tmp
;
int
error
=
0
;
int
error
=
0
;
char
*
end
;
char
*
end
;
/* TODO: Make multi-byte-character safe */
while
(
len
&&
my_isspace
(
cs
,
*
from
))
tmp
=
cs
->
scan
(
cs
,
from
,
from
+
len
,
MY_SEQ_SPACES
);
{
len
-=
tmp
;
len
--
;
from
++
;
from
+=
tmp
;
}
my_errno
=
0
;
my_errno
=
0
;
if
(
unsigned_flag
)
if
(
unsigned_flag
)
{
{
...
@@ -1910,11 +1909,10 @@ int Field_longlong::store(const char *from,uint len,CHARSET_INFO *cs)
...
@@ -1910,11 +1909,10 @@ int Field_longlong::store(const char *from,uint len,CHARSET_INFO *cs)
longlong
tmp
;
longlong
tmp
;
int
error
=
0
;
int
error
=
0
;
char
*
end
;
char
*
end
;
/* TODO: Make multi byte safe */
while
(
len
&&
my_isspace
(
cs
,
*
from
))
tmp
=
cs
->
scan
(
cs
,
from
,
from
+
len
,
MY_SEQ_SPACES
);
{
// For easy error check
len
-=
tmp
;
len
--
;
from
++
;
from
+=
tmp
;
}
my_errno
=
0
;
my_errno
=
0
;
if
(
unsigned_flag
)
if
(
unsigned_flag
)
{
{
...
...
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