Commit 20629a52 authored by Will DeVries's avatar Will DeVries Committed by Sergei Petrunia

Remove 'Field *auto_inc_field'.

parent c45ae5f0
......@@ -298,8 +298,7 @@ int ha_clustrixdb::write_row(uchar *buf)
packed_new_row, packed_size)))
goto err;
Field *auto_inc_field = table->next_number_field;
if (auto_inc_field)
if (table->next_number_field)
insert_id_for_cur_row = trx->clustrix_net->last_insert_id;
err:
......
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