SET profiling = 1;
Warnings:
Warning	1287	'@@profiling' is deprecated and will be removed in a future release.
SELECT 1;
1
1
SHOW PROFILES;
Query_ID	Duration	Query
1	#	SHOW WARNINGS
2	#	SELECT 1
Warnings:
Warning	#	'SHOW PROFILES' is deprecated and will be removed in a future release. Please use Performance Schema instead
SHOW PROFILE FOR QUERY 1;
SHOW PROFILE CPU FOR QUERY 1;
SET profiling = 0;
Warnings:
Warning	1287	'@@profiling' is deprecated and will be removed in a future release.
