mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
ha_ndbcluster.h, ha_ndbcluster.cc:
compile fix for gcc-2.95 sql/ha_ndbcluster.cc: compile fix for gcc-2.95 sql/ha_ndbcluster.h: compile fix for gcc-2.95
This commit is contained in:
parent
805f5aa186
commit
9778a2c98d
2 changed files with 5 additions and 5 deletions
|
@ -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_get_ndb_blobs_value;
|
||||
|
||||
int get_ndb_blobs_value(NdbBlob *ndb_blob, void *arg)
|
||||
int g_get_ndb_blobs_value(NdbBlob *ndb_blob, void *arg)
|
||||
{
|
||||
DBUG_ENTER("get_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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue