未验证 提交 915e7877 编写于 作者: X xiaolei li 提交者: GitHub

docs:uncomment Node.js cursor.close() (#11422)

上级 eebce8b5
......@@ -29,6 +29,6 @@ try {
createDatabase();
insertData();
} finally {
// cursor.close(); // 此处抛异常
cursor.close();
conn.close();
}
......@@ -17,7 +17,7 @@ power.d1003 USING power.meters TAGS(Beijing.Haidian, 2) VALUES ('2018-10-03 14:3
power.d1004 USING power.meters TAGS(Beijing.Haidian, 3) VALUES ('2018-10-03 14:38:05.000', 10.80000, 223, 0.29000) ('2018-10-03 14:38:06.500', 11.50000, 221, 0.35000)`;
cursor.execute(sql);
} finally {
// cursor.close();
cursor.close();
conn.close();
}
......
......@@ -48,6 +48,6 @@ try {
prepareSTable();
insertData();
} finally {
// cursor.close(); // bug here
cursor.close();
conn.close();
}
......@@ -50,6 +50,6 @@ try {
createDatabase();
insertData();
} finally {
// cursor.close(); // 此处抛异常
cursor.close();
conn.close();
}
......@@ -33,6 +33,6 @@ try {
createDatabase();
insertData();
} finally {
// cursor.close(); // 此处抛异常
cursor.close();
conn.close();
}
......@@ -52,6 +52,6 @@ try {
prepareSTable();
insertData();
} finally {
// cursor.close(); // bug here, jira: 14505
cursor.close();
conn.close();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册