sidorares / sidorares/node-mysql2

Wrong answer format on PATCH nd PUT methods

Open
#559 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4.4k
Forks
680
Avg merge
9h 7m
Merged PRs (30d)
59

Description

Hi. It seels like you forgot to close bracket at the response from PATCH and PUT methods
After info opened bracked that never closed anywhere

This is response of PATCH and PUT methods
{"fieldCount":0,"affectedRows":1,"insertId":0,"info":"(Rows matched: 1 Changed: 0 Warnings: 0","serverStatus":2,"warningStatus":0,"changedRows":0}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test path is mentioned. Start by reproducing the PATCH and PUT response in node-mysql2, then trace where the result is serialized; done means the returned response format is valid and matches the expected MySQL result fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, typescript
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.