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
c86e03a2
Commit
c86e03a2
authored
Apr 02, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
parents
858c06ba
64c8b3a6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp
storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp
+7
-0
storage/ndb/src/mgmsrv/InitConfigFileParser.cpp
storage/ndb/src/mgmsrv/InitConfigFileParser.cpp
+1
-1
storage/ndb/test/run-test/files.cpp
storage/ndb/test/run-test/files.cpp
+5
-4
No files found.
storage/ndb/src/kernel/blocks/dbtup/DbtupPageMap.cpp
View file @
c86e03a2
...
@@ -484,6 +484,13 @@ Uint32 Dbtup::leafPageRangeFull(Fragrecord* const regFragPtr, PageRangePtr curr
...
@@ -484,6 +484,13 @@ Uint32 Dbtup::leafPageRangeFull(Fragrecord* const regFragPtr, PageRangePtr curr
ptrCheckGuard
(
parentPageRangePtr
,
cnoOfPageRangeRec
,
pageRange
);
ptrCheckGuard
(
parentPageRangePtr
,
cnoOfPageRangeRec
,
pageRange
);
if
(
parentPageRangePtr
.
p
->
currentIndexPos
<
3
)
{
if
(
parentPageRangePtr
.
p
->
currentIndexPos
<
3
)
{
jam
();
jam
();
if
(
c_noOfFreePageRanges
<
tiprNoLevels
)
{
jam
();
return
RNIL
;
}
//if
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* WE HAVE FOUND AN EMPTY ENTRY IN A PAGE RANGE RECORD. */
/* WE HAVE FOUND AN EMPTY ENTRY IN A PAGE RANGE RECORD. */
/* ALLOCATE A NEW PAGE RANGE RECORD, FILL IN THE START RANGE, */
/* ALLOCATE A NEW PAGE RANGE RECORD, FILL IN THE START RANGE, */
...
...
storage/ndb/src/mgmsrv/InitConfigFileParser.cpp
View file @
c86e03a2
...
@@ -669,7 +669,7 @@ InitConfigFileParser::store_in_properties(Vector<struct my_option>& options,
...
@@ -669,7 +669,7 @@ InitConfigFileParser::store_in_properties(Vector<struct my_option>& options,
if
(
options
[
i
].
var_type
==
GET_INT
)
if
(
options
[
i
].
var_type
==
GET_INT
)
ctx
.
m_currentSection
->
put
(
options
[
i
].
name
,
(
Uint32
)
value_int
);
ctx
.
m_currentSection
->
put
(
options
[
i
].
name
,
(
Uint32
)
value_int
);
else
else
ctx
.
m_currentSection
->
put
(
options
[
i
].
name
,
value_int
);
ctx
.
m_currentSection
->
put
64
(
options
[
i
].
name
,
value_int
);
}
}
}
}
return
true
;
return
true
;
...
...
storage/ndb/test/run-test/files.cpp
View file @
c86e03a2
...
@@ -155,12 +155,13 @@ setup_files(atrt_config& config, int setup, int sshx)
...
@@ -155,12 +155,13 @@ setup_files(atrt_config& config, int setup, int sshx)
const
char
*
val
;
const
char
*
val
;
require
(
proc
.
m_options
.
m_loaded
.
get
(
"--datadir="
,
&
val
));
require
(
proc
.
m_options
.
m_loaded
.
get
(
"--datadir="
,
&
val
));
BaseString
tmp
;
BaseString
tmp
;
tmp
.
assfmt
(
"%s/bin/mysql_install_db --datadir=%s > /dev/null 2>&1"
,
tmp
.
assfmt
(
"%s/bin/mysql_install_db --d
efaults-file=%s/my.cnf --d
atadir=%s > /dev/null 2>&1"
,
g_prefix
,
val
);
g_prefix
,
g_basedir
,
val
);
if
(
system
(
tmp
.
c_str
())
!=
0
)
if
(
system
(
tmp
.
c_str
())
!=
0
)
{
{
g_logger
.
error
(
"Failed to mysql_install_db for %s"
,
g_logger
.
error
(
"Failed to mysql_install_db for %s, cmd: >%s<"
,
proc
.
m_proc
.
m_cwd
.
c_str
());
proc
.
m_proc
.
m_cwd
.
c_str
(),
tmp
.
c_str
());
}
}
else
else
{
{
...
...
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