From 923eddcfe12d015c43ee6422f32e000aadc714b8 Mon Sep 17 00:00:00 2001 From: Olivier Bertrand Date: Thu, 4 Jul 2013 23:13:07 +0200 Subject: - Make sure Remark is initialised modified: storage/connect/ha_connect.cc --- storage/connect/ha_connect.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'storage/connect/ha_connect.cc') diff --git a/storage/connect/ha_connect.cc b/storage/connect/ha_connect.cc index 14b2118884f..f60a9d0d8f6 100644 --- a/storage/connect/ha_connect.cc +++ b/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; -- cgit v1.2.1