summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru>2007-03-29 11:06:15 +0500
committerunknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru>2007-03-29 11:06:15 +0500
commitdf99063599fb02e2b79b6ddf1b4b758c414ce229 (patch)
tree3c1a57c8db1a90caecbbf724533ecc2b1788d0ce /sql/field.h
parentdb9af0d82239e2ff016d565e54f2f541f05bb9a3 (diff)
parent86010101e294559d83d0c99def8160eddcf4ce55 (diff)
downloadmariadb-git-df99063599fb02e2b79b6ddf1b4b758c414ce229.tar.gz
Merge mysql.com:/home/ram/work/mysql-5.0-maint
into mysql.com:/home/ram/work/b26359/b26359.5.0 mysql-test/r/strict.result: Auto merged mysql-test/t/strict.test: Auto merged sql/field.cc: Auto merged sql/field.h: Auto merged
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);
};