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
ec65f2b5
Commit
ec65f2b5
authored
Jul 29, 2004
by
ingo@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/mydev/mysql-4.1
into mysql.com:/home/mydev/mysql-4.1-4100
parents
fd1fad43
8bd205c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+4
-4
sql/ha_ndbcluster.h
sql/ha_ndbcluster.h
+1
-1
No files found.
sql/ha_ndbcluster.cc
View file @
ec65f2b5
...
...
@@ -333,11 +333,11 @@ int ha_ndbcluster::set_ndb_value(NdbOperation *ndb_op, Field *field,
- TODO allocate blob part aligned buffers
*/
NdbBlob
::
ActiveHook
get_ndb_blobs_value
;
NdbBlob
::
ActiveHook
g
_g
et_ndb_blobs_value
;
int
get_ndb_blobs_value
(
NdbBlob
*
ndb_blob
,
void
*
arg
)
int
g
_g
et_ndb_blobs_value
(
NdbBlob
*
ndb_blob
,
void
*
arg
)
{
DBUG_ENTER
(
"g
et_ndb_blobs_value [callback]
"
);
DBUG_ENTER
(
"g
_get_ndb_blobs_value
"
);
if
(
ndb_blob
->
blobsNextBlob
()
!=
NULL
)
DBUG_RETURN
(
0
);
ha_ndbcluster
*
ha
=
(
ha_ndbcluster
*
)
arg
;
...
...
@@ -428,7 +428,7 @@ int ha_ndbcluster::get_ndb_value(NdbOperation *ndb_op, Field *field,
{
// Set callback
void
*
arg
=
(
void
*
)
this
;
DBUG_RETURN
(
ndb_blob
->
setActiveHook
(
::
get_ndb_blobs_value
,
arg
)
!=
0
);
DBUG_RETURN
(
ndb_blob
->
setActiveHook
(
g_
get_ndb_blobs_value
,
arg
)
!=
0
);
}
DBUG_RETURN
(
1
);
}
...
...
sql/ha_ndbcluster.h
View file @
ec65f2b5
...
...
@@ -184,7 +184,7 @@ class ha_ndbcluster: public handler
uint
fieldnr
,
const
byte
*
field_ptr
);
int
set_ndb_value
(
NdbOperation
*
,
Field
*
field
,
uint
fieldnr
);
int
get_ndb_value
(
NdbOperation
*
,
Field
*
field
,
uint
fieldnr
);
friend
int
::
get_ndb_blobs_value
(
NdbBlob
*
ndb_blob
,
void
*
arg
);
friend
int
g_
get_ndb_blobs_value
(
NdbBlob
*
ndb_blob
,
void
*
arg
);
int
get_ndb_blobs_value
(
NdbBlob
*
last_ndb_blob
);
int
set_primary_key
(
NdbOperation
*
op
,
const
byte
*
key
);
int
set_primary_key
(
NdbOperation
*
op
);
...
...
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