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
b40246ef
Commit
b40246ef
authored
Jun 10, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge ndb api blobs, ready
parent
68ab6069
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
17 deletions
+18
-17
ndb/include/ndbapi/NdbBlob.hpp
ndb/include/ndbapi/NdbBlob.hpp
+0
-1
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
+0
-1
ndb/src/ndbapi/Makefile.am
ndb/src/ndbapi/Makefile.am
+2
-1
ndb/src/ndbapi/NdbBlob.cpp
ndb/src/ndbapi/NdbBlob.cpp
+13
-13
ndb/test/ndbapi/Makefile.am
ndb/test/ndbapi/Makefile.am
+3
-1
No files found.
ndb/include/ndbapi/NdbBlob.hpp
View file @
b40246ef
...
...
@@ -18,7 +18,6 @@
#define NdbBlob_H
#include <ndb_types.h>
#include <AttrType.hpp>
#include <NdbDictionary.hpp>
#include <NdbConnection.hpp>
#include <NdbError.hpp>
...
...
ndb/src/kernel/blocks/dbdict/Dbdict.cpp
View file @
b40246ef
...
...
@@ -4739,7 +4739,6 @@ void Dbdict::handleTabInfo(SimpleProperties::Reader & it,
/**
* Ignore incoming old-style type and recompute it.
*/
attrDesc
.
print
(
stdout
);
bool
translateOk
=
attrDesc
.
translateExtType
();
tabRequire
(
translateOk
,
CreateTableRef
::
Inconsistency
);
...
...
ndb/src/ndbapi/Makefile.am
View file @
b40246ef
...
...
@@ -35,7 +35,8 @@ libndbapi_la_SOURCES = \
NdbReceiver.cpp
\
NdbDictionary.cpp
\
NdbDictionaryImpl.cpp
\
DictCache.cpp
DictCache.cpp
\
NdbBlob.cpp
INCLUDES_LOC
=
-I
$(top_srcdir)
/ndb/src/mgmapi
...
...
ndb/src/ndbapi/NdbBlob.cpp
View file @
b40246ef
...
...
@@ -32,7 +32,7 @@
} while (0)
#define EXE() assert(theNdbCon->executeNoBlobs(NoCommit) == 0)
#else
#
undef
DBG(x)
#
define
DBG(x)
#endif
/*
...
...
@@ -209,48 +209,48 @@ inline bool
NdbBlob
::
isKeyOp
()
{
return
theNdbOp
->
theOperationType
==
InsertRequest
||
theNdbOp
->
theOperationType
==
UpdateRequest
||
theNdbOp
->
theOperationType
==
ReadRequest
||
theNdbOp
->
theOperationType
==
ReadExclusive
||
theNdbOp
->
theOperationType
==
DeleteRequest
;
theNdbOp
->
theOperationType
==
NdbOperation
::
InsertRequest
||
theNdbOp
->
theOperationType
==
NdbOperation
::
UpdateRequest
||
theNdbOp
->
theOperationType
==
NdbOperation
::
ReadRequest
||
theNdbOp
->
theOperationType
==
NdbOperation
::
ReadExclusive
||
theNdbOp
->
theOperationType
==
NdbOperation
::
DeleteRequest
;
}
inline
bool
NdbBlob
::
isReadOp
()
{
return
theNdbOp
->
theOperationType
==
ReadRequest
||
theNdbOp
->
theOperationType
==
ReadExclusive
;
theNdbOp
->
theOperationType
==
NdbOperation
::
ReadRequest
||
theNdbOp
->
theOperationType
==
NdbOperation
::
ReadExclusive
;
}
inline
bool
NdbBlob
::
isInsertOp
()
{
return
theNdbOp
->
theOperationType
==
InsertRequest
;
theNdbOp
->
theOperationType
==
NdbOperation
::
InsertRequest
;
}
inline
bool
NdbBlob
::
isUpdateOp
()
{
return
theNdbOp
->
theOperationType
==
UpdateRequest
;
theNdbOp
->
theOperationType
==
NdbOperation
::
UpdateRequest
;
}
inline
bool
NdbBlob
::
isDeleteOp
()
{
return
theNdbOp
->
theOperationType
==
DeleteRequest
;
theNdbOp
->
theOperationType
==
NdbOperation
::
DeleteRequest
;
}
inline
bool
NdbBlob
::
isScanOp
()
{
return
theNdbOp
->
theOperationType
==
OpenScanRequest
||
theNdbOp
->
theOperationType
==
OpenRangeScanRequest
;
theNdbOp
->
theOperationType
==
NdbOperation
::
OpenScanRequest
||
theNdbOp
->
theOperationType
==
NdbOperation
::
OpenRangeScanRequest
;
}
// computations (inline)
...
...
ndb/test/ndbapi/Makefile.am
View file @
b40246ef
...
...
@@ -14,6 +14,7 @@ flexTT \
testBackup
\
testBasic
\
testBasicAsynch
\
testBlobs
\
testDataBuffers
\
testDict
\
testIndex
\
...
...
@@ -47,7 +48,7 @@ flexTT_SOURCES = flexTT.cpp
testBackup_SOURCES
=
testBackup.cpp
testBasic_SOURCES
=
testBasic.cpp
testBasicAsynch_SOURCES
=
testBasicAsynch.cpp
#
testBlobs_SOURCES = testBlobs.cpp
testBlobs_SOURCES
=
testBlobs.cpp
testDataBuffers_SOURCES
=
testDataBuffers.cpp
testDict_SOURCES
=
testDict.cpp
testIndex_SOURCES
=
testIndex.cpp
...
...
@@ -77,3 +78,4 @@ testBackup_LDADD = $(LDADD) bank/libbank.a
# Don't update the files from bitkeeper
%
::
SCCS/s.%
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