diff options
Diffstat (limited to 'storage/connect/value.cpp')
-rw-r--r-- | storage/connect/value.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/storage/connect/value.cpp b/storage/connect/value.cpp index 2fad67f453b..5951b26e81e 100644 --- a/storage/connect/value.cpp +++ b/storage/connect/value.cpp @@ -2251,6 +2251,15 @@ void BINVAL::SetBinValue(void *p) } // end of SetBinValue /***********************************************************************/ +/* BINVAL SetBinValue: fill string with len bytes. */ +/***********************************************************************/ +void BINVAL::SetBinValue(void* p, ulong len) +{ + memcpy(Binp, p, len); + Len = len; +} // end of SetBinValue + +/***********************************************************************/ /* GetBinValue: fill a buffer with the internal binary value. */ /* This function checks whether the buffer length is enough and */ /* returns true if not. Actual filling occurs only if go is true. */ |