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
ddf9bdab
Commit
ddf9bdab
authored
Jan 13, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
parents
292ca095
6e35e34f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
+3
-6
ndb/src/kernel/vm/Configuration.cpp
ndb/src/kernel/vm/Configuration.cpp
+1
-1
No files found.
ndb/src/kernel/blocks/dbtup/DbtupGen.cpp
View file @
ddf9bdab
...
@@ -633,13 +633,10 @@ void Dbtup::execREAD_CONFIG_REQ(Signal* signal)
...
@@ -633,13 +633,10 @@ void Dbtup::execREAD_CONFIG_REQ(Signal* signal)
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_TUP_OP_RECS
,
&
cnoOfOprec
));
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_TUP_OP_RECS
,
&
cnoOfOprec
));
// MemorySpaceTuples is specified in 8k pages, divide by 4 for 32k pages
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_TUP_PAGE
,
&
cnoOfPage
));
Uint32
tmp
;
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_TUP_PAGE
,
&
tmp
));
Uint64
pages
=
(
tmp
*
2048
+
(
ZWORDS_ON_PAGE
-
1
))
/
(
Uint64
)
ZWORDS_ON_PAGE
;
cnoOfPage
=
(
Uint32
)
pages
;
Uint32
noOfTriggers
=
0
;
Uint32
noOfTriggers
=
0
;
Uint32
tmp
=
0
;
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_TUP_PAGE_RANGE
,
&
tmp
));
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_TUP_PAGE_RANGE
,
&
tmp
));
initPageRangeSize
(
tmp
);
initPageRangeSize
(
tmp
);
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_TUP_TABLE
,
&
cnoOfTablerec
));
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_TUP_TABLE
,
&
cnoOfTablerec
));
...
...
ndb/src/kernel/vm/Configuration.cpp
View file @
ddf9bdab
...
@@ -521,7 +521,7 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
...
@@ -521,7 +521,7 @@ Configuration::calcSizeAlt(ConfigValues * ownConfig){
ERROR_SET
(
fatal
,
ERR_INVALID_CONFIG
,
msg
,
buf
);
ERROR_SET
(
fatal
,
ERR_INVALID_CONFIG
,
msg
,
buf
);
}
}
noOfDataPages
=
(
dataMem
/
8192
);
noOfDataPages
=
(
dataMem
/
32768
);
noOfIndexPages
=
(
indexMem
/
8192
);
noOfIndexPages
=
(
indexMem
/
8192
);
for
(
unsigned
j
=
0
;
j
<
LogLevel
::
LOGLEVEL_CATEGORIES
;
j
++
){
for
(
unsigned
j
=
0
;
j
<
LogLevel
::
LOGLEVEL_CATEGORIES
;
j
++
){
...
...
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