[Devel] one more (possible) improovments of mysql module

Victor Gamov vit at lipetsk.ru
Tue Jun 19 18:56:41 CEST 2007


Hi Henning

What do you think about my last comment?

>> yes, these functions does the same thing in this case. But 
>> fetch_result does more operations (e.g. row counting) then 
>> store_result, so this would be decrease the performance of the server. 
>> The store_result function is executed from many modules.
> 
> store_result uses all same functions as fetch_result. It call 
> db_mysql_convert_result() then many functions called by 
> db_mysql_convert_result().
> 
> fetch_result more smart and do many works internally.
> 
> so if store_result and fetch_result haven't other differences we can 
> increase performance because fetch_result don't make unnecessary 
> functions calls. IMHO

-- 
CU,
Victor Gamov



More information about the Devel mailing list