mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix for compiler warnings:
Rename method as to not hide a base. Reorder attributes initialization. Remove unused variable. Rework code to silence a warning due to assignment used as truth value. sql/item_strfunc.cc: Rename method as to not hide a base. sql/item_strfunc.h: Rename method as to not hide a base. sql/log_event.cc: Reorder attributes initialization. sql/rpl_injector.cc: Rework code to silence a warning due to assignment used as truth value. sql/rpl_record.cc: Remove unused variable. sql/sql_db.cc: Rework code to silence a warning due to assignment used as truth value. sql/sql_parse.cc: Rework code to silence a warning due to assignment used as truth value. sql/sql_table.cc: Rework code to silence a warning due to assignment used as truth value.
This commit is contained in:
@@ -363,7 +363,7 @@ public:
|
||||
void fix_length_and_dec();
|
||||
const char *func_name() const { return "encode"; }
|
||||
protected:
|
||||
virtual void transform(String *);
|
||||
virtual void crypto_transform(String *);
|
||||
private:
|
||||
/** Provide a seed for the PRNG sequence. */
|
||||
bool seed();
|
||||
@@ -376,7 +376,7 @@ public:
|
||||
Item_func_decode(Item *a, Item *seed): Item_func_encode(a, seed) {}
|
||||
const char *func_name() const { return "decode"; }
|
||||
protected:
|
||||
void transform(String *);
|
||||
void crypto_transform(String *);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user