summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2022-11-30 13:10:52 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2022-11-30 13:10:52 +0200
commit4eb8e51c269eb9447d3765a6e4deba0dc68dfa37 (patch)
tree8efa892fbe6bebc98ca106cf4341d406b48cb7ea /sql/table.cc
parent11815641312fdbcab26e47e4b6655c155bc39bde (diff)
downloadmariadb-git-4eb8e51c269eb9447d3765a6e4deba0dc68dfa37.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.cc b/sql/table.cc
index c99608c6cde..7da22a058ab 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -8913,6 +8913,7 @@ int TABLE::update_generated_fields()
res= found_next_number_field->set_default();
if (likely(!res))
res= file->update_auto_increment();
+ next_number_field= NULL;
}
if (likely(!res) && vfield)