Error Info: MySQL Query Error

Time: 2018-01-23 23:54:18
Script: /link.php

SQL: select * from house_ad_6, house_ad where mtype=17 and house_ad_6.ad_id=61 and house_ad.status=1
Error: The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay
Errno.: 1104