Commit 8d69a0fe authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-472 mysql-test-run --valgrind main.ps_2myisam gives warning about not initialized memory

Item::get_date() should return 1 unless the value is a valid date.
parent f72a7659
......@@ -1218,7 +1218,7 @@ bool Item_singlerow_subselect::get_date(MYSQL_TIME *ltime,uint fuzzydate)
else
{
reset();
return 0;
return 1;
}
}
......
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