1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

fixed Solaris compilation failure

This commit is contained in:
holyfoot/hf@mysql.com/hfmain.(none)
2007-05-07 13:29:59 +05:00
parent 306371a850
commit d61da11eab
2 changed files with 12 additions and 9 deletions

View File

@ -1307,7 +1307,10 @@ public:
}
int reset(void) { bzero(ptr, packlength+sizeof(char*)); return 0; }
void reset_fields() { bzero((char*) &value,sizeof(value)); }
static void store_length(char *ptr, uint packlength, uint32 number);
#ifndef WORDS_BIGENDIAN
static
#endif
void store_length(char *i_ptr, uint i_packlength, uint32 i_number);
inline void store_length(uint32 number)
{
store_length(ptr, packlength, number);