Skip to content

Commit 1bf77cd

Browse files
committed
MDEV-23162: Fix clang -Winconsistent-missing-override
1 parent 48cbb2c commit 1bf77cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/protocol.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class Protocol_binary final :public Protocol
258258
bool store_longlong(longlong from, bool unsigned_flag) override;
259259
bool store_decimal(const my_decimal *) override;
260260
bool store_str(const char *from, size_t length,
261-
CHARSET_INFO *fromcs, CHARSET_INFO *tocs);
261+
CHARSET_INFO *fromcs, CHARSET_INFO *tocs) override;
262262
bool store(MYSQL_TIME *time, int decimals) override;
263263
bool store_date(MYSQL_TIME *time) override;
264264
bool store_time(MYSQL_TIME *time, int decimals) override;
@@ -306,7 +306,7 @@ class Protocol_discard final : public Protocol
306306
bool store_long(longlong) override { return false; }
307307
bool store_longlong(longlong, bool) override { return false; }
308308
bool store_decimal(const my_decimal *) override { return false; }
309-
bool store_str(const char *, size_t, CHARSET_INFO *, CHARSET_INFO *)
309+
bool store_str(const char *, size_t, CHARSET_INFO *, CHARSET_INFO *) override
310310
{
311311
return false;
312312
}

0 commit comments

Comments
 (0)