views:

21

answers:

0

Can anyone tell me why my scripts will run out of memory (allocating over 16MB) for a prepared statement that shouldnt need even close to that? The only way I can fix it is by running store_result() before i run bind_result()

I am assuming that by using store_result() it tells the script exactly how much memory the statement needs and if we leave it out it just allocates the max possible for the MySQL column type?

Thanks