diff options
author | venu@myvenu.com <> | 2003-04-30 00:02:28 -0700 |
---|---|---|
committer | venu@myvenu.com <> | 2003-04-30 00:02:28 -0700 |
commit | eb137c063c05b2511eed85f0027498d64a910e11 (patch) | |
tree | cabb1435029397264db6d20a3a7da3ab9fed3d00 /sql/sql_parse.cc | |
parent | 23a522c026e531bfbef4935918db856b45bfff90 (diff) | |
download | mariadb-git-eb137c063c05b2511eed85f0027498d64a910e11.tar.gz |
Support of warnings for all DML statements (Insert, Update and Alter)
Fix LOAD DATA INFILE warnings to have a better meanigful messages
Fix to make the mysql command line to automatically show the warnings count for all basic commands
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index ba8a4af794a..e8f142ca4c3 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -3653,12 +3653,13 @@ bool add_field_to_list(THD *thd, char *field_name, enum_field_types type, { char *not_used; uint not_used2; + bool not_used3; thd->cuted_fields=0; String str,*res; res=default_value->val_str(&str); (void) find_set(interval, res->ptr(), res->length(), ¬_used, - ¬_used2); + ¬_used2, ¬_used3); if (thd->cuted_fields) { net_printf(thd,ER_INVALID_DEFAULT,field_name); |