The Thai government has agreed to Malaysia’s plan to build a security and flood wall along the Golok River at Rantau Panjang.