feat:add privilege for schemaless
This commit is contained in:
parent
fcba7e326c
commit
f6fef3e9d6
|
@ -1243,11 +1243,11 @@ int sml_td24070_Test() {
|
|||
ASSERT(taos_errno(pRes) == 0);
|
||||
taos_free_result(pRes);
|
||||
|
||||
pRes = taos_query(taos, "grant read on td24070_write.t_035c845c1a3df238c54d9b8f1a8844bd to test_tb_read");
|
||||
pRes = taos_query(taos, "grant read on td24070_write.stb2 with t1=1 to test_tb_read");
|
||||
ASSERT(taos_errno(pRes) == 0);
|
||||
taos_free_result(pRes);
|
||||
|
||||
pRes = taos_query(taos, "grant write on td24070_write.t_035c845c1a3df238c54d9b8f1a8844bd to test_tb_write");
|
||||
pRes = taos_query(taos, "grant write on td24070_write.stb2 with t1=1 to test_tb_write");
|
||||
ASSERT(taos_errno(pRes) == 0);
|
||||
taos_free_result(pRes);
|
||||
taos_close(taos);
|
||||
|
|
Loading…
Reference in New Issue