I just realized that there are lines in the sql files (.sql
) which start with /*!
and are NOT comments and they are executed to do some system level tasks.
I want to know what the lines starting with /*!
really mean for MySQL and why use that number beside the symbols (4000 in my example).
Here is the example:
/*!40000 ALTER TABLE `my_table` DISABLE KEYS */;
INSERT INTO my_table VALUES ('value1','value2');
/*!40000 ALTER TABLE `my_table` ENABLE KEYS */;
Edit: I don't think this question is a duplicate as per the linked question. This question is about how MySQL treats it. It didn't ask how to remove these comments and the question doesn't see it as a comment for MySQL.