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
91213f51
Commit
91213f51
authored
Apr 18, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
parents
eeaf1fa6
4e84ab3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
client/mysql_upgrade.c
client/mysql_upgrade.c
+1
-1
No files found.
client/mysql_upgrade.c
View file @
91213f51
...
@@ -505,7 +505,7 @@ static int extract_variable_from_show(DYNAMIC_STRING* ds, char* value)
...
@@ -505,7 +505,7 @@ static int extract_variable_from_show(DYNAMIC_STRING* ds, char* value)
value_start
++
;
value_start
++
;
/* Don't copy the ending newline */
/* Don't copy the ending newline */
if
(
value_start
&&
(
value_end
=
strchr
(
value_start
,
'\n'
))
==
NULL
)
if
((
value_end
=
strchr
(
value_start
,
'\n'
))
==
NULL
)
return
1
;
/* Unexpected result */
return
1
;
/* Unexpected result */
strncpy
(
value
,
value_start
,
min
(
FN_REFLEN
,
value_end
-
value_start
));
strncpy
(
value
,
value_start
,
min
(
FN_REFLEN
,
value_end
-
value_start
));
...
...
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