1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-11 05:52:26 +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

@@ -17230,7 +17230,10 @@ let $message= Testcase 4.2.43:;
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
--echo expect failure, SQLSTATE 00000 is not an acceptable value
--echo for an SP's handler
delimiter //;
--ERROR ER_SP_BAD_SQLSTATE
CREATE PROCEDURE sp1()
BEGIN
declare cond1 condition for sqlstate '00000';
@@ -17240,11 +17243,14 @@ BEGIN
END//
delimiter ;//
--echo ensure SP doesn't exist
--ERROR ER_SP_DOES_NOT_EXIST
CALL sp1();
# cleanup
DROP PROCEDURE sp1;
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
# ------------------------------------------------------------------------------
let $message= Testcase 4.2.45:;
@@ -17383,6 +17389,8 @@ let $message= Testcase 4.2.48:;
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
--echo This creation should fail, SQLSTATE 00000 is unacceptable
--ERROR ER_SP_BAD_SQLSTATE
delimiter //;
CREATE PROCEDURE sp1()
BEGIN
@@ -17392,11 +17400,14 @@ BEGIN
END//
delimiter ;//
--echo Verify SP wasn't created
--ERROR ER_SP_DOES_NOT_EXIST
CALL sp1();
# cleanup
DROP PROCEDURE sp1;
--disable_warnings
DROP PROCEDURE IF EXISTSsp1;
--enable_warnings
# ------------------------------------------------------------------------------