1
0
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:
antony@ppcg5.local
2007-06-29 15:14:08 -07:00
parent 0ea1217933
commit c84faaa571

View File

@@ -1686,7 +1686,7 @@ int ha_federated::write_row(byte *buf)
uint tmp_length;
int error= 0;
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 */
String values_string(values_buffer, sizeof(values_buffer), &my_charset_bin);