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
5bca8fd4
Commit
5bca8fd4
authored
May 17, 2004
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proposed fix for #3791 (embedded: mysql segfaults if cannot find
errmsg.sys)
parent
c00bc7a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
client/mysql.cc
client/mysql.cc
+5
-1
No files found.
client/mysql.cc
View file @
5bca8fd4
...
@@ -374,7 +374,11 @@ int main(int argc,char *argv[])
...
@@ -374,7 +374,11 @@ int main(int argc,char *argv[])
exit
(
1
);
exit
(
1
);
}
}
glob_buffer
.
realloc
(
512
);
glob_buffer
.
realloc
(
512
);
mysql_server_init
(
0
,
NULL
,
(
char
**
)
server_default_groups
);
if
(
mysql_server_init
(
0
,
NULL
,
(
char
**
)
server_default_groups
))
{
free_defaults
(
defaults_argv
);
exit
(
1
);
}
completion_hash_init
(
&
ht
,
128
);
completion_hash_init
(
&
ht
,
128
);
init_alloc_root
(
&
hash_mem_root
,
16384
,
0
);
init_alloc_root
(
&
hash_mem_root
,
16384
,
0
);
bzero
((
char
*
)
&
mysql
,
sizeof
(
mysql
));
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