summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_pgsql.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Add TTL stuff to dns system (pass it to inherited objects)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-071-2/+2
* Use SQLhost from m_sqlv2.h and tidyup some code. Plus throw less module excep...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6212 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-01-021-88/+36
* Fix to allow for OnRehash to know what user initiated the rehash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-011-1/+1
* Tidyup a bit, get rid of some valgrind warnings.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6191 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-311-157/+143
* Make it safe to lose connection to sql server.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6183 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-301-36/+84
* Remove a line of debug that could crash Log.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6180 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-301-2/+1
* This is a longshot, pls test AnnMaster.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6178 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-301-1/+2
* The world is coming to an end!!! RUN AWAY!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6175 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-301-0/+1
* Fix typo in warning, and make it sound less like the world is coming to an end.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6174 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-301-1/+1
* Now REHASH checks for same and old connections, same as the DNS resolver. So ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6173 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-301-35/+95
* Majorly funk around with this, still needs check for config change on REHASH.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6168 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-301-182/+190
* Oops slippy fingers.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6160 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-291-1/+1
* Less debug.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6159 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-291-4/+0
* Fix for rehash/load/unload.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6158 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-291-14/+20
* Writing beyond malloc'ed mem of a char pointer will crash with a vengeance. F...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6155 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-291-1/+1
* Change the SQLutils and SQL providers to also use interfaces for proper unloa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6149 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-281-7/+18
* Still more massive commit fun. Headers in include/ still to be done, else tha...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-7/+3
* Update $ModDep lines so that these properly depend on their headers in the ma...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5853 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-041-0/+1
* Merge pgsql stuff from darix, but im sure theres something to be looked at in...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5776 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-191-2/+1
* Add fix for patch #166 (this is a reasonably big one)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5679 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-101-1/+1
* Oops, memory leaks!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5512 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-221-2/+2
* Insert massive change here.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-191-1/+1
* Document more classes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5435 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-061-0/+2
* Now with binary versioning goodness•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-011-1/+1
* Mini security audit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5333 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-251-1/+1
* 1) Make earlier fix to inspsocket actually compile without error•••2) Make sure that query string is sent back in the reply git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5155 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-09-071-6/+9
* EventHandler class, an abstraction for raw i/o•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4941 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-181-5/+2
* Catch exceptions from SQLresolver•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4910 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-08-121-3/+10
* Just to mess with om's head, remove helperfuncs.h from everywhere•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-1/+1
* Change to using Instance->Log (InspIRCd::Log) rather than log() macro•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-59/+59
* Now two types of log macro, log() and ilog(). log() assumes an InspIRCd objec...•••TODO: Run a regexp over these, using perl, to translate them into InspIRCd::Log calls and then eliminate the macro :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4879 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-54/+54
* Change to use InspIRCd::Time()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4874 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-2/+2
* extern time_t TIME -> InspIRCd::Time()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-2/+0
* Somehow, i'd cp'd all these and was making local changes :/•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4868 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-111-14/+13
* Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.•••Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-3/+3
* PublishFeature, FindFeature, FindModule, PriorityBefore, PriorityAfter -> Ins...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4846 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-1/+1
* Wrong version given in check it seems. Om can review this later, but now it c...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4822 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-1/+0
* Change some resolver stuff.•••OM, THIS STILL WONT COMPILE! Error on the same line git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4821 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-1/+1
* This wont build. :(•••m_pgsql.cpp:1125: error: cannot convert `char*' to `PGconn*' for argument `1' to `size_t PQescapeStringConn(PGconn*, char*, const char*, size_t, int*)' git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4813 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-1/+1
* Move socket_ref and module_sockets vectors/arrays into InspIRCd*. These are p...•••(eventually, this will be marshalled safely through some accessors). When constructing an InspSocket you must now provide an InspIRCd* instance to 'attach' the socket to. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4812 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-6/+5
* Add checking on AddFd that was missing (it assumed, like everything else)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4781 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-1/+6
* Untested but compiling updates for Resolver DNS API•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4766 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-08-071-83/+189
* Change to use GetId() and ID rather than GetData() and data•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4531 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-2/+2
* Free, as they should be, fieldlist and/or fieldmap in destructor of PgSQLresu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4525 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-0/+7
* Make m_pgsql return the number of affected rows for an UPDATE or INSERT query.•••Make m_testclient do an INSERT and test this :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4517 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-221-4/+14
* Actually hook up the OnUnloadModule event >_<•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4508 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-221-1/+1
* Stop publishing the PgSQL feature ( :-'( )•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4503 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-221-1/+0
* Set the SQLresult's error field properly when the query fails•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4497 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-221-2/+13
* Set the ID in the request *before* we copy it by value why not..•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4492 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-221-1/+3
* *hide*, I forgot to include the ID in the SQLresult *rehide*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4491 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-221-3/+3