1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

cleanup: change Item::walk() to take void* not uchar*

and remove all related casts to uchar*
also remove a couple of unused methods
This commit is contained in:
Sergei Golubchik
2016-06-26 22:42:48 +02:00
parent e8bdb73ade
commit ed77ee1aab
30 changed files with 331 additions and 377 deletions

View File

@ -9765,9 +9765,8 @@ bool check_expression(Virtual_column_info *vcol, const char *type,
*/
res.errors= 0;
ret= vcol->expr_item->walk(&Item::check_vcol_func_processor, 0,
(uchar*) &res);
vcol->non_deterministic= MY_TEST(res.errors & VCOL_NON_DETERMINISTIC);
ret= vcol->expr_item->walk(&Item::check_vcol_func_processor, 0, &res);
vcol->non_deterministic= res.errors & VCOL_NON_DETERMINISTIC;
if (ret ||
(res.errors &