summaryrefslogtreecommitdiff
path: root/src/common/sql.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-11-16 01:56:27 +0100
committerHaru <haru@dotalux.com>2014-11-16 07:16:22 +0100
commitd5e8c4e4b75636451782098929699eb97cebebe4 (patch)
tree3d55f1ea8d423dac4d2de2446648e8d687e2db1f /src/common/sql.c
parent0689839791af36fc9207a6b6ddcc03f9dfc04692 (diff)
downloadhercules-d5e8c4e4b75636451782098929699eb97cebebe4.tar.gz
hercules-d5e8c4e4b75636451782098929699eb97cebebe4.tar.bz2
hercules-d5e8c4e4b75636451782098929699eb97cebebe4.tar.xz
hercules-d5e8c4e4b75636451782098929699eb97cebebe4.zip
Moved sql_s into sql.c
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/sql.c')
-rw-r--r--src/common/sql.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/sql.c b/src/common/sql.c
index 8ae9d3cdb..c75b90cec 100644
--- a/src/common/sql.c
+++ b/src/common/sql.c
@@ -25,6 +25,8 @@ void hercules_mysql_error_handler(unsigned int ecode);
int mysql_reconnect_type;
unsigned int mysql_reconnect_count;
+struct sql_interface sql_s;
+
/// Sql handle
struct Sql {
StringBuf buf;