summaryrefslogtreecommitdiff
path: root/mysql-test/r/strict.result
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2005-04-05 15:49:10 +0200
committerunknown <pem@mysql.comhem.se>2005-04-05 15:49:10 +0200
commitf3281e7b3381841cdab52d5f53c0ff813754e108 (patch)
treef658431ec09c56af8e818757f53eb7f0e245245e /mysql-test/r/strict.result
parentb419262fe49bb3cc84f496e913edd3f1baf25283 (diff)
downloadmariadb-git-f3281e7b3381841cdab52d5f53c0ff813754e108.tar.gz
Additional fix for BUG#5907: Traditional mode: invalid value can be inserted via a stored procedure
... make the handler catch too. mysql-test/r/strict.result: Updated corrected result for BUG#5907. mysql-test/t/strict.test: Corrected test for BUG#5907. sql/sp_head.cc: Make handlers catch certain bad data exceptions in strict mode too.
Diffstat (limited to 'mysql-test/r/strict.result')
-rw-r--r--mysql-test/r/strict.result3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/r/strict.result b/mysql-test/r/strict.result
index c4d860c5c77..99ea0d577da 100644
--- a/mysql-test/r/strict.result
+++ b/mysql-test/r/strict.result
@@ -1180,7 +1180,8 @@ Note 1305 PROCEDURE t1 does not exist
create procedure t1 () begin declare exit handler for sqlexception
select'a'; insert into t1 values (200); end;|
call t1();
-ERROR 22003: Out of range value adjusted for column 'col1' at row 1
+a
+a
select * from t1;
col1
drop procedure t1;