summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
diff options
context:
space:
mode:
authorserg@serg.mylan <>2006-06-14 23:09:03 +0200
committerserg@serg.mylan <>2006-06-14 23:09:03 +0200
commit99fd8f728b9c96a5403346ef85004d8b490576e6 (patch)
treef9c313d15e6ff26bd765b22c705fbce5b2f9fb45 /sql/sql_string.h
parent7549dac0440cb5c28949b955bab72276d252960d (diff)
downloadmariadb-git-99fd8f728b9c96a5403346ef85004d8b490576e6.tar.gz
cleanup String::set(integer)
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r--sql/sql_string.h7
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);
/*