summaryrefslogtreecommitdiff
path: root/server-tools
Commit message (Collapse)AuthorAgeFilesLines
* Many files:kent@mysql.com/kent-amd64.(none)2006-12-2341-82/+41
| | | | Changed header to GPL version 2 only
* Fixed compiler warningsmonty@mysql.com/narttu.mysql.fi2006-11-302-3/+0
| | | | Don't assert if my_thread_end() is called twice (common case)
* Remove compiler warningsmonty@mysql.com/nosik.monty.fi2006-11-201-10/+10
| | | | | | | (Mostly in DBUG_PRINT() and unused arguments) Fixed bug in query cache when used with traceing (--with-debug) Fixed memory leak in mysqldump Removed warnings from mysqltest scripts (replaced -- with #)
* Instance Manager polishing.anozdrin/alik@alik.2006-10-205-61/+47
|
* Fix Bug #19368 Failure in "flush_instances" causes assert in Thread_registrypetr/cps@mysql.com/owlet.local2006-10-052-2/+20
| | | | Stop guardian and all the rest of threads before shutdown in case of an error
* Fix Bug #22472 IM: --socket option should be removed from Windows versionpetr/cps@mysql.com/owlet.local2006-10-052-3/+3
| | | | | the option is useless on windows. It was removed from listing of mysqlmanager --help on Windows
* Merge ↵msvensson@neptunus.(none)2006-09-263-19/+36
|\ | | | | | | | | | | neptunus.(none):/home/msvensson/mysql/bug22379_runtime/my50-bug22379_runtime into neptunus.(none):/home/msvensson/mysql/mysql-5.0-runtime
| * Bug #22379 im_daemon_life_cycle.test fails on merge of 5.1 -> 5.1-enginesmsvensson@neptunus.(none)2006-09-253-19/+36
| | | | | | | | | | | | | | | | | | Remove race situations that occur when removing pidfiles. Primarily each process should remove its own pidfile, secondly it should be removed by the process that created it and _only_ if it's certain the process is dead. Third, mysql-test-run.pl will remove the pidfile when process has been killed. - Set state of an instance to STARTING _before_ calling instance->start() - Check that pidfile of instance has been created before changing STARTING => STARTED - Only remove the pidfile if IM kills an instance with SIGKILL, otherwise the instance will remove it itself
* | Merge alik.:/mnt/raid/alik/MySQL/devel/5.0-treeanozdrin/alik@alik.2006-09-051-19/+23
|\ \ | | | | | | | | | into alik.:/mnt/raid/alik/MySQL/devel/5.0-rt
| * | Fix for BUG#12751: Instance Manager: client hangs afteranozdrin/alik@alik.2006-09-011-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | start instance; kill mysqlmanager; show ... The problem was that Instance Manager didn't close client sockets (sockets for client connections) on execing mysqld instance. So, mysqld-instance inherits these descriptors. The fix is to set close-on-exec flag for each client socket.
* | | make dist changes for Cmake buildgeorg@lmy002.wdf.sap.corp2006-09-012-1/+3
| | |
* | | Additional files for cmake supportgeorg@lmy002.wdf.sap.corp2006-08-312-0/+35
|/ /
* | Merge zippy.cornsilk.net:/home/cmiller/work/mysql/merge/tmp_mergecmiller@zippy.cornsilk.net2006-08-171-4/+4
|\ \ | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.0
| * | relying on loop counter variables being local to the loop body if hartmut@mysql.com/linux.site2006-08-051-4/+4
| | | | | | | | | | | | | | | declared in the 'for' statement is not portable, some compilers still don't implement this ANSI C++ specification (Bug #14995)
* | | Merge zippy.cornsilk.net:/home/cmiller/work/mysql/merge/tmp_mergecmiller@zippy.cornsilk.net2006-08-171-1/+5
|\ \ \ | |/ / | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.0
| * | Bug#20190 Unixware 7.13 port and make test errorsmsvensson@neptunus.(none)2006-08-031-1/+5
| |/ | | | | | | - Thanks to cerber for the patch!
* | Merge bk-internal.mysql.com:/data0/bk/mysql-5.0rburnett@bk-internal.mysql.com2006-07-271-1/+1
|\ \ | |/ | | | | into bk-internal.mysql.com:/data0/bk/mysql-5.0-kt
| * mysqlmanager.vcproj:kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-221-1/+1
| | | | | | | | | | | | | | | | Place mysqlmanager 'pdb' file in 'client_debug' directory mysys.vcproj: Removed define of __NT__ from 'Debug' target mysqld.vcproj: Always generate 'pdb' and 'map' files
* | Bug #12673: Instance Manager: allows to stop the instance many timesjimw@rama.(none)2006-07-122-25/+26
|/ | | | | The instance manager was not actually checking whether an instance was actually running before trying to stop it. Now it checks first.
* mysql.spec.sh:kent@mysql.com2006-06-301-2/+2
| | | | | | | | | Disable old RPM strip my_global.h: Fixed wrong cast, which caused problems with gcc 4.0 and floats in prepared statements (Bug #19694) mysqlmanager.vcproj: Place output files in common release/debug directory
* Merge mysql.com:/usr/local/mysql/mysql-5.0-bug20622knielsen@mysql.com2006-06-231-2/+7
|\ | | | | | | into mysql.com:/usr/local/mysql/tmp-5.0
| * BUG#20622: Fix one-byte buffer overrun in IM directory string handling.knielsen@mysql.com2006-06-231-2/+7
| | | | | | | | | | | | The problem was a call to convert_dirname() with a destination buffer that did not have room for the trailing slash added by that function. This could cause the instance manager to crash in some cases.
* | The second fix for BUG#19391: IM fails to start after two executions.anozdrin@mysql.com2006-06-193-16/+32
| |
* | Merge shellback.(none):/home/msvensson/mysql/bug19575/my50-bug19575msvensson@shellback.(none)2006-05-311-1/+1
|\ \ | | | | | | | | | into shellback.(none):/home/msvensson/mysql/mysql-5.0
| * | Bug#19575 MySQL-shared-5.0.21-0.glibc23 causes segfault in SSL_library_initmsvensson@shellback.(none)2006-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | - Include prefix files that renames all public functions in yaSSLs OpenSSL API to ya<function_name>. They will otherwise conflict with OpenSSL functions if loaded by an application that uses OpenSSL as well as libmysqlclient with yaSSL support.
* | | Fix for BUG#18023: IM: instance can be started several times;anozdrin@mysql.com2006-05-291-8/+14
| | | | | | | | | | | | monitor interval must be > 2sec.
* | | Fix for BUG#19391: IM fails to start after two executionsanozdrin@mysql.com2006-05-291-22/+24
|/ /
* | Make it compilable on Windows.anozdrin@mysql.com2006-05-101-0/+2
| |
* | Partial fix for BUG#14106: IM: im_life_cycle and im_utilsanozdrin@mysql.com2006-05-065-5/+76
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests fail on FreeBSD. The patch contains of the following: - make Instance Manager, running in the daemon mode, dump the pid of angel-process in the special file; - default value of angel-pid-file-name is 'mysqlmanager.angel.pid'; - if ordinary (IM) pid-file-name is specified in the configuration, angel-pid-file-name is updated according to the following rule: extension of the basename of pid-file-name is replaced by '.angel.pid. For example: - pid-file-name: /tmp/im.pid => angel-pid-file-name: /tmp/im.angel.pid - pid-file-name: /tmp/im.txt => angel-pid-file-name: /tmp/im.angel.pid - pid-file-name: /tmp/5.0/im => angel-pid-file-name: /tmp/5.0/im.angel.pid - add support for configuration option to customize angel pid file name; - fix test suite to use angel pid to kill Instance Manager by all means if something went wrong. Background ---------- The problem is that on some OSes (FreeBSD for one) Instance Manager does not get SIGTERM, so can not shutdown gracefully. Test suite wasn't able to cope with it, so this leads to the mess in test results. The problem should be split into two: - fix signal handling; - fix test suite. This patch fixes test suite so that it will be able to kill uncooperative Instance Manager. In order to achieve this, test suite needs to know PID of IM Angel process.
* Bug#19362 im_daemon_lifecycle fails when built from source distributionmsvensson@neptunus.(none)2006-04-262-3/+61
| | | | | | - Add function "mysqld_real_path" which is needed if the mysqld_path is a symlink or a script(like libtool) that executes the real mysqld. - Add new variable mysqld_real_path - Use mysqld_real_path from fill_instance_version
* Makefile.am:kent@mysql.com2006-03-031-5/+6
| | | | Use libtool convenience lib, to access get_password object correctly, bug#17155
* Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0petr@mysql.com2006-02-214-39/+85
|\ | | | | | | into mysql.com:/home/cps/mysql/devel/im/5.0-im-fix-race
| * Fix race condition: instance map wasn't locked for thepetr@mysql.com2006-02-214-39/+85
| | | | | | | | | | | | duration of the whole 'flush instances'. As a consequence, it was possible to query instance map, while it is in the inconsistent state. The patch was reworked after review.
* | Fix for Bug #12674 "Instance Manager: IM doesn't handle clientpetr@mysql.com2006-02-212-0/+8
| | | | | | | | | | connections correctly". Recommit with the max timeout value in sync with the comment.
* | Add a shift in the parser. Forgotten in the previous commit.petr@mysql.com2006-02-181-0/+1
| |
* | fix Bug#12813 "Instance Manager: START/STOP INSTANCEpetr@mysql.com2006-02-141-7/+10
| | | | | | | | commands accept a list as argument"
* | a bunch of IM fixes from the GUI teampetr@mysql.com2006-02-1011-16/+52
|/
* mergedserg@serg.mylan2006-01-031-1/+1
|\
| * many warnings (practically safe but annoying) correctedserg@serg.mylan2006-01-031-1/+1
| |
* | locking issues,serg@serg.mylan2005-12-231-0/+3
|/ | | | test for LONGLONG_MIN in decimal.c
* Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0kent@mysql.com2005-11-191-4/+4
|\ | | | | | | into mysql.com:/Users/kent/mysql/bk/mysql-5.0-distcheck
| * Additional "make distcheck" changes specific to 5.0kent@mysql.com2005-11-091-4/+4
| |
* | Provide a default "minimum thread stack size" PTHREAD_STACK_MIN where it is ↵joerg@mysql.com2005-11-101-0/+3
|/ | | | | | missing. (Currently, affects only BSD with Linuxthreads)
* make the IM compile on Windowsreggie@fedora.(none)2005-11-024-6/+7
|
* more refinement of IM patch to fix Windows pathnames with spacesreggie@fedora.(none)2005-11-022-9/+8
|
* improved previous changeset per JimW's reviewreggie@fedora.(none)2005-10-312-12/+12
|
* fix some issues with IM and long pathnames (with spaces)reggie@fedora.(none)2005-10-312-6/+21
|
* Merge bk-internal.mysql.com:/home/bk/mysql-5.0msvensson@neptunus.(none)2005-10-284-10/+50
|\ | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-5.0
| * Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0petr@mysql.com2005-10-284-9/+49
| |\ | | | | | | | | | into mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
| | * fix Bug #14103 IM tests fail on SCOpetr@mysql.com2005-10-284-9/+49
| | |