)]}'
{
  "commit": "7a784e78adc18694f8889cece361860d2ba8f524",
  "tree": "9806419bd4b2043655faba3c1a04a5248f4f2af7",
  "parents": [
    "bcfd4cccc1b16fdab9ca43983755e75faf615359"
  ],
  "author": {
    "name": "Giulio Calzolari",
    "email": "9049490+giuliocalzo@users.noreply.github.com",
    "time": "Fri Nov 20 18:22:29 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Nov 21 02:22:29 2026 +0900"
  },
  "message": "Report and close on connection errors from the server (#1852)\n\nWhen a query exceeds the server\u0027s max_allowed_packet but not the client\u0027s\nmaxAllowedPacket, the server answers ERR 1153 (08S01) and closes the\nconnection.\n\n- writePacket: when a write fails after part of the command was sent,\n  read a pending ERR packet with the bounded reader of the idle check\n  (now pendingError) and return it.\n- handleErrorPacket: after an error in SQLSTATE class 08 (connection\n  exception), except 1047, close the connection so database/sql does not\n  reuse it; the server error is still returned.\n\nFixes #1849\n\nSigned-off-by: Giulio Calzolari \u003cgcalzolari@nvidia.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c54efc75559043782fc2e2f932ca64e0e1afd25b",
      "old_mode": 33188,
      "old_path": "conncheck_error.go",
      "new_id": "d4023d8d6ecdf0b97d182199be3983ab97978b41",
      "new_mode": 33188,
      "new_path": "conncheck_error.go"
    },
    {
      "type": "modify",
      "old_id": "2cdc7780d2973b3dbd992721fa2bfe8925f8a2c2",
      "old_mode": 33188,
      "old_path": "connection_test.go",
      "new_id": "ca1df3bec3e655ee83da81758ee9e081f0bc2f9f",
      "new_mode": 33188,
      "new_path": "connection_test.go"
    },
    {
      "type": "modify",
      "old_id": "507f4be54c50210a7cc5965a09fbda1b29c6a7ae",
      "old_mode": 33188,
      "old_path": "packets.go",
      "new_id": "214c031590ab93b9a203d6d88e5a5e4317c460f9",
      "new_mode": 33188,
      "new_path": "packets.go"
    },
    {
      "type": "modify",
      "old_id": "3a6e6e680fae8fb4f8753aa070b56c0a1f230ed7",
      "old_mode": 33188,
      "old_path": "packets_test.go",
      "new_id": "cc318bdbec68cff898ba0007aa4539a32325fb41",
      "new_mode": 33188,
      "new_path": "packets_test.go"
    }
  ]
}
