diff options
author | pekka@mysql.com <> | 2006-01-25 22:22:50 +0100 |
---|---|---|
committer | pekka@mysql.com <> | 2006-01-25 22:22:50 +0100 |
commit | 98e59a4447e1aa2e5e36e7c5ea37eacff671d9ff (patch) | |
tree | 0ef14e598480fb350ac12445849e4273462e64c1 /sql/ha_ndbcluster.h | |
parent | ecdc2c9193fe8e647e2e32e94e5f7b665f5eea60 (diff) | |
download | mariadb-git-98e59a4447e1aa2e5e36e7c5ea37eacff671d9ff.tar.gz |
ndb - wl#2972 rbr blobs: write blob data to binlog
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index 73b1b27ede2..a62356d41ab 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -25,6 +25,9 @@ #pragma interface /* gcc class implementation */ #endif +/* Blob tables and events are internal to NDB and must never be accessed */ +#define IS_NDB_BLOB_PREFIX(A) is_prefix(A, "NDB$BLOB") + #include <NdbApi.hpp> #include <ndbapi_limits.h> @@ -78,6 +81,10 @@ typedef struct ndb_index_data { typedef union { const NdbRecAttr *rec; NdbBlob *blob; void *ptr; } NdbValue; +int get_ndb_blobs_value(TABLE* table, NdbValue* value_array, + byte*& buffer, uint& buffer_size, + my_ptrdiff_t ptrdiff); + typedef enum { NSS_INITIAL= 0, NSS_DROPPED, @@ -114,6 +121,7 @@ typedef struct st_ndbcluster_share { #ifdef HAVE_NDB_BINLOG /* NDB_SHARE.flags */ #define NSF_HIDDEN_PK 1 /* table has hidden primary key */ +#define NSF_BLOB_FLAG 2 /* table has blob attributes */ #define NSF_NO_BINLOG 4 /* table should not be binlogged */ #endif |