summaryrefslogtreecommitdiff
path: root/src/mysql.c
AgeCommit message (Collapse)Author
2008-11-02Rip out SQL. It's utterly useless in current implementation.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1502 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-15Merge branch 'anopeng-config' of http://git.inspircd.org/git/anope/ into ↵Naram Qashat cyberbotx@cyberbotx.com
anopeng-config git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1449 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03Make mysql compile.peavey peavey@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1405 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Merge commit 'cbx/anopeng-uid' into anopeng-uidRobin Burchell w00t@inspircd.org
Conflicts: include/extern.h include/services.h src/protocol/bahamut.c src/protocol/inspircd11.c git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1320 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-23BUILD : 1.7.22 (1450) BUGS : NOTES : Fixed a number of remaining buffer ↵viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b
overflows in NS and CS not addressed by previous commit. git-svn-id: svn://svn.anope.org/anope/trunk@1450 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1164 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-13BUILD : 1.7.21 (1345) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1345 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1060 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-30BUILD : 1.7.20 (1328) BUGS : 812 NOTES : Fixed a bug where multiple grouped ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
nicks and not all of them listed in ServicesRoot could result in services roots not becoming services root when using MySQL git-svn-id: svn://svn.anope.org/anope/trunk@1328 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1044 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-27BUILD : 1.7.19 (1272) BUGS : N/A NOTES : Patch provided by teh heinz: [1] ↵drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
Updated the WIN32.txt document a bit [2] Re-worded the CHAN_LEVELS_XOP string in en_us.l git-svn-id: svn://svn.anope.org/anope/trunk@1272 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@990 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-26BUILD : 1.7.19 (1265) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1265 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@983 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-06BUILD : 1.7.18 (1221) BUGS : 659 NOTES : Fixed a mistake in the MySQL code ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
with identifying services roots git-svn-id: svn://svn.anope.org/anope/trunk@1221 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@940 5417fbe8-f217-4b02-8779-1006273d7864
2007-01-06BUILD : 1.7.18 (1219) BUGS : NOTES : Fixed a missing backtick in the INSERT ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
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
2006-12-24BUILD : 1.7.17 (1210) BUGS : 645 646 647 NOTES : Fixed anoperc restart, ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
nickchanges on TS6, typo in CHAN_REGISTER_NONE_CHANNEL; added error messages when RDB functions fail (thx heinz) git-svn-id: svn://svn.anope.org/anope/trunk@1210 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@929 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-23BUILD : 1.7.17 (1209) BUGS : NOTES : Another batch of changes regarding ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
RDB/MySQL; all functions are now doing proper error reporting; errors are not yet handled properly git-svn-id: svn://svn.anope.org/anope/trunk@1209 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@928 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-09BUILD : 1.7.17 (1203) BUGS : NOTES : Small MySQL fix which should have ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
already been in git-svn-id: svn://svn.anope.org/anope/trunk@1203 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@922 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-09BUILD : 1.7.17 (1198) BUGS : NOTES : Reviewed and updated all of the MySQL ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
code... git-svn-id: svn://svn.anope.org/anope/trunk@1198 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@917 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-18BUILD : 1.7.17 (1188) BUGS : N/A NOTES : Make the mysql secure check easier ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
to read... its ugly :( git-svn-id: svn://svn.anope.org/anope/trunk@1188 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@908 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-18BUILD : 1.7.17 (1187) BUGS : N/A NOTES : Put mysql secure back to how it ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
should be - i think git-svn-id: svn://svn.anope.org/anope/trunk@1187 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@907 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-17BUILD : 1.7.17 (1185) BUGS : N/A NOTES : Encryption now offers the choice of ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
none, old and md5 - the md5 module is nicely taken from irc-services and actaully works, yes, real md5, in anope, wow eh? git-svn-id: svn://svn.anope.org/anope/trunk@1185 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@905 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-17BUILD : 1.7.16 (1180) BUGS : 614 NOTES : Fixed: [1] MySQL not storing ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
passwords at all (blank passes) [2] saving of ttb with MySQL/RDB was completely fubar [3] do not send PONG-flood anymore on db-load... git-svn-id: svn://svn.anope.org/anope/trunk@1180 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@901 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-16BUILD : 1.7.16 (1177) BUGS : NOTES : Fixed MySQL query debug to not ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
excessivly quote queries before displaying in debug mode git-svn-id: svn://svn.anope.org/anope/trunk@1177 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@898 5417fbe8-f217-4b02-8779-1006273d7864
2006-09-10BUILD : 1.7.15 (1150) BUGS : 595 NOTES : Fixed MySQL making a new connection ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
for each query (bit TOO enthousiastic?) git-svn-id: svn://svn.anope.org/anope/trunk@1150 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@873 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-21BUILD : 1.7.15 (1138) BUGS : 585 NOTES : Another attempt at fixing ↵dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
db_mysql_query() git-svn-id: svn://svn.anope.org/anope/trunk@1138 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@861 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-21BUILD : 1.7.15 (1137) BUGS : n/a NOTES : Another try at better mysql query. dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1137 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@860 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-14BUILD : 1.7.15 (1133) BUGS : N/A NOTES : Improved robustness on ↵dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
db_mysql_query() git-svn-id: svn://svn.anope.org/anope/trunk@1133 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@856 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-04Undoing last commit because it isn't needed.certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1081 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@805 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-04# BUILD : 1.7.14 (1080) # BUGS : 491? # NOTES : rewrote exception system ↵certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
due to a bug we couldn't track down. git-svn-id: svn://svn.anope.org/anope/trunk@1080 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@804 5417fbe8-f217-4b02-8779-1006273d7864
2005-08-29Memory leak when using mysql to save data.rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@860 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@612 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-08BUILD : 1.7.8 (607) BUGS : N/A NOTES : Clean up after proxy was removed, ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
some Win32 touch ups git-svn-id: svn://svn.anope.org/anope/trunk@607 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@455 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-07BUILD : 1.7.8 (606) BUGS : NOTES : Removed proxy detector code from the ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
core, threads stuff still there. Needs good testing git-svn-id: svn://svn.anope.org/anope/trunk@606 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@454 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-27BUILD : 1.7.7 (556) BUGS : N/A NOTES : synced headers so our copyright is ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2005, Solid IRCD compiles again, fixed sstrdup() error, updated the documentation a bit, cleaned up ratbox a bit. git-svn-id: svn://svn.anope.org/anope/trunk@556 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@409 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-19BUILD : 1.7.6 (489) BUGS : 244, 246, 247, 248, 249, 250, 251, 252, 254, 255 ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
NOTES : 1. In some cases READONLY was not respected, and data was saved. 2. Corrected a few mistakes in example.conf. 3. Wrong column type in tables.sql for nick alias status fiag. 4. listchans and listnicks work under Cygwin. 5. NickRegDelay no longer accepts negative values. 6. -is44 option not show if converter not built. 7. Removed #ifndef STREAMLINE from the code as its no longer set during build time 8. MS MAX LIMIT was set incorrectly 9. Segfault if USERDB enabled and tables does not exist 10. Provides clear message of SUPERADMIN is not enabled git-svn-id: svn://svn.anope.org/anope/trunk@489 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@343 5417fbe8-f217-4b02-8779-1006273d7864
2004-11-21BUILD : 1.7.6 (456) BUGS : N/A NOTES : Disables UseRDB if SQL fails to init trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@456 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@310 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-13BUILD : 1.7.5 (395) BUGS : N/A NOTES : Fixed a typo in all source files, and ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
merged sstrdup and anopeStrDup, as they do the same thing git-svn-id: svn://svn.anope.org/anope/trunk@395 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@260 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-12BUILD : 1.7.5 (391) BUGS : N/A NOTES : Code tidy, added make strict to the ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
makefile, allowing ansi Wall pedantic to be used for compiling git-svn-id: svn://svn.anope.org/anope/trunk@391 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@256 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-12BUILD : 1.7.5 (390) BUGS : 149 NOTES : Bug in MySQL debug, possibly causing ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
segfaults. git-svn-id: svn://svn.anope.org/anope/trunk@390 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@255 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-29BUILD : 1.7.5 (362) BUGS : 17 143 147 166 172 173 NOTES : Applied patch 927 ↵dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
provided by Trystan. git-svn-id: svn://svn.anope.org/anope/trunk@362 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@233 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-19BUILD : 1.7.5 (351) BUGS : N/A NOTES : Rewrote the internals of moduleData, ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
this will save _lots_ of memory especially on larger networks. The downside is modules using it need to make a tiny, tiny change... :/ git-svn-id: svn://svn.anope.org/anope/trunk@351 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@227 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-17BUILD : 1.7.5 (350) BUGS : NOTES : Changed mysql init checks so they are ↵ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b
only done if mysql is enabled. Many Thanks to DrStein for the patch. git-svn-id: svn://svn.anope.org/anope/trunk@350 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@226 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-09BUILD : 1.7.5 (342) BUGS : #00 NOTES : Certus: Replaced current ↵keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b
rand-implementation with arc4random and replaced C++ comments with C-style comments (gcc 2.95 might complain). git-svn-id: svn://svn.anope.org/anope/trunk@342 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@218 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-26BUILD : 1.7.5 (335) BUGS : 142, 152, 154, 155, 156, 157, 158 NOTES : Applied ↵dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
bugfix bundle patch from Trystan. git-svn-id: svn://svn.anope.org/anope/trunk@335 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@211 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-23BUILD : 1.7.5 (330) BUGS : N/A NOTES : More indent fun! rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@330 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@206 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-23BUILD : 1.7.5 (329) BUGS : N/A NOTES : Fixed more indent crap rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@329 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@205 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-23BUILD : 1.7.5 (328) BUGS : N/A NOTES : Fixed a couple of null char entrys on ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
svn git-svn-id: svn://svn.anope.org/anope/trunk@328 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@204 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-23BUILD : 1.7.5 (327) BUGS : none NOTES : Merged anope-capab into main trunk... dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@327 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@203 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-01BUILD : 1.7.4 (298) BUGS : none NOTES : Yet another rollback... dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@298 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@186 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-01BUILD : 1.7.4 (296) BUGS : NOTES : Next try to commit. keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@296 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@185 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-01BUILD : 1.7.4 (295) BUGS : none NOTES : Rolling back previous commit. dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@295 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@184 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-01BUILD : 1.7.4 (294) BUGS : NOTES : First import. Current status: ↵keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b
anope_bs_core finished for new phase1, anope_cs_access working for cs access add. git-svn-id: svn://svn.anope.org/anope/trunk@294 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@183 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-19BUILD : 1.7.4 (264) BUGS : N/A NOTES : Switched to autoconf - try to commit ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
part 1 git-svn-id: svn://svn.anope.org/anope/trunk@264 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@169 5417fbe8-f217-4b02-8779-1006273d7864