mysql_free_result

(PHP 3, PHP 4 )

mysql_free_result -- Free result memory

설명

int mysql_free_result ( int result)

mysql_free_result()result에 대한 메모리(memory)에 있는 내용을 모두 제거한다.

mysql_free_result()는 결과로부터 얻은 질의 값이 커서 많은 메모리를 사용할 염려가 있을 때 사용된다. 단, 결과 값은 스크립트(script) 실행부가 종료되면서 메모리에서 자동적으로 지워진다.

mysql_freeresult()와는 하위 호환성이 있다.