1
0
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:
Sergei Golubchik
2014-06-06 00:07:27 +02:00
132 changed files with 2524 additions and 3328 deletions

View File

@ -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