Fix memcache variable assign - regs BT#8340