Problems returned by express+mysql asynchronous call

add the return statement and you will report an error, but if you don"t add it, you will ok,. Why?

router.post("/aaaa", upload.any(), function (req, res, next) {
    sql.getConnection(function (err, connection) {
        if (err) throw err;
        connection.query({
            sql: "sql",
            timeout: 40000, // 40s
            values: [111, 0, 10]
        }, function (error, results, fields) {
            if (error) throw error;
            res.send(JSON.stringify({
                resultCode: "00000",
                resultMsg: "",
                data: results
            }));
        });
        connection.release();
    });
    //return;
});
Mar.24,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf353c-46eae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf353c-46eae.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?