Commit c268fd77 authored by unknown's avatar unknown

fix Visual Studio build - strictness of compiler could not cast

pointer into a BOOL type.

parent 495dfde5
...@@ -1686,7 +1686,7 @@ int ha_federated::write_row(byte *buf) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment