diff options
author | serg@serg.mylan <> | 2006-06-14 23:09:03 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2006-06-14 23:09:03 +0200 |
commit | 99fd8f728b9c96a5403346ef85004d8b490576e6 (patch) | |
tree | f9c313d15e6ff26bd765b22c705fbce5b2f9fb45 /sql/sql_string.h | |
parent | 7549dac0440cb5c28949b955bab72276d252960d (diff) | |
download | mariadb-git-99fd8f728b9c96a5403346ef85004d8b490576e6.tar.gz |
cleanup String::set(integer)
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r-- | sql/sql_string.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h index ddae6368228..4e1d3a4837e 100644 --- a/sql/sql_string.h +++ b/sql/sql_string.h @@ -139,8 +139,11 @@ public: } str_charset=cs; } - bool set(longlong num, CHARSET_INFO *cs); - bool set(ulonglong num, CHARSET_INFO *cs); + bool set(longlong num, bool unsigned_flag, CHARSET_INFO *cs); + bool set(longlong num, CHARSET_INFO *cs) + { return set(num, false, cs); } + bool set(ulonglong num, CHARSET_INFO *cs) + { return set((longlong)num, true, cs); } bool set(double num,uint decimals, CHARSET_INFO *cs); /* |