Commit 44428d39 authored by Michael Widenius's avatar Michael Widenius

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)
parent f80e4ed9
...@@ -1071,7 +1071,7 @@ int ha_oqgraph::rnd_init(bool scan) ...@@ -1071,7 +1071,7 @@ int ha_oqgraph::rnd_init(bool scan)
int ha_oqgraph::rnd_next(byte *buf) int ha_oqgraph::rnd_next(byte *buf)
{ {
int res; 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))) if (!(res= graph->fetch_row(row)))
res= fill_record(buf, row); res= fill_record(buf, row);
......
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