[CS:GO] Can I use SQL in the course of the game?
Hello,
I have to you question. Can I use SQL queries during the game? Because I have a problem that sometimes crashes the server. I use standard SQL query (SQL_TQuery). Example: PHP Code:
Thank you for the explanation and answer. |
Re: [CS:GO] Can I use SQL in the course of the game?
what is 'h_query' and why are you closing it? Most plugins use sql queries mid game perfectly fine.
|
Re: [CS:GO] Can I use SQL in the course of the game?
Thank you for the reply. I checked what it is. I have found that basically I do not use it.
PHP Code:
sm_dump_handles Thanks for answer. |
Re: [CS:GO] Can I use SQL in the course of the game?
Invalid info
Spoiler
|
Re: [CS:GO] Can I use SQL in the course of the game?
Quote:
|
Re: [CS:GO] Can I use SQL in the course of the game?
Thanks for reply. How do I know which handles is the need to close? It is necessary for SQL_TQuery to close the handles?
|
Re: [CS:GO] Can I use SQL in the course of the game?
Quote:
|
Re: [CS:GO] Can I use SQL in the course of the game?
Thanks for reply. I looked in the log and I found this:
Mysql Error: Lost connection to MySQL server during query Which in turn will cause a server crash. Where there may be an error? |
Re: [CS:GO] Can I use SQL in the course of the game?
Code similar to what you gave in your first post shouldn't crash the server and neither should losing your database connection. You might want to try posting a crash dump if possible (perhaps using Accelerator).
|
All times are GMT -4. The time now is 03:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.