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
8bd205c8
Commit
8bd205c8
authored
Jul 29, 2004
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ha_ndbcluster.h, ha_ndbcluster.cc:
compile fix for gcc-2.95
parent
88f6267b
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 @
8bd205c8
...
...
@@ -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 @
8bd205c8
...
...
@@ -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