I am running this query on mysql server but I received warning. update mdl_context set depth=2, path= concat('/1/',id) where contextlevel=50 and exists (select "x" from mdl_course c where c.id= mdl_context.instanceid and c.category=0) and (mdl_context.path is null or mdl_context.depth =0);
errors=> 0 row(s) affected, 64 warning(s): 1292 Truncated incorrect DOUBLE value: ''