first commit

This commit is contained in:
2026-05-12 12:41:49 +07:00
commit 604fef891f
8368 changed files with 1285228 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
'use strict';
const { applyCapturedStack } = require('./capture_local_err.js');
function makeDoneCb(resolve, reject, stackHolder) {
return function (err, rows, fields) {
if (err) {
applyCapturedStack(err, stackHolder);
reject(err);
} else {
resolve([rows, fields]);
}
};
}
module.exports = makeDoneCb;