ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master 6242d1c: MySQL: fix server status bit-mask

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 26 Aug 2018 19:12:57 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6242d1cfa12a34ee82cbce8982457b350d052a9f
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

6242d1c by Uli Heilmeier (uh@xxxxxxxxxxxx):

    MySQL: fix server status bit-mask
    
    MySQL-Server 5.7 has introduced SERVER_SESSION_STATE_CHANGED with a
    0x4000 bitmask.
    
    This commit updates the server status bitmask field to the current
    implementation as documented at
    https://github.com/mysql/mysql-server/blob/8.0/include/mysql_com.h
    https://dev.mysql.com/doc/dev/mysql-server/latest/mysql__com_8h.html
    
    Furthermore response code field is now exposed.
    
    Bug: 15074
    Change-Id: If87a3c2efb82488e8f2e771f077fb7b88c702393
    Reviewed-on: https://code.wireshark.org/review/29292
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  6f0e290   AT: Correct dissection func for +CLAC
     add  6242d1c   MySQL: fix server status bit-mask


Summary of changes:
 epan/dissectors/packet-mysql.c | 55 +++++++++++++++++++++++++++++++++++-------
 1 file changed, 46 insertions(+), 9 deletions(-)