aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra/m_mysql.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2023-04-281-2/+1
* Fix PackageInfo directives in extra modules.Gravatar Sadie Powell2023-01-191-3/+3
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+2
* Fix an incompatibility between MySQL and MariaDB.Gravatar Sadie Powell2022-12-181-0/+2
* Add SSL support to the mysql module.Gravatar Sadie Powell2022-12-181-0/+4
* Silence a warning in the mysql module on MySQL 8.0.27.Gravatar Sadie Powell2021-10-251-1/+8
* Update copyright headers.Gravatar InspIRCd Robot2021-08-271-2/+2
* Fix various spelling issues (#1883).•••Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Gravatar Josh Soref2021-06-211-3/+3
* Migrate Windows builds to installing their dependencies via Conan.Gravatar Sadie Powell2021-06-071-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-04-241-2/+2
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-3/+3
* Fix an oversight in mkversions that caused it to not update extras.Gravatar Sadie Powell2020-04-101-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+10
* Refactor the MySQL code slightly.Gravatar Peter Powell2019-11-161-9/+10
* Refactor the MySQL query and result queue classes.Gravatar Peter Powell2019-11-131-33/+52
* Get rid of some dead code in the MySQL module.Gravatar Peter Powell2019-11-131-9/+0
* Improve the logic around connecting to a MySQL server.•••- The connection timeout can now be customised with <database:timeout>. - <database:port> is now limited to the 1-65535 range. - The MySQL library will now not install a SIGPIPE handler as it would override the default InspIRCd ignore behavopur. - Errors caused by setting the default character set and executing the initial query are now no longer ignored. Gravatar Peter Powell2019-11-131-17/+32
* Add GetId() to the SQL::Provider class.Gravatar Peter Powell2019-11-131-2/+4
* Improve escaping strings in the MySQL module.Gravatar Peter Powell2019-08-201-23/+29
* Initialise and deallocate the MySQL library correctly.Gravatar Peter Powell2019-08-201-0/+6
* Add package names for ArchLinux.Gravatar Peter Powell2019-07-161-0/+1
* Reset diagnostic pragmas after including external headers (#1661).Gravatar linuxdaemon2019-06-241-0/+7
* Log SQL queries at the debug log level.•••This makes debugging issues easier. Gravatar Peter Powell2019-06-141-0/+1
* Replace all abstract usages of his/he/her with they/their/it.Gravatar Peter Powell2019-06-071-1/+1
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
* Fix SQL modules using "provider" in <database> instead of "module".•••This fixes a regression introduced in 97a1d642. Gravatar Peter Powell2018-09-271-1/+1
* Fix a few things that should be marked as override but aren't.Gravatar Peter Powell2018-08-211-1/+1
* Make more config stuff case insensitive.Gravatar Peter Powell2018-07-241-1/+1
* Use mysql_real_escape_string instead of mysql_escape string.•••This is not exploitable as far as I know but it is probably best that we use the newer function just in case. Closes #649 (although the attack mentioned in that issue was not feasible). Gravatar Peter Powell2018-07-151-3/+2
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-1/+1
* Remove the default value in ConfigTag::get{Duration,Float,Int}.Gravatar Peter Powell2018-04-161-1/+1
* SQL: Add HasColumn() to check if a result contains a named column.Gravatar Daniel Vassdal2018-04-071-0/+13
* Fix building on Windows (mostly).Gravatar Peter Powell2018-02-171-2/+2
* Improve and modernize the SQL system API.•••- Move everything into the SQL namespace and drop the SQL prefix. - Move SQLProvider::PopulateUserInfo to SQL::PopulateUserInfo. - Rename SQLEntry to SQL::Field and clean up. - Rename SQLEntries to SQL::Row. - Rename SQLerror to SQL::Error and clean up. - Rename SQLerrorNum to SQL::ErrorCode and drop the SQL_ prefix. - Rename ParamL to SQL::ParamList. - Rename ParamM to SQL::ParamMap; - Make implementing SQLQuery::OnError mandatory. - Redo most of the documentation in the sql header. Gravatar Peter Powell2017-12-221-26/+26
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-8/+8
* Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-121-2/+0
|\
| * Update wiki links to use HTTPS and point to the correct pages.•••When we release 3.0 these links will break as they will point to the pages for 3.0 rather than 2.0. Gravatar Peter Powell2017-10-151-2/+0
* | Add PackageInfo directives for Debian.Gravatar Peter Powell2017-10-211-0/+1
* | Add CentOS PackageInfoGravatar Adam2016-09-161-0/+2
* | Rewrite the build system directive parser.Gravatar Peter Powell2016-09-161-3/+6
* | Fix m_mysql warning about use of C++11 features on C++03.•••NO_CLIENT_LONG_LONG was removed in a recent version of MySQL. Gravatar Peter Powell2016-08-191-2/+6
* | m_mysql Add charset config optionGravatar Florian Praden2015-02-061-0/+6
* | Change type of some associative containers to their flat versions, including ...Gravatar Attila Molnar2014-12-151-1/+1
* | Merge insp20Gravatar Attila Molnar2014-07-251-3/+1
|\|
| * Change Windows libraries to be dynamically linkedGravatar Adam2014-04-131-3/+1
* | Change allocation of InspIRCd::Threads to be physically part of the object co...Gravatar Attila Molnar2014-06-131-1/+1
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-4/+2
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-1/+0
* | Merge insp20Gravatar attilamolnar2013-06-061-12/+18
|\|