12.04.2013, 16:44
Oh yes, I forgot completely.
My server had 100-150k Line of Coding, 20-200 Peak users.
Dan.. Plug-ins seem used more cpu than BlugG (R6) I think may be plugin had memory or cpu leak? PS. No crash detected, No warning. Good work keep up! |
This is interesting, what would be really cool if you decided to release a PostgreSQL plugin in the future! There already has been demand for one which you may have seen already:
https://sampforum.blast.hk/showthread.php?tid=413650 |
mysql_escape_string Pings the MySQL server. Syntax mysql_escape_string(handle, src[], dest[], dest_len) handle <MySQL > The MySQL handle used for escaping the string. src < [] > The source of the unescaped string. dest < [] > The destination where the escaped string will be stored. dest_len The capacity of the destination. Returns The length of the escaped string. Remarks Estimated stack usage 1 cells
You have an error in the documentation:
Code:
mysql_escape_string Pings the MySQL server. Syntax mysql_escape_string(handle, src[], dest[], dest_len) handle <MySQL > The MySQL handle used for escaping the string. src < [] > The source of the unescaped string. dest < [] > The destination where the escaped string will be stored. dest_len The capacity of the destination. Returns The length of the escaped string. Remarks Estimated stack usage 1 cells |
Are you aware that the binaries in the first post don't match the include?
Edit: If anyone wants an updated example script using the newest plugin version (the one with "sql" not "mysql" function names, that currently you have to compile yourself): https://github.com/Y-Less/YSI-Includ...sers/Dan10.inc Edit 2: I keep getting a syntax error when I run this query through the plugin: Код:
SELECT @Y:=MAX(yid) FROM y_users_preload;INSERT INTO y_users_preload VALUES(DEFAULT, @Y + 1, 'Alex', '9BD7575A156544838F2BD3A3DC2FAAADED4D88250B65EF82D6CFC5BE9179BBD8EF13000685376268DF705F6FC2F4FFC5254AF8D1ED3FD99B49B89FB9AF651D91', 'EN', 0, 1368148884);SELECT (@Y + 1); |