Browse Source

- Make sure Remark is initialised

modified:
  storage/connect/ha_connect.cc
pull/3/head
Olivier Bertrand 13 years ago
parent
commit
923eddcfe1
  1. 2
      storage/connect/ha_connect.cc

2
storage/connect/ha_connect.cc

@ -982,6 +982,8 @@ void *ha_connect::GetColumnOption(void *field, PCOLINFO pcf)
pcf->Flags |= U_VIRTUAL;
pcf->Key= 0; // Not used when called from MySQL
// To make valgring happy
pcf->Remark= (fp->comment.str && fp->comment.length) ?
fp->comment.str : NULL;
return fldp;

Loading…
Cancel
Save