mirror of
https://github.com/MariaDB/server.git
synced 2025-08-30 11:22:14 +03:00
fix Visual Studio build - strictness of compiler could not cast
pointer into a BOOL type.
This commit is contained in:
@@ -1686,7 +1686,7 @@ int ha_federated::write_row(byte *buf)
|
|||||||
uint tmp_length;
|
uint tmp_length;
|
||||||
int error= 0;
|
int error= 0;
|
||||||
bool use_bulk_insert;
|
bool use_bulk_insert;
|
||||||
bool auto_increment_update_required= table->next_number_field;
|
bool auto_increment_update_required= (table->next_number_field != NULL);
|
||||||
|
|
||||||
/* The string containing the values to be added to the insert */
|
/* The string containing the values to be added to the insert */
|
||||||
String values_string(values_buffer, sizeof(values_buffer), &my_charset_bin);
|
String values_string(values_buffer, sizeof(values_buffer), &my_charset_bin);
|
||||||
|
Reference in New Issue
Block a user