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
ad49bb78
Commit
ad49bb78
authored
May 19, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb
into mc05.(none):/space2/tomas/mysql-4.1
parents
c77f7ab1
5fe274b0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
7 deletions
+17
-7
configure.in
configure.in
+8
-0
ndb/Makefile
ndb/Makefile
+5
-5
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+3
-1
ndb/src/ndbapi/Ndb.cpp
ndb/src/ndbapi/Ndb.cpp
+1
-1
No files found.
configure.in
View file @
ad49bb78
...
@@ -2752,6 +2752,14 @@ EOF
...
@@ -2752,6 +2752,14 @@ EOF
if
test
X
"
$have_ndbcluster
"
=
Xyes
if
test
X
"
$have_ndbcluster
"
=
Xyes
then
then
if
test
X
"
$mysql_cv_compress
"
!=
Xyes
then
echo
echo
"MySQL Cluster table handler ndbcluster requires compress/uncompress."
echo
"Commonly available in libzlib.a. Please install and rerun configure."
echo
exit
1
fi
sql_server_dirs
=
"
$sql_server_dirs
ndb"
sql_server_dirs
=
"
$sql_server_dirs
ndb"
echo
"CONFIGURING FOR NDB CLUSTER"
echo
"CONFIGURING FOR NDB CLUSTER"
case
$with_debug
in
case
$with_debug
in
...
...
ndb/Makefile
View file @
ad49bb78
...
@@ -7,11 +7,11 @@ replace-targets := all clean
...
@@ -7,11 +7,11 @@ replace-targets := all clean
NDB_RELEASE
:=
$(
shell
../scripts/mysql_config
--version
)
NDB_RELEASE
:=
$(
shell
../scripts/mysql_config
--version
)
all
:
all
:
$(MAKE)
-C
src
$(MAKE)
-
j
1
-
C
src
$(MAKE)
-C
test
/src
$(MAKE)
-
j
1
-
C
test
/src
$(MAKE)
-C
tools
$(MAKE)
-
j
1
-
C
tools
$(MAKE)
-C
test
/ndbapi/flexBench
$(MAKE)
-
j
1
-
C
test
/ndbapi/flexBench
$(MAKE)
-C
test
/tools/waiter
$(MAKE)
-
j
1
-
C
test
/tools/waiter
include
$(NDB_TOP)/Epilogue.mk
include
$(NDB_TOP)/Epilogue.mk
...
...
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
ad49bb78
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <ndb_global.h>
#define DBDICT_C
#define DBDICT_C
#include "Dbdict.hpp"
#include "Dbdict.hpp"
...
@@ -5703,7 +5705,7 @@ void Dbdict::sendGET_TABINFOREF(Signal* signal,
...
@@ -5703,7 +5705,7 @@ void Dbdict::sendGET_TABINFOREF(Signal* signal,
}
//sendGET_TABINFOREF()
}
//sendGET_TABINFOREF()
Uint32
convertEndian
(
Uint32
in
)
{
Uint32
convertEndian
(
Uint32
in
)
{
#ifdef
_BIG_
ENDIAN
#ifdef
WORDS_BIG
ENDIAN
Uint32
ut
=
0
;
Uint32
ut
=
0
;
ut
+=
((
in
>>
24
)
&
255
);
ut
+=
((
in
>>
24
)
&
255
);
ut
+=
(((
in
>>
16
)
&
255
)
<<
8
);
ut
+=
(((
in
>>
16
)
&
255
)
<<
8
);
...
...
ndb/src/ndbapi/Ndb.cpp
View file @
ad49bb78
...
@@ -992,7 +992,7 @@ Ndb::StartTransactionNodeSelectionData::release(){
...
@@ -992,7 +992,7 @@ Ndb::StartTransactionNodeSelectionData::release(){
Uint32
Uint32
convertEndian
(
Uint32
Data
)
convertEndian
(
Uint32
Data
)
{
{
#ifdef
_BIG_
ENDIAN
#ifdef
WORDS_BIG
ENDIAN
Uint32
t1
,
t2
,
t3
,
t4
;
Uint32
t1
,
t2
,
t3
,
t4
;
t4
=
(
Data
>>
24
)
&
255
;
t4
=
(
Data
>>
24
)
&
255
;
t3
=
(
Data
>>
16
)
&
255
;
t3
=
(
Data
>>
16
)
&
255
;
...
...
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