mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
5.5.38 merge
This commit is contained in:
@ -575,11 +575,16 @@ public:
|
||||
|
||||
class ErrConvInteger : public ErrConv
|
||||
{
|
||||
longlong num;
|
||||
longlong m_value;
|
||||
bool m_unsigned;
|
||||
public:
|
||||
ErrConvInteger(longlong num_arg) : ErrConv(), num(num_arg) {}
|
||||
ErrConvInteger(longlong num_arg, bool unsigned_flag= false) :
|
||||
ErrConv(), m_value(num_arg), m_unsigned(unsigned_flag) {}
|
||||
const char *ptr() const
|
||||
{ return llstr(num, err_buffer); }
|
||||
{
|
||||
return m_unsigned ? ullstr(m_value, err_buffer) :
|
||||
llstr(m_value, err_buffer);
|
||||
}
|
||||
};
|
||||
|
||||
class ErrConvDouble: public ErrConv
|
||||
|
Reference in New Issue
Block a user