Where does Additional /**/OR/**/SLEEP code comes from in MariaDB SELECT query

52 Views Asked by At

Additional /**/OR/**/SLEEP code in MariaDB query

Since I upgrade MariaDB for the 10.5.19-MariaDB-0+deb11u2 - Debian 11, I get some 504 Gateway Time-out. And if I run SHOW PROCESSLIST in MariaDB database, I get this output:

MariaDB [(none)]> SHOW FULL PROCESSLIST;
+-------+-----------------+-----------+------------+---------+------+---------------------------------+--------------------------------------------------------------------------------+----------+
| Id    | User            | Host      | db         | Command | Time | State                           | Info                                                                           | Progress |
+-------+-----------------+-----------+------------+---------+------+---------------------------------+--------------------------------------------------------------------------------+----------+
|   311 | admin           | localhost | psa        | Sleep   |   20 |                                 | NULL                                                                           |    0.000 |
|  8203 | textiles_userdb | localhost | textiles   | Query   | 1114 | User sleep                      | SELECT NOTICE_titre FROM tAfficheNotice WHERE NoticeId = 55/**/OR/**/SLEEP(10) |    0.000 |

My concern is that I dont have written the part /**/OR/**/SLEEP(10) in the code of my query.

How can this part of code appear in my query ? Where does it come from ? How can I prevent it to be added ?

0

There are 0 best solutions below