diff options
author | serg@sergbook.mysql.com <> | 2002-07-21 23:55:32 +0200 |
---|---|---|
committer | serg@sergbook.mysql.com <> | 2002-07-21 23:55:32 +0200 |
commit | e20d9e06c5e8f394eb0d4243431f293cd13e727e (patch) | |
tree | 18b81d0250f43e62349dfb3c0cb2dde8af33f444 /sql/ha_myisammrg.cc | |
parent | 0642d54a3728ac502353b1ba94966cb75e794691 (diff) | |
download | mariadb-git-e20d9e06c5e8f394eb0d4243431f293cd13e727e.tar.gz |
AUTO_INCREMENT support for MERGE
HA_AUTO_PART_KEY support for handler parent class
Diffstat (limited to 'sql/ha_myisammrg.cc')
-rw-r--r-- | sql/ha_myisammrg.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/ha_myisammrg.cc b/sql/ha_myisammrg.cc index 4e09c87f341..a04aafec130 100644 --- a/sql/ha_myisammrg.cc +++ b/sql/ha_myisammrg.cc @@ -75,8 +75,7 @@ int ha_myisammrg::write_row(byte * buf) if (table->time_stamp) update_timestamp(buf+table->time_stamp-1); if (table->next_number_field && buf == table->record[0]) - return (my_errno=HA_ERR_WRONG_COMMAND); - // update_auto_increment(); - [phi] have to check this before allowing it + update_auto_increment(); return myrg_write(file,buf); } |