From 79b0d650cc2fbd6a2dfd51297be3315cf607f04b Mon Sep 17 00:00:00 2001 From: zhaoyanggh Date: Tue, 16 Nov 2021 15:25:20 +0800 Subject: [PATCH] fix --- src/kit/taosdemo/src/demoJsonOpt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kit/taosdemo/src/demoJsonOpt.c b/src/kit/taosdemo/src/demoJsonOpt.c index c751021ff6..e74d2906c8 100644 --- a/src/kit/taosdemo/src/demoJsonOpt.c +++ b/src/kit/taosdemo/src/demoJsonOpt.c @@ -854,6 +854,7 @@ int getMetaFromInsertJsonFile(cJSON *root) { g_Dbs.db[i].superTbls[j].iface = STMT_IFACE; } else if (0 == strcasecmp(stbIface->valuestring, "sml")) { g_Dbs.db[i].superTbls[j].iface = SML_IFACE; + g_args.iface = SML_IFACE; } else { errorPrint( "failed to read json, insert_mode %s not recognized\n", -- GitLab