diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-07-01 13:10:36 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-07-01 13:10:36 +0300 |
commit | 392ee571c175e160869a2ee0510f818e81510a03 (patch) | |
tree | 4481d8aa631bdd295300b875791d9d179c0a4b70 /sql/ha_partition.h | |
parent | 99de8cc02878ec8c20bffeaf17443e704d6edbf7 (diff) | |
parent | 990cde800a4aafc5f5647eb06db3eec461fd172a (diff) | |
download | mariadb-git-392ee571c175e160869a2ee0510f818e81510a03.tar.gz |
Merge 10.3 into 10.4
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h index 00ef8e34ead..0b7462913f8 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -1409,7 +1409,8 @@ private: unless we already did it. */ if (!part_share->auto_inc_initialized && - (ha_thd()->lex->sql_command == SQLCOM_INSERT || + (ha_thd()->lex->sql_command == SQLCOM_INSERT || + ha_thd()->lex->sql_command == SQLCOM_INSERT_SELECT || ha_thd()->lex->sql_command == SQLCOM_REPLACE) && table->found_next_number_field) bitmap_set_all(&m_part_info->read_partitions); |