[Tutorial] Using MySQL R39 with Threaded Queries and Password Salting.
#3

Too much outdated stuff. This isn't worth the 'R39' mentioning.
  • mysql_function_query and OnQueryFinish are outdated. Use mysql_tquery or mysql_pquery instead.
  • Using cache_get_row_count is also over cache_get_data since most of the time you don't care about the fields.
  • using strval or floatstr is unnecesarry since you have *_int and *_float functions.
  • getting fields by name is slower than field index
  • cache_get_row_count returns the row count directly, rather than by reference, which makes for easy looping:
    pawn Code:
    for(new i, j = cache_get_row_count(); i < j; i++)
Lastly, this tutorial seems to be a mix from different scripts. One time you're using g_handle, then you're using Pipeline.
Reply


Messages In This Thread
Using MySQL R39 with Threaded Queries and Password Salting. - by Chillstep - 19.06.2014, 15:41
Re: Using MySQL R39 with Threaded Queries and Password Salting. - by Chillstep - 19.06.2014, 16:23
Re: Using MySQL R39 with Threaded Queries and Password Salting. - by Vince - 19.06.2014, 16:28
Re: Using MySQL R39 with Threaded Queries and Password Salting. - by Patrick - 19.06.2014, 16:40

Forum Jump:


Users browsing this thread: 1 Guest(s)