firmware/demo/drop.c

19 lines
399 B
C
Raw Normal View History

2018-03-12 07:01:29 +00:00
#include "tvm.h"
#include "tmain.h"
#define TBL_USER_INFO 20
2018-06-08 08:58:44 +00:00
int main(int argc, char *argv[])
2018-03-12 07:01:29 +00:00
{
SATvm *pstSavm = (SATvm *)pGetSATvm();
if(RC_SUCC != lDropTable(pstSavm, TBL_USER_INFO))
{
2018-06-08 08:58:44 +00:00
fprintf(stderr, "drop table error:(%d)(%s)\n", pstSavm->m_lErrno,
sGetTError(pstSavm->m_lErrno));
2018-03-12 07:01:29 +00:00
return RC_FAIL;
}
return RC_SUCC;
}