2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[#2870] Intergrated #2971 fix

This commit is contained in:
Francis Dupont
2023-07-11 20:51:36 +02:00
parent 866890337b
commit 7d0a526baf

View File

@@ -953,13 +953,13 @@ public:
// reasons, see memset() above
// hwaddr: varbinary(20)
hwaddr_null_ = MLM_FALSE;
hwaddr_length_ = sizeof(hwaddr_buffer_);
bind_[1].buffer_type = MYSQL_TYPE_BLOB;
bind_[1].buffer = reinterpret_cast<char*>(hwaddr_buffer_);
bind_[1].buffer_length = hwaddr_length_;
bind_[1].length = &hwaddr_length_;
// bind_[1].is_null = &MLM_FALSE; // commented out for performance
// reasons, see memset() above
bind_[1].is_null = &hwaddr_null_;
// client_id: varbinary(255)
client_id_length_ = sizeof(client_id_buffer_);