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
d2d52305
Commit
d2d52305
authored
7 years ago
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-12755 Replication tests fail in buildbot with ASAN
remove double-initialization of MYSQL structure
parent
cf9c2905
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
client/mysql.cc
client/mysql.cc
+5
-3
No files found.
client/mysql.cc
View file @
d2d52305
...
@@ -1145,8 +1145,6 @@ int main(int argc,char *argv[])
...
@@ -1145,8 +1145,6 @@ int main(int argc,char *argv[])
outfile
[
0
]
=
0
;
// no (default) outfile
outfile
[
0
]
=
0
;
// no (default) outfile
strmov
(
pager
,
"stdout"
);
// the default, if --pager wasn't given
strmov
(
pager
,
"stdout"
);
// the default, if --pager wasn't given
mysql_init
(
&
mysql
);
{
{
char
*
tmp
=
getenv
(
"PAGER"
);
char
*
tmp
=
getenv
(
"PAGER"
);
if
(
tmp
&&
strlen
(
tmp
))
if
(
tmp
&&
strlen
(
tmp
))
...
@@ -1185,7 +1183,11 @@ int main(int argc,char *argv[])
...
@@ -1185,7 +1183,11 @@ int main(int argc,char *argv[])
}
}
defaults_argv
=
argv
;
defaults_argv
=
argv
;
if
((
status
.
exit_status
=
get_options
(
argc
,
(
char
**
)
argv
)))
if
((
status
.
exit_status
=
get_options
(
argc
,
(
char
**
)
argv
)))
mysql_end
(
-
1
);
{
free_defaults
(
defaults_argv
);
my_end
(
0
);
exit
(
status
.
exit_status
);
}
if
(
status
.
batch
&&
!
status
.
line_buff
&&
if
(
status
.
batch
&&
!
status
.
line_buff
&&
!
(
status
.
line_buff
=
batch_readline_init
(
MAX_BATCH_BUFFER_SIZE
,
stdin
)))
!
(
status
.
line_buff
=
batch_readline_init
(
MAX_BATCH_BUFFER_SIZE
,
stdin
)))
...
...
This diff is collapsed.
Click to expand it.
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