summaryrefslogtreecommitdiff
path: root/sql/sp_rcontext.h
diff options
context:
space:
mode:
authormonty@mishka.local <>2004-09-28 20:08:00 +0300
committermonty@mishka.local <>2004-09-28 20:08:00 +0300
commitf2941380c4e69f55abc0f09c2e0091ea0cdf3c00 (patch)
tree7f0311baaca32e6242f23dcf0a89ed38e39c9ac0 /sql/sp_rcontext.h
parent095f7e874087183fdc2fc914708b579175da95f3 (diff)
downloadmariadb-git-f2941380c4e69f55abc0f09c2e0091ea0cdf3c00.tar.gz
Strict mode & better warnings
Under strict mode MySQL will generate an error message if there was any conversion when assigning data to a field. Added checking of date/datetime fields. If strict mode, give error if we have not given value to field without a default value (for INSERT)
Diffstat (limited to 'sql/sp_rcontext.h')
-rw-r--r--sql/sp_rcontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h
index f26b6760310..fff10ff3d0a 100644
--- a/sql/sp_rcontext.h
+++ b/sql/sp_rcontext.h
@@ -123,7 +123,7 @@ class sp_rcontext : public Sql_alloc
// Returns 1 if a handler was found, 0 otherwise.
int
- find_handler(uint sql_errno);
+ find_handler(uint sql_errno,MYSQL_ERROR::enum_warning_level level);
// Returns handler type and sets *ip to location if one was found
inline int