SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 19/07/2017, 08:09 PM   #6101
Mellnik
Gangsta
 
Mellnik's Avatar
 
Join Date: Dec 2011
Location: Paradise Falls, CAℕADA
Posts: 797
Reputation: 369
Default Re: [REL] MySQL Plugin (Now on github!)

maddinat0r did a great job maintaining this plugin. Not a single crash back then when I was still running a server. The new features like orm also were very helpful.
We should thank him for his work.
Mellnik is offline   Reply With Quote
Old 19/07/2017, 11:47 PM   #6102
Maceo7
Little Clucker
 
Join Date: Jul 2017
Posts: 6
Reputation: 0
Default Re: [REL] MySQL Plugin (Now on github!)

Very good plugins, it's a pity to have an complete query when we use orm update whereas we only update one property.
Maceo7 is offline   Reply With Quote
Old 20/07/2017, 12:00 AM   #6103
Kaperstone
High-roller
 
Kaperstone's Avatar
 
Join Date: May 2011
Location: Home
Posts: 3,126
Reputation: 650
Default Re: [REL] MySQL Plugin (Now on github!)

Quote:
Originally Posted by Maceo7 View Post
Very good plugins, it's a pity to have an complete query when we use orm update whereas we only update one property.
I am not sure what you're saying, what is the issue the plugin features a function to send rich queries?
__________________
Find me on GitHub SEF community (Official NEF Successor) Ko ko nut.
Kaperstone is online now   Reply With Quote
Old 20/07/2017, 12:08 AM   #6104
Maceo7
Little Clucker
 
Join Date: Jul 2017
Posts: 6
Reputation: 0
Default Re: [REL] MySQL Plugin (Now on github!)

Quote:
Originally Posted by Kaperstone View Post
I am not sure what you're saying, what is the issue the plugin features a function to send rich queries?
if you update only one field, ORM will generate a query and update all your fields even if 90% doesn't change.
Maceo7 is offline   Reply With Quote
Old 03/08/2017, 03:22 PM   #6105
ISmokezU
Gangsta
 
Join Date: Aug 2016
Posts: 503
Reputation: 58
Default Re: [REL] MySQL Plugin (Now on github!)

Code:
[06:22:44] [debug] Server crashed due to an unknown error
[06:22:44] [debug] Native backtrace:
[06:22:44] [debug] #0 68d1f1d3 in ?? () from log-core.dll
[06:22:44] [debug] #1 68d12214 in ?? () from log-core.dll
[06:22:44] [debug] #2 68d12440 in ?? () from log-core.dll
[06:22:44] [debug] #3 68d11c77 in ?? () from log-core.dll
[06:22:44] [debug] #4 68d13d61 in ?? () from log-core.dll
[06:22:44] [debug] #5 68d64532 in ?? () from plugins\mysql.DLL
[06:22:44] [debug] #6 00469ab5 in ?? () from samp-server.exe
[06:22:44] [debug] #7 65646f6d in ?? () from samp-server.exe
[06:22:44] [debug] #8 414c2f73 in ?? () from samp-server.exe
[06:22:44] [debug] #9 524e434d in ?? () from samp-server.exe
[06:22:44] [debug] #10 786d612e in ?? () from samp-server.exe
This has never happened to me before the server was working fine all the time when I tried starting it again it gave these errors.

It's clearly saying the log-core.dll is the problem but I don't see how I didn't do or change anything.

I tried downgrading and updating everything and it's still happening could someone help me out here? Thanks.

Edit: Problem was solved.

Last edited by ISmokezU; 08/08/2017 at 12:55 PM.
ISmokezU is online now   Reply With Quote
Old 08/08/2017, 10:59 AM   #6106
Perdun
Little Clucker
 
Join Date: Mar 2014
Posts: 15
Reputation: 0
Default Re: [REL] MySQL Plugin (Now on github!)

Hello. I have a problem. We moved the mod to MySQL R41-2, but my hosting does not support CentOs7. Can you compile the plug-in under CentOS 6
Perdun is offline   Reply With Quote
Old 08/08/2017, 04:36 PM   #6107
Jeroen52
Gangsta
 
Jeroen52's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 803
Reputation: 62
Default Re: [REL] MySQL Plugin (Now on github!)

Quote:
Originally Posted by Perdun View Post
Hello. I have a problem. We moved the mod to MySQL R41-2, but my hosting does not support CentOs7. Can you compile the plug-in under CentOS 6
MySQL plugin R39 is the latest version supported for MySQL 6.
__________________
Jeroen52 is offline   Reply With Quote
Old 12/08/2017, 09:44 AM   #6108
Freedom.
Big Clucker
 
