summaryrefslogtreecommitdiff
path: root/sql/winservice.h
Commit message (Collapse)AuthorAgeFilesLines
* fix clang-cl warningsVladislav Vaintroub2022-02-021-1/+0
|
* MDEV-27092 Windows - services that have non-ASCII characters do not work ↵Vladislav Vaintroub2021-12-151-2/+175
| | | | | | | | | | | | | | with activeCodePage=UTF8 CreateServiceA, OpenServiceA, and couple of other functions do not work correctly with non-ASCII character, in the special case where application has defined activeCodePage=UTF8. Workaround by redefining affected ANSI functions to own wrapper, which works by converting narrow(ANSI) to wide, then calling wide function. Deprecate original ANSI service functions, via declspec, so that we can catch their use.
* Revert "MDEV-26713 Windows - improve utf8 support for command line tools"st-10.8-wladVladislav Vaintroub2021-11-191-167/+3
| | | | This reverts commit several commits pushed by mistake.
* xxxVladislav Vaintroub2021-11-181-13/+13
|
* MDEV-26713 Windows- UTF8 encoding in the installerVladislav Vaintroub2021-11-181-2/+166
| | | | | | | | | | | | | | | | | | | | Workaround Windows' bug in services "ANSI" when process ANSI codepage is UTF8. They turn out to work unlike any other API . Expected behavior : strings be converted from GetACP() to Unicode, and "wide" function would be then called. Actual current behavior : it seems to handle strings as-if they would be encoded in system-default ACP, rather than process-specific GetACP() Fix: redefine the OpenService,CreateService and ChangeServiceConfig and do ANSI-Wide conversion outselves. Tell compiler to deprecate some ANSI service functions. xxx
* Update FSF addressMichal Schorm2019-05-101-1/+1
| | | | | | | | | | | | | | | This commit is based on the work of Michal Schorm, rebased on the earliest MariaDB version. Th command line used to generate this diff was: find ./ -type f \ -exec sed -i -e 's/Foundation, Inc., 59 Temple Place, Suite 330, Boston, /Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, /g' {} \; \ -exec sed -i -e 's/Foundation, Inc. 59 Temple Place.* Suite 330, Boston, /Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, /g' {} \; \ -exec sed -i -e 's/MA.*.....-1307.*USA/MA 02110-1335 USA/g' {} \; \ -exec sed -i -e 's/Foundation, Inc., 59 Temple/Foundation, Inc., 51 Franklin/g' {} \; \ -exec sed -i -e 's/Place, Suite 330, Boston, MA.*02111-1307.*USA/Street, Fifth Floor, Boston, MA 02110-1335 USA/g' {} \; \ -exec sed -i -e 's/MA.*.....-1307/MA 02110-1335/g' {} \;
* CRLF->LFSergei Golubchik2015-06-021-40/+40
|
* fix the include guards and add missing gplv2 headersSergei Golubchik2012-02-171-0/+16
|
* split long lines, use get_mysql_service_properties()Vladislav Vaintroub2011-01-301-0/+24