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
3cd1826e
Commit
3cd1826e
authored
Aug 15, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#20708
init ndb_cache_check_time and honor value in my.cnf
parent
c22a8afc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+2
-0
No files found.
sql/ha_ndbcluster.cc
View file @
3cd1826e
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
// options from from mysqld.cc
// options from from mysqld.cc
extern
my_bool
opt_ndb_optimized_node_selection
;
extern
my_bool
opt_ndb_optimized_node_selection
;
extern
const
char
*
opt_ndbcluster_connectstring
;
extern
const
char
*
opt_ndbcluster_connectstring
;
extern
ulong
opt_ndb_cache_check_time
;
// Default value for parallelism
// Default value for parallelism
static
const
int
parallelism
=
0
;
static
const
int
parallelism
=
0
;
...
@@ -5210,6 +5211,7 @@ bool ndbcluster_init()
...
@@ -5210,6 +5211,7 @@ bool ndbcluster_init()
pthread_cond_init
(
&
COND_ndb_util_thread
,
NULL
);
pthread_cond_init
(
&
COND_ndb_util_thread
,
NULL
);
ndb_cache_check_time
=
opt_ndb_cache_check_time
;
// Create utility thread
// Create utility thread
pthread_t
tmp
;
pthread_t
tmp
;
if
(
pthread_create
(
&
tmp
,
&
connection_attrib
,
ndb_util_thread_func
,
0
))
if
(
pthread_create
(
&
tmp
,
&
connection_attrib
,
ndb_util_thread_func
,
0
))
...
...
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