Fixed compiler warning. Now MariaDB 10.0 compiles without warnings for me.

(Except Instantiation notices from oqgraph that I don't know what to do with)
This commit is contained in:
Michael Widenius 2014-10-01 13:03:50 +03:00
commit 44428d397c

View file

@ -1071,7 +1071,7 @@ int ha_oqgraph::rnd_init(bool scan)
int ha_oqgraph::rnd_next(byte *buf)
{
int res;
open_query::row row = {};
open_query::row row = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
if (!(res= graph->fetch_row(row)))
res= fill_record(buf, row);