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
68eb5183
Commit
68eb5183
authored
May 24, 2007
by
tomas@whalegate.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysqldev@production.mysql.com:my/mysql-5.1-release
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1
parents
db9128f8
1b7e33d8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp
storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp
+3
-2
storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp
storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp
+2
-2
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
+5
-0
No files found.
storage/ndb/src/kernel/blocks/dblqh/Dblqh.hpp
View file @
68eb5183
...
...
@@ -2678,7 +2678,8 @@ private:
UintR
cfirstfreeLogFile
;
UintR
clogFileFileSize
;
#define ZLFO_FILE_SIZE 256
/* MAX 256 OUTSTANDING FILE OPERATIONS */
#define ZLFO_MIN_FILE_SIZE 256
// RedoBuffer/32K minimum ZLFO_MIN_FILE_SIZE
LogFileOperationRecord
*
logFileOperationRecord
;
LogFileOperationRecordPtr
lfoPtr
;
UintR
cfirstfreeLfo
;
...
...
@@ -2695,7 +2696,7 @@ private:
UintR
cfirstfreePageRef
;
UintR
cpageRefFileSize
;
#define ZSCANREC_FILE_SIZE 100
// Configurable
ArrayPool
<
ScanRecord
>
c_scanRecordPool
;
ScanRecordPtr
scanptr
;
UintR
cscanNoFreeRec
;
...
...
storage/ndb/src/kernel/blocks/dblqh/DblqhInit.cpp
View file @
68eb5183
...
...
@@ -30,11 +30,11 @@ void Dblqh::initData()
cgcprecFileSize
=
ZGCPREC_FILE_SIZE
;
chostFileSize
=
MAX_NDB_NODES
;
clcpFileSize
=
ZNO_CONCURRENT_LCP
;
clfoFileSize
=
ZLFO_FILE_SIZE
;
clfoFileSize
=
0
;
clogFileFileSize
=
0
;
clogPartFileSize
=
ZLOG_PART_FILE_SIZE
;
cpageRefFileSize
=
ZPAGE_REF_FILE_SIZE
;
cscanrecFileSize
=
ZSCANREC_FILE_SIZE
;
cscanrecFileSize
=
0
;
ctabrecFileSize
=
0
;
ctcConnectrecFileSize
=
0
;
ctcNodeFailrecFileSize
=
MAX_NDB_NODES
;
...
...
storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp
View file @
68eb5183
...
...
@@ -1023,6 +1023,11 @@ void Dblqh::execREAD_CONFIG_REQ(Signal* signal)
clogPageFileSize
+=
(
16
-
mega_byte_part
);
}
/* maximum number of log file operations */
clfoFileSize
=
clogPageFileSize
;
if
(
clfoFileSize
<
ZLFO_MIN_FILE_SIZE
)
clfoFileSize
=
ZLFO_MIN_FILE_SIZE
;
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_LQH_TABLE
,
&
ctabrecFileSize
));
ndbrequire
(
!
ndb_mgm_get_int_parameter
(
p
,
CFG_LQH_TC_CONNECT
,
&
ctcConnectrecFileSize
));
...
...
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