mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge branch '10.2' into 10.3
This commit is contained in:
@ -18,11 +18,11 @@
|
||||
#define SQL_ERROR_H
|
||||
|
||||
#include "sql_list.h" /* Sql_alloc, MEM_ROOT, list */
|
||||
#include "m_string.h" /* LEX_STRING */
|
||||
#include "sql_string.h" /* String */
|
||||
#include "sql_plist.h" /* I_P_List */
|
||||
#include "mysql_com.h" /* MYSQL_ERRMSG_SIZE */
|
||||
#include "my_time.h" /* MYSQL_TIME */
|
||||
#include "sql_type_int.h" // Longlong_hybrid
|
||||
#include "sql_string.h" /* String */
|
||||
#include "sql_plist.h" /* I_P_List */
|
||||
#include "mysql_com.h" /* MYSQL_ERRMSG_SIZE */
|
||||
#include "my_time.h" /* MYSQL_TIME */
|
||||
#include "decimal.h"
|
||||
|
||||
class THD;
|
||||
@ -843,13 +843,11 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class ErrConvInteger : public ErrConv
|
||||
class ErrConvInteger : public ErrConv, public Longlong_hybrid
|
||||
{
|
||||
longlong m_value;
|
||||
bool m_unsigned;
|
||||
public:
|
||||
ErrConvInteger(longlong num_arg, bool unsigned_flag= false) :
|
||||
ErrConv(), m_value(num_arg), m_unsigned(unsigned_flag) {}
|
||||
ErrConv(), Longlong_hybrid(num_arg, unsigned_flag) {}
|
||||
const char *ptr() const
|
||||
{
|
||||
return m_unsigned ? ullstr(m_value, err_buffer) :
|
||||
|
Reference in New Issue
Block a user