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
c75fa953
Commit
c75fa953
authored
Feb 13, 2003
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
32da4054
33303f28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
client/mysql.cc
client/mysql.cc
+1
-1
libmysql/libmysql.c
libmysql/libmysql.c
+4
-1
No files found.
client/mysql.cc
View file @
c75fa953
...
@@ -1036,7 +1036,7 @@ static bool add_line(String &buffer,char *line,char *in_string,
...
@@ -1036,7 +1036,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 @
c75fa953
...
@@ -1200,9 +1200,12 @@ unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
...
@@ -1200,9 +1200,12 @@ unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
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
]);
field
->
def_length
=
lengths
[
6
];
field
->
def_length
=
lengths
[
6
];
}
}
else
field
->
def
=
0
;
field
->
max_length
=
0
;
}
}
}
}
#ifndef DELETE_SUPPORT_OF_4_0_PROTOCOL
#ifndef DELETE_SUPPORT_OF_4_0_PROTOCOL
...
...
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