From András Veres-Szentkirályi via https://bugs.wireshark.org/bugzilla/show_bug.cgi...
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 20 Oct 2011 01:55:04 +0000 (01:55 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 20 Oct 2011 01:55:04 +0000 (01:55 +0000)
commit1b7fd1cea7ddf27563c001f72a81f91d526bd28f
tree1e62bd245ab7bf8bd58fa14f568a6bb470abacc5
parent774ff9b27af13282fe1090f89fb14c2b02b9dd37
From András Veres-Szentkirályi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6426 :

The current MySQL dissector ignored the execute parameters as metadata is
needed from previous packets to decode the fields. I added the necessary code
to store these in conn_data and developed dissector for all fields I could
reproduce on the network.

This also fixes a memory leak by moving the stmts structure (the pointer to
which is stored in se_allocated memory) into se_trees.

From me: use se_tree_create_non_persistent() so the entire tree is forgotten when
the se_ memory goes away.  Also some reformatting.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39483 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-mysql.c