Commit 923eddcf authored by Olivier Bertrand's avatar Olivier Bertrand

- Make sure Remark is initialised

modified:
  storage/connect/ha_connect.cc
parent 29ec49b0
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment