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
5c4da6aa
Commit
5c4da6aa
authored
May 09, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
ba4ac587
b01b904c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
BUILD/check-cpu
BUILD/check-cpu
+17
-0
ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp
ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp
+2
-0
No files found.
BUILD/check-cpu
View file @
5c4da6aa
...
@@ -33,6 +33,9 @@ else
...
@@ -33,6 +33,9 @@ else
esac
esac
fi
fi
cpu_flag
=
""
cpu_flag_old
=
""
case
"
$cpu_family
--
$model_name
"
in
case
"
$cpu_family
--
$model_name
"
in
Alpha
*
EV6
*
)
Alpha
*
EV6
*
)
cpu_flag
=
"ev6"
;
cpu_flag
=
"ev6"
;
...
@@ -40,11 +43,21 @@ case "$cpu_family--$model_name" in
...
@@ -40,11 +43,21 @@ case "$cpu_family--$model_name" in
*
Xeon
*
)
*
Xeon
*
)
cpu_flag
=
"nocona"
;
cpu_flag
=
"nocona"
;
;;
;;
*
Pentium
*
4
*
Mobile
*
CPU
*
)
cpu_flag
=
"pentium4m"
;
;;
*
Pentium
*
4
*
CPU
*
)
*
Pentium
*
4
*
CPU
*
)
cpu_flag
=
"pentium4"
;
cpu_flag
=
"pentium4"
;
;;
;;
*
Pentium
*
III
*
Mobile
*
CPU
*
)
cpu_flag
=
"pentium3m"
;
;;
*
Pentium
*
III
*
CPU
*
)
cpu_flag
=
"pentium3"
;
;;
*
Athlon
*
64
*
)
*
Athlon
*
64
*
)
cpu_flag
=
"athlon64"
;
cpu_flag
=
"athlon64"
;
cpu_flag_old
=
"athlon"
;
;;
;;
*
Athlon
*
)
*
Athlon
*
)
cpu_flag
=
"athlon"
;
cpu_flag
=
"athlon"
;
...
@@ -84,6 +97,10 @@ case "$cc_ver--$cc_verno" in
...
@@ -84,6 +97,10 @@ case "$cc_ver--$cc_verno" in
check_cpu_cflags
=
"-mtune=
$cpu_flag
-march=
$cpu_flag
"
check_cpu_cflags
=
"-mtune=
$cpu_flag
-march=
$cpu_flag
"
;;
;;
*
GCC
*
)
*
GCC
*
)
# Fix for older compiler versions
if
test
-n
"
$cpu_flag_old
"
;
then
cpu_flag
=
"
$cpu_flag_old
"
fi
check_cpu_cflags
=
"-mcpu=
$cpu_flag
-march=
$cpu_flag
"
check_cpu_cflags
=
"-mcpu=
$cpu_flag
-march=
$cpu_flag
"
;;
;;
*
)
*
)
...
...
ndb/src/kernel/blocks/dbtup/DbtupCommit.cpp
View file @
5c4da6aa
...
@@ -443,6 +443,7 @@ Dbtup::commitRecord(Signal* signal,
...
@@ -443,6 +443,7 @@ Dbtup::commitRecord(Signal* signal,
saveAttributeMask
.
bitOR
(
befOpPtr
.
p
->
changeMask
);
saveAttributeMask
.
bitOR
(
befOpPtr
.
p
->
changeMask
);
befOpPtr
.
p
->
changeMask
.
clear
();
befOpPtr
.
p
->
changeMask
.
clear
();
befOpPtr
.
p
->
changeMask
.
bitOR
(
attributeMask
);
befOpPtr
.
p
->
changeMask
.
bitOR
(
attributeMask
);
befOpPtr
.
p
->
gci
=
regOperPtr
->
gci
;
operPtr
.
p
=
befOpPtr
.
p
;
operPtr
.
p
=
befOpPtr
.
p
;
checkDetachedTriggers
(
signal
,
checkDetachedTriggers
(
signal
,
...
@@ -480,6 +481,7 @@ Dbtup::commitRecord(Signal* signal,
...
@@ -480,6 +481,7 @@ Dbtup::commitRecord(Signal* signal,
befOpPtr
.
p
->
pageOffset
=
befOpPtr
.
p
->
pageOffsetC
;
befOpPtr
.
p
->
pageOffset
=
befOpPtr
.
p
->
pageOffsetC
;
befOpPtr
.
p
->
fragPageId
=
befOpPtr
.
p
->
fragPageIdC
;
befOpPtr
.
p
->
fragPageId
=
befOpPtr
.
p
->
fragPageIdC
;
befOpPtr
.
p
->
pageIndex
=
befOpPtr
.
p
->
pageIndexC
;
befOpPtr
.
p
->
pageIndex
=
befOpPtr
.
p
->
pageIndexC
;
befOpPtr
.
p
->
gci
=
regOperPtr
->
gci
;
operPtr
.
p
=
befOpPtr
.
p
;
operPtr
.
p
=
befOpPtr
.
p
;
checkDetachedTriggers
(
signal
,
checkDetachedTriggers
(
signal
,
...
...
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