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
08f2001e
Commit
08f2001e
authored
Feb 07, 2003
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Plain Diff
Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
parents
9aecb8d5
e787b028
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
client/mysql.cc
client/mysql.cc
+1
-1
libmysql/libmysql.c
libmysql/libmysql.c
+1
-1
No files found.
client/mysql.cc
View file @
08f2001e
...
@@ -1029,7 +1029,7 @@ static bool add_line(String &buffer,char *line,char *in_string,
...
@@ -1029,7 +1029,7 @@ static bool add_line(String &buffer,char *line,char *in_string,
inchar
==
'-'
&&
pos
[
1
]
==
'-'
&&
inchar
==
'-'
&&
pos
[
1
]
==
'-'
&&
my_isspace
(
system_charset_info
,
pos
[
2
]))))
my_isspace
(
system_charset_info
,
pos
[
2
]))))
break
;
// comment to end of line
break
;
// comment to end of line
else
if
(
!*
in_string
&&
inchar
==
'/'
&&
*
(
pos
+
1
)
==
'*'
)
else
if
(
!*
in_string
&&
inchar
==
'/'
&&
*
(
pos
+
1
)
==
'*'
&&
*
(
pos
+
2
)
!=
'!'
)
{
{
pos
++
;
pos
++
;
*
ml_comment
=
1
;
*
ml_comment
=
1
;
...
...
libmysql/libmysql.c
View file @
08f2001e
...
@@ -1173,7 +1173,7 @@ unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
...
@@ -1173,7 +1173,7 @@ unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
if
(
INTERNAL_NUM_FIELD
(
field
))
if
(
INTERNAL_NUM_FIELD
(
field
))
field
->
flags
|=
NUM_FLAG
;
field
->
flags
|=
NUM_FLAG
;
if
(
default_value
&&
row
->
data
[
6
])
if
(
default_value
&&
row
->
data
[
6
])
field
->
def
=
strdup_root
(
alloc
,(
char
*
)
row
->
data
[
8
]);
field
->
def
=
strdup_root
(
alloc
,(
char
*
)
row
->
data
[
6
]);
else
else
field
->
def
=
0
;
field
->
def
=
0
;
field
->
max_length
=
0
;
field
->
max_length
=
0
;
...
...
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