summaryrefslogtreecommitdiff
path: root/src/modules/extra
Commit message (Expand)AuthorAgeFilesLines
* Tidyup and bugfix, not copying the correct column names•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4532 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-231-10/+5
* 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-239-30/+28
* Fixed to dynamically allocate the fieldlist•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4530 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-231-3/+10
* Move mysql_rpath into extra•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4527 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-232-1/+7
* *boot* youuuuu're outta here - old blocking SQL API replaced with sexy new as...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4526 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-268/+0
* 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
* More stuff to return empty lists and maps when there are no more rows in the ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4524 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-231-3/+10
* Adjust m_mysql to match the assumed behaviour of m_pgsql exactly, e.g. when t...•••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 Gravatar brain2006-07-231-10/+17
* Tidyups, optimisations and make the log messages make sense...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4522 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-10/+11
* simple logic error (check they already are +o before you set it), seems to fi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4521 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-1/+1
* Mostly updated to new API; Currently doesn't check config o:lines (should be ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4520 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-110/+179
* Give SQLfield's constructor parameters default values (effectively giving it ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4519 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-1/+1
* Remove unused variable and assignment•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4518 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-2/+0
* 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-222-12/+29
* Alter for Rows() == X, Cols() == 0 for 'X rows affected' queries•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4515 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-223-15/+12
* Change to doxygen-friendly comments, and actually document the lot•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4514 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-15/+206
* Change comment to actually be rightish•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4513 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-221-5/+3
* Reorder a couple of constructor prototypes for consistency•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4512 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-222-3/+3
* Add m_sqlutils - Currently provides ID->chan/user lookups•••Update m_sqlauth to use m_sqlutils git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4511 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-223-65/+424
* I hate the fucking mysql devs. Craq smoking bastards.•••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 Gravatar brain2006-07-222-28/+74
* Allocate id properly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4509 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-222-4/+8
* 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
* This compiles, dont expect it to work yet•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4507 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-128/+225
* Logic error, success is when the error ID *is* NO_ERROR :P•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4505 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-221-1/+1
* Stop publishing MySQL feature - check for successful publishing of SQL feature•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4504 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-2/+6
* 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
* Explicitly return false after killing user in OnCheckReady() (theoretically n...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4500 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-221-0/+1
* * Change to use QREPLY_FAIL•••* 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 Gravatar brain2006-07-221-1/+1
* Handle queries failing properly, actually work•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4498 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-221-18/+33
* 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
* Add new QREPLY_FAIL error code (bad query syntax etc)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4496 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-221-1/+3
* Add extra parameter to MySQLresult and SQLresult•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4495 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-4/+4
* Fix test client error cheecking on result types•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4494 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-8/+16
* Update to SQLv2 API•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4493 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-221-104/+162
* 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-222-5/+6
* Add back the auto reconnect•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4490 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-0/+3
* Test commit to sync after network outage•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4489 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-1/+0
* Huge ass comment about how this works•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4488 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-0/+35
* Works with the m_testclient test program/suite!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4487 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-4/+15
* Error checking and debug•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4486 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-1/+5
* Works now (again, to a point)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4485 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-4/+7
* Try and find out why stuff isnt working•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4484 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-0/+2
* Getting a bit further•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4483 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-221-6/+81
* Added notification socket•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4482 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-211-85/+90
* One mess and a half that compiles. To be tidied some day after it works (i dr...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4481 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-211-3/+166
* Deal with ? substitution, we're at the point now where we can call the mysql_...•••(mysql_real_query takes char* and length params, mysql_query just takes char*, and cant deal with NULLs) TODO after this: signal the main ircd thread that theres a result ready on a given db id, and to fetch that result and post it back to the caller git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4480 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-211-2/+72
* Seems to work to a point (dont use it, it wont actually execute a query yet)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4479 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-211-2/+86
* This now compiles, i gaurantee it doesnt work :P•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4478 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-211-134/+178
* Change includes, use --libs_r rather than mysql_config --libs, we want re-ent...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4477 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-211-3/+6