I'm currently running MySQL 5.0.67. I upgraded from .Net connector 5.2.2.0 to 6.3.5.0 because I was having an issue with MySqlDataReader.Read hanging. However, after fixing that through other means, I found another problem. Stored procedures that had worked under 5.2.2.0 started throwing an error saying "OUT or INOUT argument 1 for routine <db.procedureName> is not a variable or NEW pseudo-variable in BEFORE trigger". I downgraded back to 5.2.2.0 and it went right back to working. Procedure is something like
CREATE PROCEDURE db.procedureName(INOUT v_param INT)
BEGIN
SELECT a, b, c
FROM table
where id = v_param;
END
The procedure is generated, so even though I don't need it to be defined as INOUT, that's the way it's generated, and I can't do anything about that right now.
I don't really have time to set up a new database or instance and new app to test with and create a bug report, but if anyone has seen anything like this, I'd appreciate any insight.
CREATE PROCEDURE db.procedureName(INOUT v_param INT)
BEGIN
SELECT a, b, c
FROM table
where id = v_param;
END
The procedure is generated, so even though I don't need it to be defined as INOUT, that's the way it's generated, and I can't do anything about that right now.
I don't really have time to set up a new database or instance and new app to test with and create a bug report, but if anyone has seen anything like this, I'd appreciate any insight.