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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d357d70a
Commit
d357d70a
authored
May 19, 2004
by
tomas@mc05.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb tablehandler, ndb make and endien define, see each file
parent
8f5dcfba
Changes
4
Hide 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 @
d357d70a
...
...
@@ -2752,6 +2752,14 @@ EOF
if
test
X
"
$have_ndbcluster
"
=
Xyes
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"
echo
"CONFIGURING FOR NDB CLUSTER"
case
$with_debug
in
...
...
ndb/Makefile
View file @
d357d70a
...
...
@@ -7,11 +7,11 @@ replace-targets := all clean
NDB_RELEASE
:=
$(
shell
../scripts/mysql_config
--version
)
all
:
$(MAKE)
-C
src
$(MAKE)
-C
test
/src
$(MAKE)
-C
tools
$(MAKE)
-C
test
/ndbapi/flexBench
$(MAKE)
-C
test
/tools/waiter
$(MAKE)
-
j
1
-
C
src
$(MAKE)
-
j
1
-
C
test
/src
$(MAKE)
-
j
1
-
C
tools
$(MAKE)
-
j
1
-
C
test
/ndbapi/flexBench
$(MAKE)
-
j
1
-
C
test
/tools/waiter
include
$(NDB_TOP)/Epilogue.mk
...
...
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
d357d70a
...
...
@@ -14,6 +14,8 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <ndb_global.h>
#define DBDICT_C
#include "Dbdict.hpp"
...
...
@@ -5703,7 +5705,7 @@ void Dbdict::sendGET_TABINFOREF(Signal* signal,
}
//sendGET_TABINFOREF()
Uint32
convertEndian
(
Uint32
in
)
{
#ifdef
_BIG_
ENDIAN
#ifdef
WORDS_BIG
ENDIAN
Uint32
ut
=
0
;
ut
+=
((
in
>>
24
)
&
255
);
ut
+=
(((
in
>>
16
)
&
255
)
<<
8
);
...
...
ndb/src/ndbapi/Ndb.cpp
View file @
d357d70a
...
...
@@ -992,7 +992,7 @@ Ndb::StartTransactionNodeSelectionData::release(){
Uint32
convertEndian
(
Uint32
Data
)
{
#ifdef
_BIG_
ENDIAN
#ifdef
WORDS_BIG
ENDIAN
Uint32
t1
,
t2
,
t3
,
t4
;
t4
=
(
Data
>>
24
)
&
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