Posts: 1,190
Threads: 196
Joined: Dec 2011
Reputation:
0
hi all, i am changing my gamemode to the new system orm( i guess it is faster) but when i put the new version i see that this function
mysql_insert_id()
doesn't exists.
We have something similar? it gets the AUTO_INCREMENT id
Posts: 1,097
Threads: 97
Joined: Jul 2010
Reputation:
0
Hi, it's me again. After my update to R39-2 I noticed another problem: the plugin's performance on startup is very bad from localhost. Loading 66 rows with cache takes up to 12 seconds. This is the same for the other loading processes. My server even hangs because of it, going from OnPlayerConnect to OnPlayerRequestClass takes 102 (!!!) seconds. It worked like a charm before, when I was using R17.
I'm pretty sure I'm doing something wrong here. My OS is Windows 7 32-bit, I'm only using threaded queries (pqueries) in my script.
Posts: 21
Threads: 4
Joined: Feb 2013
Reputation:
0
Many people have this error and no solution given by the FAQ works..
Posts: 864
Threads: 57
Joined: Jan 2013
Reputation:
0
@Patrick_ : This is not an acceptable solution.
I mean, if he hadn't have the good include version, this would be a compiler error message, and thus not a run time error message.
Posts: 845
Threads: 3
Joined: Jun 2010
Quote:
Originally Posted by iLegendary
Many people have this error and no solution given by the FAQ works..
|
Many people (in our case exactly 2) also underestimate the solution with redistributables and don't install them or just place some .dll's randomly downloaded from some shady dll-sites and place them somewhere to make things work.
So if you really correctly installed those 3 x86 (32 bit) redistributables and it still don't works, make sure that
- your Windows is up2date
- you are using the correct libmysql.dll
- you never "installed" (placed manually) some .dll's you downloaded from the internet
Which version of Windows are you using btw?
Quote:
Originally Posted by S4t3K
@Patrick_ : This is not an acceptable solution.
I mean, if he hadn't have the good include version, this would be a compiler error message, and thus not a run time error message.
|
This is the only solution. Do you really think you can't compile a script with a higher-version include and run that script with a lower-version plugin? Well of course you can do that, just like MrWallace.
Posts: 21
Threads: 4
Joined: Feb 2013
Reputation:
0
Window 7 Family Prenium SP1 (x64)
Posts: 845
Threads: 3
Joined: Jun 2010
Quote:
Originally Posted by iLegendary
Window 7 Family Prenium SP1 (x64)
|
And you are sure you followed all points I mentioned? I honestly can't see any other reason apart from wrong dll-management and missing redistributables. You could also try starting the server in compatibility mode with administrator rights.
Quote:
Originally Posted by Pupak
Suggestion for future version:
pawn Код:
native mysql_query_file(connectionHandle, file[], callback[] = "", format[] = "", {Float,_}:...); native mysql_tquery_file(connectionHandle, file[], callback[] = "", format[] = "", {Float,_}:...); native mysql_pquery_file(connectionHandle, file[], callback[] = "", format[] = "", {Float,_}:...);
That functions would read queries from the file and then fire it. It's scriptable of course, but currently I have to buffer every statement (query) in the file and then fire it one by one. Plus, you can dynamically allocate and release the memory where the query is stored in the plugin. I'm currently using it to set up the database if tables aren't created already.
It's nothing important, but if you run out of ideas, why not?
|
I'll think about it, but it's a nice idea (so it's likely that I will implement this in R40).
Posts: 21
Threads: 4
Joined: Feb 2013
Reputation:
0
Ok, i fixed problem : i reinstall my window 7, i fixed mscvp100 and other, and i reinstall one per one redistributables