<feed xmlns='http://www.w3.org/2005/Atom'>
<title>~steering/inspircd++.git/src/modules/extra/m_mysql.cpp, branch v2.0.14</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://www.cgit.space/~steering/inspircd++.git/atom/src/modules/extra/m_mysql.cpp?h=v2.0.14</id>
<link rel='self' href='https://www.cgit.space/~steering/inspircd++.git/atom/src/modules/extra/m_mysql.cpp?h=v2.0.14'/>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/'/>
<updated>2013-06-05T21:11:50Z</updated>
<entry>
<title>Remove unnecessary string copies and dead code</title>
<updated>2013-06-05T21:11:50Z</updated>
<author>
<name>attilamolnar</name>
</author>
<published>2013-06-05T21:11:50Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=d87bfc277858543ff14cd43f4222c66362464094'/>
<id>urn:sha1:d87bfc277858543ff14cd43f4222c66362464094</id>
<content type='text'>
</content>
</entry>
<entry>
<title>m_mysql Fix escaping strings longer than MAXBUF/2</title>
<updated>2013-06-01T18:53:32Z</updated>
<author>
<name>attilamolnar</name>
</author>
<published>2013-06-01T18:53:32Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=0e09600a431d0e0f2cde6457e088d84caf6d6f5d'/>
<id>urn:sha1:0e09600a431d0e0f2cde6457e088d84caf6d6f5d</id>
<content type='text'>
Quotes from the documentation:
"You must allocate the to buffer to be at least length*2+1 bytes long. (In the worst case, each character may need to be encoded as using two bytes, and you need room for the terminating null byte.)"

"The return value is the length of the encoded string, not including the terminating null character."

http://dev.mysql.com/doc/refman/5.6/en/mysql-real-escape-string.html
</content>
</entry>
<entry>
<title>m_mysql Fix crash on rehash when the database tags have been changed in the config</title>
<updated>2013-05-22T20:29:15Z</updated>
<author>
<name>attilamolnar</name>
</author>
<published>2013-05-22T20:29:15Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=8d172c077e41e08e3864615538c6b06f07f24d84'/>
<id>urn:sha1:8d172c077e41e08e3864615538c6b06f07f24d84</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Dynamically determine the size of the eventlist[] passed to Attach()</title>
<updated>2012-12-02T18:40:00Z</updated>
<author>
<name>attilamolnar</name>
</author>
<published>2012-12-02T18:40:00Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=84a1569cd60daa64b1ae52a1fff62c0dc4d78850'/>
<id>urn:sha1:84a1569cd60daa64b1ae52a1fff62c0dc4d78850</id>
<content type='text'>
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
</content>
</entry>
<entry>
<title>Windows: In-depth cleanup (see details)</title>
<updated>2012-10-12T20:31:38Z</updated>
<author>
<name>ChrisTX</name>
</author>
<published>2012-10-12T20:31:38Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=5b9682275e384635a1fd9f7320cf4d9a604a43b4'/>
<id>urn:sha1:5b9682275e384635a1fd9f7320cf4d9a604a43b4</id>
<content type='text'>
-Fix x64 builds for Windows. Now all configurations compile.
-Remove the non-working rebase stuff.
-Remove the Windows fork hack and instead use FreeConsole() to emulate the behavior. This directly allows us to compile with ASLR, which is turned on now.
-Remove the old IPC mechanism for the removed GUI. This is not needed anymore as the GUI wasn't ever supported on anything newer than 1.2
-Remove the WIN32/WINDOWS macros. _WIN32 is supported on all x86-based VC++ targets, so that's what we need.
-Enable optimizations for release builds.
-De-duplicate printf_c(), it was previously copy-pasted into colors.h for configure
-Add the VC++ specific bad files in .gitignore
-Disable PID writing on Windows. This is only making sense for *nix builds.
-Replace the CPU usage retrieval with an algorithm analogous to the *nix behavior. Also supports separated now/total values. (Tested with a dummy busy loop - seems working)
-Removed certain unused functions and variables
-Remove stdint defines from the windows wrapper
-Remove CRT debug alloc. This is a bad idea as it would define a macro to replace free which breaks builds.
-Re-evaluated the warnings list, commented it.
-Moved inspircd_config/_version to include/ to match *nix
-Removed the creation of inspircd_se_config, as it isn't used at all.
-Made non-git builds show as "r0" instead of "r" (thanks to @SaberUK for pointing this out)
-Fixed up m_spanningtree's project paths. Now all configurations (debug/release x86/x64) have been tested and build properly.
-Moved FindDNS out of the wrapper and matched its log behavior with *nix. (It's pointless having it in the wrapper after the recent slimming down)
-Replaced random/srandom wrappers with a mechanism that tries to use Windows' Random API first is no SSL module is loaded.
-Removed more old junk from support for compilers older than VC++ 2010 (we don't have project files for these, so compiling them would be hard anyways)
-Removed the unused ClearConsole()
-Removed unused includes from the wrapper. Also, do not include psapi.h here if we don't link psapi.lib. This should be done where appropriate.
-Made inet_aton an inline function for increased performance
-C4800, performance warning about bool forcing, resolved at all occurrences.
-C4701, uninitialized variable 'cached', resolved at all occurrences.
-dlerror() was migrated out of the wrapper for more thread safety (no global buffer being shared) and increased performance.
-Removed the wrong CRT debug flags. This drains a lot of performance.
-Removed the clock_gettime/gettimeofday wrappers
-Replaced all TCHAR/ANSI mix-ups of functions with the correct respective function.
-Added a block of C4355 for &lt; VS2012
-Update project files for c870714
</content>
</entry>
<entry>
<title>Remove superfluous std::string()s</title>
<updated>2012-10-12T01:57:39Z</updated>
<author>
<name>attilamolnar</name>
</author>
<published>2012-07-24T12:54:29Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=c8b41aa5d256d99eee67ec94492a94dc30e0ea35'/>
<id>urn:sha1:c8b41aa5d256d99eee67ec94492a94dc30e0ea35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed crash in m_mysql if a module is unloaded while executing</title>
<updated>2012-09-13T17:50:25Z</updated>
<author>
<name>Adam</name>
</author>
<published>2012-09-13T17:50:25Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=e39da8182472ffa85819110f199bc8b1cfc19b07'/>
<id>urn:sha1:e39da8182472ffa85819110f199bc8b1cfc19b07</id>
<content type='text'>
a query and there is only one query in the queue to be executed.
</content>
</entry>
<entry>
<title>Replace copyright headers with headers granting specific authors copyright</title>
<updated>2012-04-19T18:58:29Z</updated>
<author>
<name>Robby-</name>
</author>
<published>2012-04-19T18:58:29Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=46a39046196f55b52336e19662bb7bac85b731ac'/>
<id>urn:sha1:46a39046196f55b52336e19662bb7bac85b731ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix extras compilation under Windows</title>
<updated>2011-06-18T21:25:35Z</updated>
<author>
<name>Adam</name>
</author>
<published>2011-06-18T21:25:35Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=699a8b2fc82949bfd5a39acc5b00670a5c350b4d'/>
<id>urn:sha1:699a8b2fc82949bfd5a39acc5b00670a5c350b4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove m_sqlv2.h from these modules, they both use v3 now.</title>
<updated>2010-10-15T10:37:24Z</updated>
<author>
<name>Dennis Friis</name>
</author>
<published>2010-10-15T10:37:24Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=9133c3302428eb81f6d970502f811e8168079d5a'/>
<id>urn:sha1:9133c3302428eb81f6d970502f811e8168079d5a</id>
<content type='text'>
</content>
</entry>
</feed>
