summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-07-25Fix NOTICE $* to go between serversbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4536 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Change watchlist to a list of pointers, can operate and iterate much fasterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4534 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23In the constructor which doesnt set Request::id, we set Request::id ↵brain
explicitly to '\0', which will prevent such a request accidentally breaking an id-supporting module with an uninitialized buffer :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4533 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Tidyup and bugfix, not copying the correct column namesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4532 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Change to use GetId() and ID rather than GetData() and dataom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4531 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Fixed to dynamically allocate the fieldlistbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4530 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Add an ID field to Request and a GetId() method, takes const char* and ↵om
returns it - Added new constructor to use it, all modules using ID should convert to the 'new' way of doing Requests, data is now theoretically depreceiated git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4529 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Move mysql_rpath into extrabrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4527 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23*boot* youuuuu're outta here - old blocking SQL API replaced with sexy new ↵om
async one <3 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4526 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Free, as they should be, fieldlist and/or fieldmap in destructor of ↵om
PgSQLresult *if* they were allocated git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4525 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23More stuff to return empty lists and maps when there are no more rows in the ↵brain
dataset git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4524 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Adjust m_mysql to match the assumed behaviour of m_pgsql exactly, e.g. when ↵brain
there are now rows left return an empty row Fix mistake which required a reference to be freed (?!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4523 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Tidyups, optimisations and make the log messages make sense...om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4522 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23simple logic error (check they already are +o before you set it), seems to ↵om
fix +o issue git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4521 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Mostly updated to new API; Currently doesn't check config o:lines (should be ↵om
tried before SQL ones); Doesn't seem to set UMODE +o properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4520 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Give SQLfield's constructor parameters default values (effectively giving it ↵om
a default constructor), lets SQLfieldMap actually be useable.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4519 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-23Remove unused variable and assignmentom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4518 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Make m_pgsql return the number of affected rows for an UPDATE or INSERT query.om
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
2006-07-22Added m_mysql.so and m_pgsql.so to docs, remove m_sql.so, RETAIN ALPHA ORDER.brain
*ALL OTHER DEVS* please add your modules to this config file when you have time, thanks ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4516 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Alter for Rows() == X, Cols() == 0 for 'X rows affected' queriesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4515 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Change to doxygen-friendly comments, and actually document the lotbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4514 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Change comment to actually be rightishom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4513 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Reorder a couple of constructor prototypes for consistencyom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4512 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Add m_sqlutils - Currently provides ID->chan/user lookupsom
Update m_sqlauth to use m_sqlutils git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4511 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22I hate the fucking mysql devs. Craq smoking bastards.brain
Upon Insert, number of rows is the number of rows effected but the number of columns is 0????? Add check to MySQLreply::Rows() to ensure the user doesnt see N rows and 0 columns! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4510 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Allocate id properlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4509 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Actually hook up the OnUnloadModule event >_<om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4508 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22This compiles, dont expect it to work yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4507 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Logic error, success is when the error ID *is* NO_ERROR :Pom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4505 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Stop publishing MySQL feature - check for successful publishing of SQL featurebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4504 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Stop publishing the PgSQL feature ( :-'( )om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4503 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Fix -modupdate to not break inspircd_se_config.h (a configure-written header ↵brain
that contains an include for the socketengine header) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4502 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Make OnCheckReady safe against the user being killed, SO LONG AS THE MODULE ↵brain
WHICH D/C'S THE USER RETURNS FALSE git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4501 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Explicitly return false after killing user in OnCheckReady() (theoretically ↵om
no change, but just makes sure..) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4500 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22* Change to use QREPLY_FAILbrain
* Adjust error message so that it appears in the format: "<errno>: <err message>" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4499 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Handle queries failing properly, actually workom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4498 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Set the SQLresult's error field properly when the query failsom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4497 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Add new QREPLY_FAIL error code (bad query syntax etc)om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4496 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Add extra parameter to MySQLresult and SQLresultbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4495 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Fix test client error cheecking on result typesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4494 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Update to SQLv2 APIom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4493 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Set the ID in the request *before* we copy it by value why not..om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4492 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22*hide*, I forgot to include the ID in the SQLresult *rehide*om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4491 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Add back the auto reconnectbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4490 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Test commit to sync after network outagebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4489 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Huge ass comment about how this worksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4488 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Works with the m_testclient test program/suite!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4487 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Error checking and debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4486 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Works now (again, to a point)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4485 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-22Try and find out why stuff isnt workingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4484 e03df62e-2008-0410-955e-edbf42e46eb7