summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-03-05 16:05:47 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2021-03-05 16:05:47 +0200
commit03ff588d153f22f00ff00923e82498cbac63505f (patch)
treee415dbf0def73c61587833066fd22d4538297a96 /sql/table.h
parent33cf577ad86f3a7dd6ff86fee4ecd9c535161f02 (diff)
parentf6cb9e6e2dd0fb2e29a09030e74de7946139e1f4 (diff)
downloadmariadb-git-03ff588d153f22f00ff00923e82498cbac63505f.tar.gz
Merge 10.5 into 10.6
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h
index c69fe72456e..d84c4e56a9b 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -3209,6 +3209,12 @@ inline void mark_as_null_row(TABLE *table)
bfill(table->null_flags,table->s->null_bytes,255);
}
+inline void unmark_as_null_row(TABLE *table)
+{
+ table->null_row=0;
+ table->status= STATUS_NO_RECORD;
+}
+
bool is_simple_order(ORDER *order);
class Open_tables_backup;