如何删除共享流表?用table=NULL释放共享流表时报错Can't assign an object other than a table or a database to a shared variable.

如何释放共享流表?

请先 登录 后评论

1 个回答

Yating Xie

不能用=NULL来释放任何的共享变量。

如果是普通的共享流表建议用undef(`table, SHARED)或者dropStreamTable(table) 来删除;

如果是持久化共享流表,则只能用dropStreamTable来删除,并且会将磁盘上持久化的数据删除。

请先 登录 后评论