diff options
-rw-r--r-- | src/modules/extra/m_mssql.cpp | 4 | ||||
-rw-r--r-- | src/modules/extra/m_mysql.cpp | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/modules/extra/m_mssql.cpp b/src/modules/extra/m_mssql.cpp index 0b197efe5..742921966 100644 --- a/src/modules/extra/m_mssql.cpp +++ b/src/modules/extra/m_mssql.cpp @@ -359,9 +359,6 @@ class SQLConn : public classbase /* Total length of the unescaped parameters */ unsigned long maxparamlen, paramcount; - /* Total length of query, used for binary-safety */ - unsigned long querylength = 0; - /* The length of the longest parameter */ maxparamlen = 0; @@ -486,7 +483,6 @@ class SQLConn : public classbase *queryend = req.query.q[i]; queryend++; } - querylength++; } *queryend = 0; req.query.q = query; 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; |