cossacklabs / acra

Database security suite. Database proxy with field-level encryption, search through encrypted data, SQL injections prevention, intrusion detection, honeypots. Supports client-side and proxy-side ("transparent") encryption. SQL, NoSQL.
https://www.cossacklabs.com/acra/
Apache License 2.0
1.34k stars 128 forks source link

Update params/columns data_types for prepare packet #523

Closed Zhaars closed 2 years ago

Zhaars commented 2 years ago

During conversation with @Lagovas about #517 . We faced that we didnt change data_types for intermediate params/columns ColumnDefinition that are following after COM_STMT_PREPARE_OK packet. It wasnt noticed at previous PR because all driver ignore it and use only last metadata field from STMT_EXECUTE packet. But we do have to change it because some ORM might use these intermediate packet to make some cachin on its own side.