~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/mysql_priv.h

Removing deprecated functions from code and replacing them with C99 equivalents:
- replacing bcmp() calls with memcmp() calls
- replacing bfill() with memset()
- replacing bmove() and bcopy() with memcpy() or memmove()

The function memcpy_fixed() was apparantly introduced to fix a problem in gcc on
Alpha, but since it is not used consistently, it is likely not necessary any more.
It was replaced with memcpy().

Show diffs side-by-side

added added

removed removed

Lines of Context:
1934
1934
{
1935
1935
  table->null_row=1;
1936
1936
  table->status|=STATUS_NULL_ROW;
1937
 
  bfill(table->null_flags,table->s->null_bytes,255);
 
1937
  memset(table->null_flags, 255, table->s->null_bytes);
1938
1938
}
1939
1939
 
1940
1940
inline void table_case_convert(char * name, uint length)