diff options
author | monty@mishka.local <> | 2004-10-02 22:20:08 +0300 |
---|---|---|
committer | monty@mishka.local <> | 2004-10-02 22:20:08 +0300 |
commit | be4ca46fbe308faa155fade0875fe0edaa408ddd (patch) | |
tree | 6c0a1c36e51cd1d74e5e4c2f58e89904ff71fb46 /include/sql_state.h | |
parent | 1fc7e6af85e848813315f8693a660f9783cc11d3 (diff) | |
download | mariadb-git-be4ca46fbe308faa155fade0875fe0edaa408ddd.tar.gz |
More fixes for strict mode:
More tests.
Better error messages.
Fixed bug when checking if we updated all needed columns for INSERT.
Give an error if we encounter a wrong float value during parsing.
Don't print DEFAULT for columns without a default value in SHOW CREATE/SHOW FIELDS.
Fixed UPDATE IGNORE when using STRICT mode.
Diffstat (limited to 'include/sql_state.h')
-rw-r--r-- | include/sql_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sql_state.h b/include/sql_state.h index 0b31fc07933..bd3e8b9b3ef 100644 --- a/include/sql_state.h +++ b/include/sql_state.h @@ -156,7 +156,7 @@ ER_SPATIAL_CANT_HAVE_NULL, "42000", "", ER_COLLATION_CHARSET_MISMATCH, "42000", "", ER_WARN_TOO_FEW_RECORDS, "01000", "", ER_WARN_TOO_MANY_RECORDS, "01000", "", -ER_WARN_NULL_TO_NOTNULL, "01000", "", +ER_WARN_NULL_TO_NOTNULL, "22004", "", ER_WARN_DATA_OUT_OF_RANGE, "22003", "", ER_WARN_DATA_TRUNCATED, "01000", "", ER_WRONG_NAME_FOR_INDEX, "42000", "", @@ -202,3 +202,4 @@ ER_SP_VARCOND_AFTER_CURSHNDLR, "42000", "", ER_SP_CURSOR_AFTER_HANDLER, "42000", "", ER_SP_CASE_NOT_FOUND, "20000", "", ER_DIVISION_BY_ZERO, "22012", "", +ER_ILLEGAL_VALUE_FOR_TYPE, "22007", "", |