diff options
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r-- | sql/sql_string.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h index ddae6368228..b1d417be2c2 100644 --- a/sql/sql_string.h +++ b/sql/sql_string.h @@ -139,9 +139,12 @@ public: } str_charset=cs; } - bool set(longlong num, CHARSET_INFO *cs); - bool set(ulonglong num, CHARSET_INFO *cs); - bool set(double num,uint decimals, CHARSET_INFO *cs); + bool set_int(longlong num, bool unsigned_flag, CHARSET_INFO *cs); + bool set(longlong num, CHARSET_INFO *cs) + { return set_int(num, false, cs); } + bool set(ulonglong num, CHARSET_INFO *cs) + { return set_int((longlong)num, true, cs); } + bool set_real(double num,uint decimals, CHARSET_INFO *cs); /* PMG 2004.11.12 |