From 202f0c846515909652ce12cca289860e0d633fc8 Mon Sep 17 00:00:00 2001 From: shannon data ai Date: Sat, 3 Aug 2024 18:04:42 +0800 Subject: [PATCH] fix(shannon): errs brought by revert --- sql/item_strfunc.h | 10 ---------- storage/rapid_engine/handler/ha_shannon_rapid.cc | 1 - 2 files changed, 11 deletions(-) diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index 83884a73e..6f37d428d 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -1253,16 +1253,6 @@ class Item_func_to_vector final : public Item_str_func { String *val_str(String *str) override; }; -class Item_func_to_vector final : public Item_str_func { - String buffer; - - public: - Item_func_to_vector(const POS &pos, Item *a) : Item_str_func(pos, a) {} - bool resolve_type(THD *thd) override; - const char *func_name() const override { return "to_vector"; } - String *val_str(String *str) override; -}; - class Item_func_from_vector final : public Item_str_func { static const uint32 per_value_chars = 16; static const uint32 max_output_bytes = diff --git a/storage/rapid_engine/handler/ha_shannon_rapid.cc b/storage/rapid_engine/handler/ha_shannon_rapid.cc index ce21ad2d5..ca733e93e 100644 --- a/storage/rapid_engine/handler/ha_shannon_rapid.cc +++ b/storage/rapid_engine/handler/ha_shannon_rapid.cc @@ -721,7 +721,6 @@ int ha_rapid::load_table(const TABLE &table_arg) { // Scan the primary table and read the records. if (table_arg.file->inited == NONE && table_arg.file->ha_rnd_init(true)) { my_error(ER_NO_SUCH_TABLE, MYF(0), table_arg.s->db.str, table_arg.s->table_name.str); - table_arg.s->table_name.str); return HA_ERR_GENERIC; } //Start to write to IMCS. Do scan the primary table.