Workload Capture and Replay (MXS-4791)

[MXS-4940] Implement capture of prepared statements (binary protocol). Created: 2024-01-16  Updated: 2024-02-05  Resolved: 2024-02-05

Status: Closed
Project: MariaDB MaxScale
Component/s: Core, qlafilter
Affects Version/s: None
Fix Version/s: 24.02.0

Type: Sub-Task Priority: Major
Reporter: Niclas Antti Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Sprint: MXS-SPRINT-194, MXS-SPRINT-195, MXS-SPRINT-196, MXS-SPRINT-197, MXS-SPRINT-198, MXS-SPRINT-199, MXS-SPRINT-200, MXS-SPRINT-201

 Description   

There are cases where converting the COM_STMT_EXECUTE back into its text form is useful. One example of this is the qlafilter where the query type for log_data only works for COM_QUERY and COM_STMT_PREPARE commands and not for COM_STMT_EXECUTE. By keeping track of the executed COM_STMT_PREPARE commands, this would be possible.



 Comments   
Comment by markus makela [ 2024-02-01 ]

The qlafilter now logs the COM_STMT_EXECUTE commands in their plaintext SQL form.

Generated at Thu Feb 08 04:32:14 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.