Skip to content

Commit e25edf2

Browse files
MDEV-33616 Tests failing on macOS
compat/oracle.sp-inout now uses lowercase object names for test compatibility with both case-insensitive and case-sensitive filesystems.
1 parent 24dd78e commit e25edf2

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

mysql-test/suite/compat/oracle/r/sp-inout.result

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ END;
684684
END;
685685
$$
686686
set @a = 4;
687-
INSERT INTO Persons SELECT 4, 'DDD', PKG2.func(@a);
687+
INSERT INTO Persons SELECT 4, 'DDD', pkg2.func(@a);
688688
SELECT * FROM Persons;
689689
ID Name Age
690690
1 AAA 10
@@ -726,8 +726,8 @@ ID Name Age
726726
2 BBB 20
727727
3 CCC 30
728728
set @a = 0;
729-
INSERT INTO Persons SELECT 5, 'EEE', PKG2.func(@a);
730-
ERROR HY000: OUT or INOUT argument 1 for function PKG2.func is not allowed here
729+
INSERT INTO Persons SELECT 5, 'EEE', pkg2.func(@a);
730+
ERROR HY000: OUT or INOUT argument 1 for function pkg2.func is not allowed here
731731
DROP TABLE Persons;
732732
DROP PACKAGE pkg2;
733733
#
@@ -764,7 +764,7 @@ ID Name Age
764764
3 CCC 30
765765
4 DDD 40
766766
set @a = 4;
767-
DELETE FROM Persons WHERE ID = PKG2.func(@a);
767+
DELETE FROM Persons WHERE ID = pkg2.func(@a);
768768
SELECT * FROM Persons;
769769
ID Name Age
770770
1 AAA 10
@@ -807,8 +807,8 @@ ID Name Age
807807
3 CCC 30
808808
4 DDD 40
809809
set @a = 0;
810-
DELETE FROM Persons WHERE ID = PKG2.func(@a);
811-
ERROR HY000: OUT or INOUT argument 1 for function PKG2.func is not allowed here
810+
DELETE FROM Persons WHERE ID = pkg2.func(@a);
811+
ERROR HY000: OUT or INOUT argument 1 for function pkg2.func is not allowed here
812812
DROP TABLE Persons;
813813
DROP PACKAGE pkg2;
814814
#

mysql-test/suite/compat/oracle/t/sp-inout.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ $$
730730
DELIMITER ;$$
731731

732732
set @a = 4;
733-
INSERT INTO Persons SELECT 4, 'DDD', PKG2.func(@a);
733+
INSERT INTO Persons SELECT 4, 'DDD', pkg2.func(@a);
734734
SELECT * FROM Persons;
735735
DROP TABLE Persons;
736736
DROP PACKAGE pkg2;
@@ -770,7 +770,7 @@ DELIMITER ;$$
770770
SELECT * FROM Persons;
771771
set @a = 0;
772772
--error ER_SF_OUT_INOUT_ARG_NOT_ALLOWED
773-
INSERT INTO Persons SELECT 5, 'EEE', PKG2.func(@a);
773+
INSERT INTO Persons SELECT 5, 'EEE', pkg2.func(@a);
774774
DROP TABLE Persons;
775775
DROP PACKAGE pkg2;
776776

@@ -808,7 +808,7 @@ DELIMITER ;$$
808808

809809
SELECT * FROM Persons;
810810
set @a = 4;
811-
DELETE FROM Persons WHERE ID = PKG2.func(@a);
811+
DELETE FROM Persons WHERE ID = pkg2.func(@a);
812812
SELECT * FROM Persons;
813813
DROP TABLE Persons;
814814
DROP PACKAGE pkg2;
@@ -849,7 +849,7 @@ DELIMITER ;$$
849849
SELECT * FROM Persons;
850850
set @a = 0;
851851
--error ER_SF_OUT_INOUT_ARG_NOT_ALLOWED
852-
DELETE FROM Persons WHERE ID = PKG2.func(@a);
852+
DELETE FROM Persons WHERE ID = pkg2.func(@a);
853853
DROP TABLE Persons;
854854
DROP PACKAGE pkg2;
855855

0 commit comments

Comments
 (0)