Commit 30ad214c authored by Michael Widenius's avatar Michael Widenius

Fixed compiler warnings but calling field->store(longlong, unsigned_flag) with proper arguments.

parent 533bee82
......@@ -748,19 +748,19 @@ int ha_oqgraph::fill_record(byte *record, const open_query::row &row)
if (row.latch_indicator)
{
field[0]->set_notnull();
field[0]->store((longlong) row.latch);
field[0]->store((longlong) row.latch, 0);
}
if (row.orig_indicator)
{
field[1]->set_notnull();
field[1]->store((longlong) row.orig);
field[1]->store((longlong) row.orig, 0);
}
if (row.dest_indicator)
{
field[2]->set_notnull();
field[2]->store((longlong) row.dest);
field[2]->store((longlong) row.dest, 0);
}
if (row.weight_indicator)
......@@ -772,13 +772,13 @@ int ha_oqgraph::fill_record(byte *record, const open_query::row &row)
if (row.seq_indicator)
{
field[4]->set_notnull();
field[4]->store((longlong) row.seq);
field[4]->store((longlong) row.seq, 0);
}
if (row.link_indicator)
{
field[5]->set_notnull();
field[5]->store((longlong) row.link);
field[5]->store((longlong) row.link, 0);
}
if (ptrdiff)
......
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