summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorramil/ram@mysql.com/ramil.myoffice.izhnet.ru <>2007-03-29 11:06:15 +0500
committerramil/ram@mysql.com/ramil.myoffice.izhnet.ru <>2007-03-29 11:06:15 +0500
commit73f0c5d7c623d275c783a9d733a9f3c33c995bb1 (patch)
tree3c1a57c8db1a90caecbbf724533ecc2b1788d0ce /sql/field.h
parent024be23a82f7cea909d45b5c19241ddd143b0543 (diff)
parente3c34c9cbfbda2b6a11a8cc337c5a4ebafdfb57e (diff)
downloadmariadb-git-73f0c5d7c623d275c783a9d733a9f3c33c995bb1.tar.gz
Merge mysql.com:/home/ram/work/mysql-5.0-maint
into mysql.com:/home/ram/work/b26359/b26359.5.0
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/field.h b/sql/field.h
index 0f30f5332ff..eb00899cf54 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -306,8 +306,6 @@ public:
virtual void set_derivation(enum Derivation derivation_arg) { }
bool set_warning(MYSQL_ERROR::enum_warning_level, unsigned int code,
int cuted_increment);
- bool check_int(const char *str, int length, const char *int_end,
- CHARSET_INFO *cs);
void set_datetime_warning(MYSQL_ERROR::enum_warning_level, uint code,
const char *str, uint str_len,
timestamp_type ts_type, int cuted_increment);
@@ -369,6 +367,11 @@ public:
bool eq_def(Field *field);
int store_decimal(const my_decimal *);
my_decimal *val_decimal(my_decimal *);
+ int check_int(CHARSET_INFO *cs, const char *str, int length,
+ const char *int_end, int error);
+ bool get_int(CHARSET_INFO *cs, const char *from, uint len,
+ longlong *rnd, ulonglong unsigned_max,
+ longlong signed_min, longlong signed_max);
};