04.07.2014, 18:09
Yesterday I upgraded from R17 to R39-2 and I have a few questions about this new update.
1) I've decided to go with the rewritten multi-thread system, but how does the pool_size option work exactly? I understand that it regulates the amount of threads. Are there any consequences if you set this to a high number? Are pools and connection handles the same thing?
2) Since mysql_ping has been removed I tried reaching a similar effect by using OnQueryError. However, it does not seem to work. I receive no print in my console.
Am I doing something wrong here?
* And yes, I used this site for the error code.
3) Can you tell me for sure that all crashing problems regarding the %e-parameter in mysql_format have been fixed?
This was a real pain in the ass a year or so ago, and if I remember correctly the fix was rather problematic.
1) I've decided to go with the rewritten multi-thread system, but how does the pool_size option work exactly? I understand that it regulates the amount of threads. Are there any consequences if you set this to a high number? Are pools and connection handles the same thing?
2) Since mysql_ping has been removed I tried reaching a similar effect by using OnQueryError. However, it does not seem to work. I receive no print in my console.
pawn Код:
public OnQueryError(errorid, error[], callback[], query[], connectionHandle)
{
if(errorid == 2003*) return print("No reacho MySQLlo servo");
return printf("[MYSQL]: Error in query: (%s)\nError ID %d: %s.", query, errorid, error);
}
* And yes, I used this site for the error code.
3) Can you tell me for sure that all crashing problems regarding the %e-parameter in mysql_format have been fixed?
This was a real pain in the ass a year or so ago, and if I remember correctly the fix was rather problematic.