1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Fix to return appropriate warnings using SHOW WARNINGS for LOAD DATA INFILE (scrum)

sql/field.cc:
  Fix to return correct error status to check for warnings from LOAD DATA command
sql/sql_load.cc:
  Store appropriate warning message for each cuted_fields increment
sql/share/english/errmsg.txt:
  New warning messages specific to LOAD DATA
include/mysqld_error.h:
  New error codes for LOAD DATA warnings
This commit is contained in:
unknown
2003-04-22 00:53:07 -07:00
parent a320421abc
commit 129f10e079
4 changed files with 70 additions and 10 deletions

View File

@ -275,5 +275,9 @@
#define ER_ZLIB_Z_BUF_ERROR 1256
#define ER_ZLIB_Z_DATA_ERROR 1257
#define ER_CUT_VALUE_GROUP_CONCAT 1258
#define ER_ERROR_MESSAGES 259
#define ER_WARN_TOO_FEW_RECORDS 1259
#define ER_WARN_TOO_MANY_RECORDS 1260
#define ER_WARN_DATA_TRUNCATED 1261
#define ER_WARN_NULL_TO_NOTNULL 1262
#define ER_ERROR_MESSAGES 263