Commit ed661a0e authored by Sergei Golubchik's avatar Sergei Golubchik

post-merge: -Werror fixes in 10.3

parent 4e1d3f83
...@@ -520,7 +520,7 @@ class Rewritable_query_parameter ...@@ -520,7 +520,7 @@ class Rewritable_query_parameter
Value of 0 means that this object doesn't have to be replaced Value of 0 means that this object doesn't have to be replaced
(for example SP variables in control statements) (for example SP variables in control statements)
*/ */
uint pos_in_query; my_ptrdiff_t pos_in_query;
/* /*
Byte length of parameter name in the statement. This is not Byte length of parameter name in the statement. This is not
......
...@@ -2360,7 +2360,7 @@ class Column_name_enumerator_impl : public Column_name_enumerator ...@@ -2360,7 +2360,7 @@ class Column_name_enumerator_impl : public Column_name_enumerator
}; };
int ha_cassandra::update_row(const uchar *old_data, uchar *new_data) int ha_cassandra::update_row(const uchar *old_data, const uchar *new_data)
{ {
DYNAMIC_COLUMN_VALUE *oldvals, *vals; DYNAMIC_COLUMN_VALUE *oldvals, *vals;
LEX_STRING *oldnames, *names; LEX_STRING *oldnames, *names;
......
...@@ -240,7 +240,7 @@ class ha_cassandra: public handler ...@@ -240,7 +240,7 @@ class ha_cassandra: public handler
int close(void); int close(void);
int write_row(uchar *buf); int write_row(uchar *buf);
int update_row(const uchar *old_data, uchar *new_data); int update_row(const uchar *old_data, const uchar *new_data);
int delete_row(const uchar *buf); int delete_row(const uchar *buf);
/** @brief /** @brief
...@@ -268,7 +268,7 @@ class ha_cassandra: public handler ...@@ -268,7 +268,7 @@ class ha_cassandra: public handler
THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to, THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to,
enum thr_lock_type lock_type); ///< required enum thr_lock_type lock_type); ///< required
my_bool register_query_cache_table(THD *thd, char *table_key, my_bool register_query_cache_table(THD *thd, const char *table_key,
uint key_length, uint key_length,
qc_engine_callback qc_engine_callback
*engine_callback, *engine_callback,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment