You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
MDEV-26761 test_mdev19838() fixup: type mismatch on 64-bit Windows
This commit is contained in:
@@ -5388,7 +5388,7 @@ static int test_mdev19838(MYSQL *mysql)
|
|||||||
{
|
{
|
||||||
bind[i].buffer = charvalue;
|
bind[i].buffer = charvalue;
|
||||||
bind[i].buffer_type = MYSQL_TYPE_STRING;
|
bind[i].buffer_type = MYSQL_TYPE_STRING;
|
||||||
bind[i].buffer_length = strlen(charvalue) + 1;
|
bind[i].buffer_length = sizeof charvalue;
|
||||||
bind[i].length = &bind[i].length_value;
|
bind[i].length = &bind[i].length_value;
|
||||||
bind[i].length_value = bind[i].buffer_length - 1;
|
bind[i].length_value = bind[i].buffer_length - 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user