This commit is contained in:
aozhiwei 2022-04-17 08:06:18 +08:00
parent 691e43ddcb
commit 64162ebce7
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ async function execQueryOne(sql, params) {
const {err, rows} = await execQuery(sql, params);
return {
'err': err,
'row': rows.length > 0 ? rows[0] : null
'row': rows && rows.length > 0 ? rows[0] : null
};
}

2
third_party/j7 vendored

@ -1 +1 @@
Subproject commit 6ff510cd95fa5da739a26193043b4b4082d1baa8
Subproject commit 3b3e2ff5ed360b626d92a9906d5fddaa500422ee