Просмотр исходного кода

fix(tdengine): remove the redundant table name in SQL template

firest 2 лет назад
Родитель
Сommit
ee5b9d7e0a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib-ee/emqx_ee_bridge/src/emqx_ee_bridge_tdengine.erl

+ 1 - 1
lib-ee/emqx_ee_bridge/src/emqx_ee_bridge_tdengine.erl

@@ -22,7 +22,7 @@
 ]).
 
 -define(DEFAULT_SQL, <<
-    "insert into mqtt.t_mqtt_msg(ts, msgid, mqtt_topic, qos, payload, arrived) "
+    "insert into t_mqtt_msg(ts, msgid, mqtt_topic, qos, payload, arrived) "
     "values (${ts}, ${id}, ${topic}, ${qos}, ${payload}, ${timestamp})"
 >>).