From bd6a836a8819643ae60100535b31693b4f0ee654 Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sat, 6 Jan 2007 17:31:07 +0000 Subject: [PATCH] BUILD : 1.7.18 (1219) BUGS : NOTES : Fixed a missing backtick in the INSERT query for newsitems git-svn-id: svn://svn.anope.org/anope/trunk@1219 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@938 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 1 + src/mysql.c | 2 +- version.log | 6 +++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index d506055ac..c0ac59058 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,7 @@ Anope Version S V N 01/02 F Issues with both InspIRCd protocol modules. [ #00] 01/02 F Error reporting on LIST commands accepting ranges. [#622] 01/02 F ChanServ LIST now searches for '#chan' if only 'chan' is given. [#622] +01/06 F Missing backtick in SQL query for saving news items. [ #00] Anope Version 1.7.18 -------------------- diff --git a/src/mysql.c b/src/mysql.c index 62e316010..96899be44 100644 --- a/src/mysql.c +++ b/src/mysql.c @@ -941,7 +941,7 @@ int db_mysql_save_news(NewsItem * ni) if (ret && (mysql_affected_rows(mysql) == 0)) { ret = db_mysql_try("INSERT DELAYED INTO anope_os_news " - "(type, num, ntext, who, time`, active) " + "(type, num, ntext, who, `time`, active) " "VALUES (%d, %d, '%s', '%s', %d, 1)", ni->type, ni->num, q_text, q_who, (int) ni->time); } diff --git a/version.log b/version.log index 5146b350e..b1d0e7692 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="18" VERSION_EXTRA="-svn" -VERSION_BUILD="1218" +VERSION_BUILD="1219" # $Log$ # +# BUILD : 1.7.18 (1219) +# BUGS : +# NOTES : Fixed a missing backtick in the INSERT query for newsitems +# # BUILD : 1.7.18 (1218) # BUGS : 622 # NOTES : Fixed ChanServ LIST to now search for <#chan> if only is given; Fixed all LIST commands to give error reporting when specifying incorrect ranges.