summaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_mysql.cpp
diff options
context:
space:
mode:
authorGravatar peavey2009-02-12 18:05:08 +0000
committerGravatar peavey2009-02-12 18:05:08 +0000
commit7fe04dadc17c8de1f3a40f362ab44db7bad5f4d2 (patch)
tree182324b5e06fcc12dbc60ddf16ca6068838cf8fd /src/modules/extra/m_mysql.cpp
parentAh pasting, also remove this var from here (diff)
downloadinspircd++-7fe04dadc17c8de1f3a40f362ab44db7bad5f4d2.tar.gz
inspircd++-7fe04dadc17c8de1f3a40f362ab44db7bad5f4d2.tar.bz2
inspircd++-7fe04dadc17c8de1f3a40f362ab44db7bad5f4d2.zip
and here, and here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11093 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_mysql.cpp')
-rw-r--r--src/modules/extra/m_mysql.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index 479593a3e..9f772758c 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -360,9 +360,6 @@ class SQLConnection : public classbase
/* Total length of the unescaped parameters */
unsigned long maxparamlen, paramcount;
- /* Total length of query, used for binary-safety in mysql_real_query */
- unsigned long querylength = 0;
-
/* The length of the longest parameter */
maxparamlen = 0;
@@ -451,7 +448,6 @@ class SQLConnection : public classbase
*queryend = req.query.q[i];
queryend++;
}
- querylength++;
}
*queryend = 0;