summaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_mysql.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Tidyup and bugfix, not copying the correct column namesGravatar brain2006-07-231-10/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4532 e03df62e-2008-0410-955e-edbf42e46eb7
* Change to use GetId() and ID rather than GetData() and dataGravatar om2006-07-231-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4531 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to dynamically allocate the fieldlistGravatar brain2006-07-231-3/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4530 e03df62e-2008-0410-955e-edbf42e46eb7
* Move mysql_rpath into extraGravatar brain2006-07-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4527 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuff to return empty lists and maps when there are no more rows in the ↵Gravatar brain2006-07-231-3/+10
| | | | | | dataset git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4524 e03df62e-2008-0410-955e-edbf42e46eb7
* Adjust m_mysql to match the assumed behaviour of m_pgsql exactly, e.g. when ↵Gravatar brain2006-07-231-10/+17
| | | | | | | | | 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
* Alter for Rows() == X, Cols() == 0 for 'X rows affected' queriesGravatar brain2006-07-221-7/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4515 e03df62e-2008-0410-955e-edbf42e46eb7
* I hate the fucking mysql devs. Craq smoking bastards.Gravatar brain2006-07-221-6/+10
| | | | | | | | 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
* Allocate id properlyGravatar brain2006-07-221-4/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4509 e03df62e-2008-0410-955e-edbf42e46eb7
* Stop publishing MySQL feature - check for successful publishing of SQL featureGravatar brain2006-07-221-2/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4504 e03df62e-2008-0410-955e-edbf42e46eb7
* * Change to use QREPLY_FAILGravatar brain2006-07-221-1/+1
| | | | | | | * 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
* Add extra parameter to MySQLresult and SQLresultGravatar brain2006-07-221-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4495 e03df62e-2008-0410-955e-edbf42e46eb7
* Add back the auto reconnectGravatar brain2006-07-221-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4490 e03df62e-2008-0410-955e-edbf42e46eb7
* Test commit to sync after network outageGravatar brain2006-07-221-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4489 e03df62e-2008-0410-955e-edbf42e46eb7
* Huge ass comment about how this worksGravatar brain2006-07-221-0/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4488 e03df62e-2008-0410-955e-edbf42e46eb7
* Works with the m_testclient test program/suite!Gravatar brain2006-07-221-4/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4487 e03df62e-2008-0410-955e-edbf42e46eb7
* Error checking and debugGravatar brain2006-07-221-1/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4486 e03df62e-2008-0410-955e-edbf42e46eb7
* Works now (again, to a point)Gravatar brain2006-07-221-4/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4485 e03df62e-2008-0410-955e-edbf42e46eb7
* Try and find out why stuff isnt workingGravatar brain2006-07-221-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4484 e03df62e-2008-0410-955e-edbf42e46eb7
* Getting a bit furtherGravatar brain2006-07-221-6/+81
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4483 e03df62e-2008-0410-955e-edbf42e46eb7
* Added notification socketGravatar brain2006-07-211-85/+90
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4482 e03df62e-2008-0410-955e-edbf42e46eb7
* One mess and a half that compiles. To be tidied some day after it works (i ↵Gravatar brain2006-07-211-3/+166
| | | | | | dread that day.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4481 e03df62e-2008-0410-955e-edbf42e46eb7
* Deal with ? substitution, we're at the point now where we can call the ↵Gravatar brain2006-07-211-2/+72
| | | | | | | | | | mysql_real_query function (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
* Seems to work to a point (dont use it, it wont actually execute a query yet)Gravatar brain2006-07-211-2/+86
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4479 e03df62e-2008-0410-955e-edbf42e46eb7
* This now compiles, i gaurantee it doesnt work :PGravatar brain2006-07-211-134/+178
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4478 e03df62e-2008-0410-955e-edbf42e46eb7
* Change includes, use --libs_r rather than mysql_config --libs, we want ↵Gravatar brain2006-07-211-3/+6
| | | | | | re-enterant libs for pthreads git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4477 e03df62e-2008-0410-955e-edbf42e46eb7
* Move this to m_mysql.cpp - dont even bother reading this yet its unchanged ↵Gravatar brain2006-07-211-0/+400
from m_sql git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4476 e03df62e-2008-0410-955e-edbf42e46eb7