Join Date: Oct 2012
Location: Turkey
Posts: 136
Reputation: 8
Unhappy Re: [REL] MySQL Plugin (Now on github!)

Any ideas? I am using latest version.
VPS: Centos 7 x64
Other plugins: SKY streamer sscanf Whirlpool
Code:
*** Error in `./samp03svr': free(): corrupted unsorted chunks: 0x0e13ee78 ***
======= Backtrace: =========
/lib/libc.so.6(+0x753bd)[0xb74e13bd]
/lib/libstdc++.so.6(_ZdlPv+0x1f)[0xb76d197f]
/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1b)[0xb7738edb]
/lib/libstdc++.so.6(+0xaff20)[0xb7738f20]
plugins/mysql.so(+0x34e7a)[0xb743ee7a]
plugins/mysql.so(+0x43490)[0xb744d490]
plugins/mysql.so(_ZNSt14_Function_base13_Base_managerISt5_BindIFSt7_Mem_fnIM6CQueryFvvEESt10shared_ptrIS3_EEEE10_M_managerERSt9_Any_dataRKSC_St18_Manager_operation+0x120)[0xb7427900]
plugins/mysql.so(+0x1e50d)[0xb742850d]
plugins/mysql.so(ProcessTick+0x24)[0xb74517d4]
./samp03svr[0x80d1ce2]
./samp03svr[0x80aef6c]
./samp03svr[0x80aa13a]
/lib/libc.so.6(__libc_start_main+0xf3)[0xb74859a3]
./samp03svr[0x804b4e1]
Freedom. is offline   Reply With Quote
Old 14/08/2017, 07:35 PM   #6109
maddinat0r
Gangsta
 
maddinat0r's Avatar
 
Join Date: Jun 2010
Location: Germany
Posts: 881
Reputation: 459
Default Re: [REL] MySQL Plugin (Now on github!)

Quote:
Originally Posted by Maceo7 View Post
if you update only one field, ORM will generate a query and update all your fields even if 90% doesn't change.
I could implement that, however this would require me to cache all values of the registered PAWN variables and always check if the value changed before generating the query. This likely has a bigger performance-impact than generating a longer query.

Quote:
Originally Posted by Freedom. View Post
Any ideas? I am using latest version.
VPS: Centos 7 x64
Other plugins: SKY streamer sscanf Whirlpool
Code:
*** Error in `./samp03svr': free(): corrupted unsorted chunks: 0x0e13ee78 ***
======= Backtrace: =========
/lib/libc.so.6(+0x753bd)[0xb74e13bd]
/lib/libstdc++.so.6(_ZdlPv+0x1f)[0xb76d197f]
/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1b)[0xb7738edb]
/lib/libstdc++.so.6(+0xaff20)[0xb7738f20]
plugins/mysql.so(+0x34e7a)[0xb743ee7a]
plugins/mysql.so(+0x43490)[0xb744d490]
plugins/mysql.so(_ZNSt14_Function_base13_Base_managerISt5_BindIFSt7_Mem_fnIM6CQueryFvvEESt10shared_ptrIS3_EEEE10_M_managerERSt9_Any_dataRKSC_St18_Manager_operation+0x120)[0xb7427900]
plugins/mysql.so(+0x1e50d)[0xb742850d]
plugins/mysql.so(ProcessTick+0x24)[0xb74517d4]
./samp03svr[0x80d1ce2]
./samp03svr[0x80aef6c]
./samp03svr[0x80aa13a]
/lib/libc.so.6(__libc_start_main+0xf3)[0xb74859a3]
./samp03svr[0x804b4e1]
Can you reproduce this? If yes, enable debug logging, reproduce that crash and post the log file.
maddinat0r is offline   Reply With Quote
Old 17/08/2017, 10:22 PM   #6110
JasonRiggs
Huge Clucker
 
Join Date: Jul 2016
Location: My bedroom.
Posts: 465
Reputation: 16
Default Re: [REL] MySQL Plugin (Now on github!)

Uhm, Link for MySQL Library installation?
__________________


Server IP: 185.12.178.71:7799
Website: nyakos-rp.weebly.com
Beta Launched!
JasonRiggs is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
****** Project: Glass int3s0 Everything and Nothing 99 26/02/2013 05:22 PM
MySQL Plugin R5 plugin problem dud Scripting Help 12 05/12/2011 07:28 PM
Strikens Mysql vs BlueG's Mysql plugin PrawkC Scripting Help 4 30/09/2011 11:30 AM
[help][plugin] Can't load mysql plugin mariomako Help Archive 8 16/07/2011 03:37 PM
mysql plugin. loading plugin failed ikkentim Help Archive 2 10/02/2011 03:32 PM


All times are GMT. The time now is 03:05 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.