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
ee120139
Commit
ee120139
authored
Dec 29, 2006
by
cmiller@calliope.local.cmiller/calliope.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#23950: misplaced code in mysqld.cc, main()
Moved MY_INIT() to top of main(), where it should be.
parent
1176caa5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sql/mysqld.cc
sql/mysqld.cc
+3
-2
No files found.
sql/mysqld.cc
View file @
ee120139
...
@@ -3476,6 +3476,9 @@ int win_main(int argc, char **argv)
...
@@ -3476,6 +3476,9 @@ int win_main(int argc, char **argv)
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
argc
,
char
**
argv
)
#endif
#endif
{
{
MY_INIT
(
argv
[
0
]);
// init my_sys library & pthreads
/* nothing should come before this line ^^^ */
rpl_filter
=
new
Rpl_filter
;
rpl_filter
=
new
Rpl_filter
;
binlog_filter
=
new
Rpl_filter
;
binlog_filter
=
new
Rpl_filter
;
if
(
!
rpl_filter
||
!
binlog_filter
)
if
(
!
rpl_filter
||
!
binlog_filter
)
...
@@ -3484,8 +3487,6 @@ int main(int argc, char **argv)
...
@@ -3484,8 +3487,6 @@ int main(int argc, char **argv)
exit
(
1
);
exit
(
1
);
}
}
MY_INIT
(
argv
[
0
]);
// init my_sys library & pthreads
/*
/*
Perform basic logger initialization logger. Should be called after
Perform basic logger initialization logger. Should be called after
MY_INIT, as it initializes mutexes. Log tables are inited later.
MY_INIT, as it initializes mutexes. Log tables are inited later.
...
...
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