summaryrefslogtreecommitdiff
path: root/sql/mysql_upgrade_service.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-111-2/+2
|\
| * 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' {} \;
* | MDEV-19427 mysql_upgrade_service throws exception upgrading from 10.0 to 10.3Vladislav Vaintroub2019-05-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | The crash happens when writing into log file. The reason is likely that the call to WriteFile() was missing a valid parameter for lpNumberOfBytesWritten. This seems only to happen on ancient version of Windows. Since the fix to MDEV-16430 in 141bc58ac992, null pointer was passed instead of valid pointer. The fix is to provide a valid lpNumberOfBytesWritten parameter.
* | Merge branch '10.0' into 10.1Vicențiu Ciorbaru2018-06-121-5/+15
|\ \
| * | MDEV-16445 mysql_upgrade_service should add skip-slave-start to server start ↵Vladislav Vaintroub2018-06-081-1/+1
| | | | | | | | | | | | parameters
| * | MDEV-16430: mysql_upgrade_service does not write log file.Vladislav Vaintroub2018-06-081-4/+14
| |/ | | | | | | | | | | Fixed CreateFile() for the log file - TRUNCATE_EXISTING does not create a new file, use CREATE_ALWAYS - Make log file handle inheritable
* | Correct FSF addressiangilfillan2017-03-101-1/+1
|/
* - Properly terminate options array with all-zero entry.Vladislav Vaintroub2011-05-201-5/+6
| | | | - Fix CRLF end of lines, use LF instead
* mwl#59 - windows installer. Vladislav Vaintroub2011-03-091-112/+83
| | | | Address Monty's review comments
* MWL#55: mysql_upgrade_service.exe will now ensure that datadir is always ↵Vladislav Vaintroub2011-02-081-15/+14
| | | | written to my.ini file
* Remove --loose-skip-pbxt kludge from mysql_install_db Vladislav Vaintroub2011-02-041-5/+0
| | | | | and mysql_upgrade_service, after LPBUG#688404 was fixed.
* MWL#55: Handle cases where service was installed with Vladislav Vaintroub2011-02-041-2/+26
| | | | | | | | | | | mysqld --install without any parameters. In such case, service name is always MYSQL, as service binary path is "path\to\mysqld.exe" "MySQL". Guess data directory it is either from my.ini (which is assumed to be in the installation root), or just data directory under install root.
* MWL#55 : Add banner text to command line utilitiesVladislav Vaintroub2011-02-031-8/+16
| | | | (Philip's review)
* Move common functionality (analyze service configuration) into winservice ↵Vladislav Vaintroub2011-01-301-49/+23
| | | | library
* MWL#55 - mysql_upgrade_service.exe Vladislav Vaintroub2011-01-291-0/+550
New utility to upgrade Windows service to higher MariaDB version. Its functionality includes changing service definition as well as running mysql_upgrade.