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
ef7a0938
Commit
ef7a0938
authored
May 19, 2003
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1
into rurik.mysql.com:/home/igor/mysql-4.1
parents
caa20c70
7c189b0d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
sql/mysqld.cc
sql/mysqld.cc
+7
-10
sql/sql_list.h
sql/sql_list.h
+2
-1
No files found.
sql/mysqld.cc
View file @
ef7a0938
...
@@ -29,6 +29,9 @@
...
@@ -29,6 +29,9 @@
#include "ha_innodb.h"
#include "ha_innodb.h"
#endif
#endif
#include "ha_myisam.h"
#include "ha_myisam.h"
#ifdef HAVE_ISAM
#include "ha_isam.h"
#endif
#include <nisam.h>
#include <nisam.h>
#include <thr_alarm.h>
#include <thr_alarm.h>
#include <ft_global.h>
#include <ft_global.h>
...
@@ -318,14 +321,8 @@ my_bool opt_console= 0, opt_bdb, opt_innodb, opt_isam;
...
@@ -318,14 +321,8 @@ my_bool opt_console= 0, opt_bdb, opt_innodb, opt_isam;
volatile
bool
mqh_used
=
0
;
volatile
bool
mqh_used
=
0
;
FILE
*
bootstrap_file
=
0
;
FILE
*
bootstrap_file
=
0
;
int
segfaulted
=
0
;
// ensure we do not enter SIGSEGV handler twice
/*
If sql_bin_update is true, SQL_LOG_UPDATE and SQL_LOG_BIN are kept in sync,
and are treated as aliases for each other
*/
static
bool
kill_in_progress
=
FALSE
;
static
bool
kill_in_progress
=
0
,
segfaulted
=
0
;
struct
rand_struct
sql_rand
;
// used by sql_class.cc:THD::THD()
struct
rand_struct
sql_rand
;
// used by sql_class.cc:THD::THD()
static
int
cleanup_done
;
static
int
cleanup_done
;
static
char
**
defaults_argv
;
static
char
**
defaults_argv
;
...
@@ -379,7 +376,7 @@ arg_cmp_func Arg_comparator::comparator_matrix[4][2] =
...
@@ -379,7 +376,7 @@ arg_cmp_func Arg_comparator::comparator_matrix[4][2] =
{
&
Arg_comparator
::
compare_row
,
&
Arg_comparator
::
compare_e_row
}};
{
&
Arg_comparator
::
compare_row
,
&
Arg_comparator
::
compare_e_row
}};
#ifdef HAVE_SMEM
#ifdef HAVE_SMEM
char
*
shared_memory_base_name
=
default_shared_memory_base_name
;
char
*
shared_memory_base_name
=
default_shared_memory_base_name
;
bool
opt_enable_shared_memory
=
0
;
my_
bool
opt_enable_shared_memory
=
0
;
#endif
#endif
volatile
ulong
cached_thread_count
=
0
;
volatile
ulong
cached_thread_count
=
0
;
...
@@ -5054,12 +5051,12 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
...
@@ -5054,12 +5051,12 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
if
(
opt_isam
)
if
(
opt_isam
)
{
{
isam_skip
=
0
;
isam_skip
=
0
;
isam_innodb
=
SHOW_OPTION_YES
;
have_isam
=
SHOW_OPTION_YES
;
}
}
else
else
{
{
isam_skip
=
1
;
isam_skip
=
1
;
isam_innodb
=
SHOW_OPTION_DISABLED
;
have_isam
=
SHOW_OPTION_DISABLED
;
}
}
#endif
#endif
break
;
break
;
...
...
sql/sql_list.h
View file @
ef7a0938
...
@@ -319,7 +319,8 @@ template <class T> class I_List_iterator;
...
@@ -319,7 +319,8 @@ template <class T> class I_List_iterator;
class
base_ilist
{
class
base_ilist
{
public:
public:
struct
ilink
*
first
,
last
;
struct
ilink
*
first
,
last
;
base_ilist
()
{
first
=
&
last
;
last
.
prev
=
&
first
;
}
inline
void
empty
()
{
first
=
&
last
;
last
.
prev
=
&
first
;
}
base_ilist
()
{
empty
();
}
inline
bool
is_empty
()
{
return
first
==
&
last
;
}
inline
bool
is_empty
()
{
return
first
==
&
last
;
}
inline
void
append
(
ilink
*
a
)
inline
void
append
(
ilink
*
a
)
{
{
...
...
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