1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Bug#36721 - Test funcs1.<engine>_func_view failing for multiple engines

Bug#36724 - Test funcs_1.<engine>_storedproc_02 needs to be updated
Bug#36726 - Test funcs_1.<engine>_storedproc failing - Needs to be updated on 5.1+

func_view bug:  re-records .result files to account for addition of charset and collation data 
                to SHOW CREATE VIEW output
storedproc bugs:  Added expected errors for those storedprocs that use SQLSTATE:00000
                  in their handlers.  re-recorded .result files to account for these
                  expected errors.

mysql-test/suite/funcs_1/r/innodb_func_view.result:
  Update result set for changes to SHOW CREATE VIEW output
mysql-test/suite/funcs_1/r/memory_func_view.result:
  Updated result set due to changes in SHOW CREATE VIEW output
mysql-test/suite/funcs_1/r/myisam_func_view.result:
  Updated result set due to changes in SHOW CREATE VIEW output
This commit is contained in:
Patrick Crews
2008-05-27 19:30:07 -04:00
parent 52066c5131
commit 914bb34b38
13 changed files with 1668 additions and 1624 deletions

View File

@ -583,6 +583,7 @@ END//
CALL h1();
x1 x2 x3 x4 x5 x6
1 1 1 1 1 1
This will fail, SQLSTATE 00000 is not allowed
CREATE PROCEDURE sp1()
begin1_label:BEGIN
declare exit handler for sqlstate '00000' set @var1 = 5;
@ -594,14 +595,13 @@ SELECT @var3, @var4;
END begin2_label;
SELECT @var1, @var2;
END begin1_label//
ERROR 42000: Bad SQLSTATE: '00000'
Verify SP wasn't created
CALL sp1();
@var3 @var4
NULL 8
@var1 @var2
NULL 6
ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
DROP PROCEDURE p1;
DROP PROCEDURE h1;
DROP PROCEDURE sp1;
DROP PROCEDURE IF EXISTS sp1;
DROP TABLE res_t1;
Testcase 3.1.2.50: