the SQL_MAX_JOIN_SIZE is stored in the information_schema database on your MySQL server in the GLOBAL_VARIABLES tables.
if you have access to the information_schema database, you can use the following query to return the SQL_MAX_JOIN_SIZE value:
SELECT * FROM GLOBAL_VARIABLES WHERE VARIABLE_NAME = 'SQL_MAX_JOIN_SIZE'