aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra/m_pgsql.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Set the query string in the SQLquery to the copy with parameters substituted in.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4475 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-211-1/+3
* Implemenet parameter substitution (damn sexy if you ask me..)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4474 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-211-25/+79
* Add tiny perl script to detect version and pass an appropriate -D to gcc. Mak...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4472 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-211-3/+8
* API header and client module updates for new multi-parameter query request. N...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4471 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-211-8/+34
* Updates, should be able to safely unload client modules with queries in progr...•••Ideas on how to test this welcome ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4464 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-201-3/+53
* Okay, working PostgreSQL module, API header and example client module in /ext...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4463 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-201-9/+150
* Okay, this is getting towards working now. It just needs the API finishing......•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-201-378/+496
* Fixes/codes of the query queue, various prototypes and stuff...mostly commite...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4401 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-161-26/+42
* Making lots of stuff inherit from classbase so we can use it as a holdall cla...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4297 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-1/+1
* Okay..updates to u_listmode, general cleanups and add some virtual methods wh...•••Update m_chanfilter to use u_listmode, demonstrates most or all of the new features of it and looks a hell of a lot prettier :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4201 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-091-58/+103
* More stuff for m_pgsql in, provider-side API stuff semi-done•••Add m_sqlv2 header for the new API git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4122 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-071-45/+152
* modules.*: Put some void* back to char*, sorry if they were only like that be...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4119 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-071-28/+36
* Change InspSocket's private members to only be protected, I couldn't find any...•••Commit very first, very alpha, not-very functional version of the PostgreSQL module. It compiles..and that's..err..about it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4112 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-031-0/+519