planner/core: fix a bug that check update privilege use wrong AsName
and DBName (#9003)#10157
Merged
zz-jason merged 3 commits intopingcap:release-2.1 from bb7133:bb7133/cherry-pick_9003Apr 17, 2019
+43-7
AsName
and DBName (#9003)#10157