Bug #118157 | Depricated warning bug "Setting user variables within expressions is deprecated" | ||
---|---|---|---|
Submitted: | 9 May 12:35 | Modified: | 19 Jun 10:42 |
Reporter: | Justin Levene | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 8.4.5 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[9 May 12:35]
Justin Levene
[20 May 12:35]
MySQL Verification Team
Hello Justin Levene, Thank you for the bug report. I tried to reproduce your issue on windows 11 with MySQL Server 8.4.5 and followed exact procedure but I am not seeing any issues at my end. Regards, Ashwini Patil
[19 Jun 10:42]
Justin Levene
CREATE PROCEDURE `test`() MODIFIES SQL DATA BEGIN # Establishing starting numbers for all root elements. UPDATE `tmp_tree` SET `LFT` = @startID := @startID + 1, `RGT` = @startID := @startID +1 WHERE `parent_id` IS NULL AND `LFT` IS NULL AND `RGT` IS NULL ORDER BY `idx` desc; END;; and also: CREATE TRIGGER `hms_main_AFTER_UPDATE` AFTER UPDATE ON `hms_main` FOR EACH ROW BEGIN set @i=0; update `test` set `TIME`=DATE_ADD(now(6), INTERVAL @i:=@i+1 MICROSECOND); END ;;