SA-MP Forums Archive
[Plugin] [REL] MySQL Plugin (Now on github!) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] [REL] MySQL Plugin (Now on github!) (/showthread.php?tid=56564)



Re: [REL] MySQL Plugin (Google Project) - Scenario - 27.01.2013

I am glad you decided to not completely remove this wonderful plugin. I seriously was quite upset when you removed the download links. I could understand not supporting the project any further, but removing the download links ticked me off because you have put a ton of effort into this and I would hate to see it just go to waste.

One question; what exactly is different between R7 and R8?


Re: [REL] MySQL Plugin (Google Project) - AndreT - 27.01.2013

From the Google Code project site changelog (https://code.google.com/p/sa-mp-mysq...in/source/list): destination array length is checked when it is about to be formatted so attempts to insert more information than an array can hold are avoided (these could lead to crashes). Although if this happened, it could be considered to be a problem in the scripter's methods, this is still a very welcome change!


Re: [REL] MySQL Plugin (****** Project) - maddinat0r - 12.02.2013

There is actually a changelog.
https://code.******.com/p/sa-mp-mysq...in/source/list
And for the lazy ones:
- bug fixes
- thanks to maddin4t0r for two of them
- got rid of stringsteam (it was causing troubles with cells containing '\n')


Re: [REL] MySQL Plugin (****** Project) - IstuntmanI - 12.02.2013

Quote:
Originally Posted by Pain123
Посмотреть сообщение
There is actually a changelog.
https://code.******.com/p/sa-mp-mysq...in/source/list
And for the lazy ones:
- bug fixes
- thanks to maddin4t0r for two of them
- got rid of stringsteam (it was causing troubles with cells containing '\n')
Tell us what you understand from this.

Are the empty strings fixed ?


Re: [REL] MySQL Plugin (****** Project) - maddinat0r - 12.02.2013

The empty result bug with the mysql_x-functions is fixed.
There is still the bug, that you can't store strings in multi-dimensional arrays with the cache-functions.
But I've already provided a patch (fix) for that bug. Let's see if it gets approved.


Re: [REL] MySQL Plugin (****** Project) - Kyle - 12.02.2013

Quote:
Originally Posted by Pain123
Посмотреть сообщение
There is actually a changelog.
https://code.******.com/p/sa-mp-mysq...in/source/list
And for the lazy ones:
- bug fixes
- thanks to maddin4t0r for two of them
- got rid of stringsteam (it was causing troubles with cells containing '\n')
I knew it was in the change log, but what bug exactly got fixed?


Re: [REL] MySQL Plugin (****** Project) - maddinat0r - 12.02.2013

Quote:
Originally Posted by Pain123
Посмотреть сообщение
The empty result bug with the mysql_x-functions is fixed.
There is still the bug, that you can't store strings in multi-dimensional arrays with the cache-functions.
But I've already provided a patch (fix) for that bug. Let's see if it gets approved.
4char


Re: [REL] MySQL Plugin (****** Project) - KrYpToDeN - 13.02.2013

https://code.******.com/p/sa-mp-mysq...downloads/list
mysql-r15-win.zip MySQL r15 for Windows Featured
Could you give r15 for linux please?


Re: [REL] MySQL Plugin (****** Project) - maddinat0r - 13.02.2013

What would you all think about a function to save cache results and use them whenever you like?


Re: [REL] MySQL Plugin (****** Project) - Kyle - 13.02.2013

Quote:
Originally Posted by Pain123
Посмотреть сообщение
What would you all think about a function to save cache results and use them whenever you like?
That is nice but why not just save them in variables and use the vars whenever you like.


Re: [REL] MySQL Plugin (****** Project) - maddinat0r - 13.02.2013

And what if you want to store a big amount of data?
And why even create new vars if you have the vars in the plugin that already contain all that data you want to save?


Re: Respuesta: Re: [REL] MySQL Plugin (****** Project) - Reboma - 13.02.2013

Oh i didn't saw that.

Then reuploaded.


Re: [REL] MySQL Plugin (****** Project) - Faskis - 13.02.2013

Quote:
Originally Posted by Pain123
Посмотреть сообщение
There is still the bug, that you can't store strings in multi-dimensional arrays with the cache-functions.
But I've already provided a patch (fix) for that bug. Let's see if it gets approved.
Any news on this? I'm not going to be update the plugin until this has been fixed because a fair amount of data in our script uses strings stored in arrays.


Re: [REL] MySQL Plugin (****** Project) - maddinat0r - 13.02.2013

Dan said he will talk with BlueG about that fix. No result yet.


Re: [REL] MySQL Plugin (****** Project) - Edvin - 14.02.2013

Is the R8 stable version?


Respuesta: Re: [REL] MySQL Plugin (****** Project) - oOFotherOo - 14.02.2013

Quote:
Originally Posted by Edvin
Посмотреть сообщение
Is the R8 stable version?
No, R7 is plus stable.


Re: [REL] MySQL Plugin (****** Project) - JRISETH - 14.02.2013

Awesome release, many thanks.


Re: [REL] MySQL Plugin (****** Project) - CKA3KuH - 14.02.2013

Quote:
Originally Posted by Reboma
Посмотреть сообщение
Linux version (r15) (Compiled on Debian 6 Squeeze)
Thnk! It works!


Re: [REL] MySQL Plugin (****** Project) - kurta999 - 14.02.2013

Quote:
Originally Posted by Edvin
Посмотреть сообщение
Is the R8 stable version?
R8 r15 is the best, there are many bugs fixed which exists in R7.


Respuesta: [REL] MySQL Plugin (****** Project) - oOFotherOo - 14.02.2013

The R8 is BUG mysql_format function does not recognize the parameter %e and %s.