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
0379682e
Commit
0379682e
authored
May 21, 2004
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addition to the fix for bug #3791 (libmysqld mysql segfaults if can's find
errormsg.sys) Cleanups added
parent
5bca8fd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
client/mysql.cc
client/mysql.cc
+3
-1
No files found.
client/mysql.cc
View file @
0379682e
...
...
@@ -371,14 +371,16 @@ int main(int argc,char *argv[])
!
(
status
.
line_buff
=
batch_readline_init
(
max_allowed_packet
+
512
,
stdin
)))
{
free_defaults
(
defaults_argv
);
my_end
(
0
);
exit
(
1
);
}
glob_buffer
.
realloc
(
512
);
if
(
mysql_server_init
(
0
,
NULL
,
(
char
**
)
server_default_groups
))
{
free_defaults
(
defaults_argv
);
my_end
(
0
);
exit
(
1
);
}
glob_buffer
.
realloc
(
512
);
completion_hash_init
(
&
ht
,
128
);
init_alloc_root
(
&
hash_mem_root
,
16384
,
0
);
bzero
((
char
*
)
&
mysql
,
sizeof
(
mysql
));
...
...
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