Commit 29ec49b0 authored by Olivier Bertrand's avatar Olivier Bertrand

- Make sure Remark is initialised in ha_connect::GetColumnOption

modified:
  storage/connect/ha_connect.cc
parent ffedc6b8
......@@ -982,7 +982,8 @@ void *ha_connect::GetColumnOption(void *field, PCOLINFO pcf)
pcf->Flags |= U_VIRTUAL;
pcf->Key= 0; // Not used when called from MySQL
pcf->Remark= fp->comment.str;
pcf->Remark= (fp->comment.str && fp->comment.length) ?
fp->comment.str : NULL;
return fldp;
} // end of GetColumnOption
......
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