summaryrefslogtreecommitdiff
path: root/mysys
Commit message (Collapse)AuthorAgeFilesLines
* Post Merge Fix.iggy@recycle.(none)2007-03-201-1/+1
|
* Merge recycle.(none):/src/bug23736/my50-bug23736iggy@recycle.(none)2007-03-202-11/+6
|\ | | | | | | into recycle.(none):/src/bug23736/my51-bug23736
| * Bug#23736 Pointer free error in mysqlbinlogiggy@recycle.(none)2007-03-202-11/+6
| | | | | | | | - Mis-matched SAFEMALLOC defines caused misleading error message.
| * Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/50tsmith@quadxeon.mysql.com2007-03-194-512/+3
| |\ | | | | | | | | | into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
| * \ Merge naruto.:C:/cpp/bug25042/my50-bug25042Kristofer.Pettersson@naruto.2007-03-091-38/+111
| |\ \ | | | | | | | | | | | | into naruto.:C:/cpp/mysql-5.0-maint
* | | | CMakeLists.txt:kent@mysql.com/kent-amd64.(none)2007-03-121-1/+1
| | | | | | | | | | | | | | | | Removed references to my_winsem.c
* | | | Merge mysql.com:/home/kent/bk/tmp/mysql-5.0-buildkent@kent-amd64.(none)2007-03-121-1/+1
|\ \ \ \ | | |_|/ | |/| | | | | | into mysql.com:/home/kent/bk/tmp/mysql-5.1-build
| * | | Makefile.am, CMakeLists.txt:kent@mysql.com/kent-amd64.(none)2007-03-122-2/+2
| | | | | | | | | | | | | | | | Removed references to my_winsem.c
* | | | Merge mysql.com:/home/kent/bk/tmp/mysql-5.0-buildkent@kent-amd64.(none)2007-03-123-510/+1
|\ \ \ \ | |/ / / | | | | | | | | into mysql.com:/home/kent/bk/tmp/mysql-5.1-build
| * | | Merge mysql.com:/home/kent/bk/tmp/mysql-4.1-buildkent@mysql.com/kent-amd64.(none)2007-03-123-510/+1
| |\ \ \ | | |/ / | |/| | | | | | into mysql.com:/home/kent/bk/tmp/mysql-5.0-build
| | * | Merge mysql.com:/home/kent/bk/tmp/mysql-4.0kent@mysql.com/kent-amd64.(none)2007-03-123-511/+1
| | |\ \ | | | | | | | | | | | | | | | into mysql.com:/home/kent/bk/tmp/mysql-4.1-build
| | | * | Makefile.am, configure.in, mysys.dsp:kent@mysql.com/kent-amd64.(none)2007-03-123-511/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed unused files .del-my_winsem.c: Delete: mysys/my_winsem.c .del-my_semaphore.c: Delete: mysys/my_semaphore.c .del-my_semaphore.h: Delete: include/my_semaphore.h
| | * | | After-merge fix:joerg@trift2.2007-02-201-0/+1
| | | | | | | | | | | | | | | | | | | | The declaration of "thr_client_alarm" had got lost, keep it in "mysys/thr_alarm.c".
| | * | | Merge trift2.:/MySQL/M40/clone-4.0joerg@trift2.2007-02-201-1/+0
| | |\ \ \ | | | |/ / | | | | | | | | | | into trift2.:/MySQL/M41/merge-4.1
| | | * | Fix a linkage problem with the previous patch for "thr_client_alarm".joerg@trift2.2007-02-122-1/+1
| | | | |
| | | * | Break a double declare of "uint thr_client_alarm" between ↵joerg@trift2.2007-02-121-1/+0
| | | | | | | | | | | | | | | | | | | | "mysys/thr_alarm.c" and "mysys/my_pthread.c".
| | | * | Compile error on Windows: Signal names are undefined. Fix by hiding the ↵joerg@trift2.2007-02-121-0/+3
| | | | | | | | | | | | | | | | | | | | whole section.
| | * | | Merge siva.hindu.god:/home/tsmith/m/bk/41tsmith@siva.hindu.god2007-02-081-1/+0
| | |\ \ \ | | | | | | | | | | | | | | | | | | into siva.hindu.god:/home/tsmith/m/bk/maint/41
| | | * \ \ Merge 192.168.0.10:mysql/mysql-4.1-maintmsvensson@pilot.mysql.com2007-02-061-1/+0
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | into pilot.mysql.com:/home/msvensson/mysql/mysql-4.1-maint
| | | | * \ \ Merge bk-internal.mysql.com:/home/bk/mysql-4.1-maintcmiller@zippy.cornsilk.net2007-01-311-1/+0
| | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1-maint
| | | | | * | | User visible change - breaks some environments, per Paul DuBois. Reverting ↵mtaylor@qualinost.(none)2007-01-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in 4.1 and 5.0.
| | * | | | | | Test and bug fixes and removed unneccessary files.jani@a88-113-38-195.elisa-laajakaista.fi2007-02-051-0/+1
| | |/ / / / /
* | | | | | | Merge recycle.(none):/src/bug25222/my50-bug25222iggy@recycle.(none)2007-03-071-1/+6
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | into recycle.(none):/src/bug25222/my51-bug25222
| * | | | | | Bug#25222 Win32 HANDLE leak in my_sopen()iggy@recycle.(none)2007-03-071-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - When attempting to associate a Windows File handle to a C run-time file handle there is an upper bound. Once reached, the newly created handles will cause a memory leak since they are not properly associated with a handle that can later be cleaned up.
| * | | | | | Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0msvensson@pilot.blaudden2007-03-0110-50/+57
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
| | * | | | | | Fixed compiler warnings (for linux and win32 and win64)monty@mysql.com/narttu.mysql.fi2007-02-226-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a couple of usage of not initialized warnings (unlikely cases)
| | * | | | | | Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com/narttu.mysql.fi2007-02-215-43/+44
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-5.0
| | * | | | | | | Fixed a bad merge. Got a duplicate symbol on OSX.istruewing@chilla.local2007-02-201-2/+0
| | | | | | | | |
| | * | | | | | | Merge bk-internal.mysql.com:/home/bk/mysql-5.0istruewing@chilla.local2007-02-161-0/+2
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into chilla.local:/home/mydev/mysql-5.0-axmrg
| | | * \ \ \ \ \ \ Merge bk-internal.mysql.com:/home/bk/mysql-5.0istruewing@chilla.local2007-02-141-0/+2
| | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into chilla.local:/home/mydev/mysql-5.0-axmrg
| | | | * | | | | | | thd_lib_detected moved so that it is correctly declared as a dataantony@ppcg5.local2007-02-062-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | section symbol and not a common symbol on gcc 4.0.1 on darwin 8.8.0 PowerPC MacOS X 10.4.8
* | | | | | | | | | | Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-runtimetsmith@quadxeon.mysql.com2007-03-072-16/+22
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/mrg0306/51
| * \ \ \ \ \ \ \ \ \ \ Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.1msvensson@pilot.blaudden2007-03-0110-286/+91
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
| * \ \ \ \ \ \ \ \ \ \ \ Merge naruto.:C:/cpp/bug25042/my50-bug25042Kristofer.Pettersson@naruto.2007-02-211-38/+111
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | into naruto.:C:/cpp/mysql-5.1-maint
| * | | | | | | | | | | | Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maintmsvensson@pilot.blaudden2007-02-201-15/+19
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-new-maint
| | * | | | | | | | | | | Bug#25807 LOAD DATA INFILE does not work with Pipesmsvensson@pilot.blaudden2007-02-201-15/+19
| | | |_|/ / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Additional fix for io_cache_init being called on a closed file
| | * | | | | | | | | | Merge bk-internal.mysql.com:/home/bk/mysql-5.0cmiller@zippy.cornsilk.net2007-02-141-1/+1
| | |\ \ \ \ \ \ \ \ \ \ | | | | |_|/ / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
| | | * | | | | | | | | Merge bk-internal.mysql.com:/data0/bk/mysql-5.0ibabaev@bk-internal.mysql.com2007-02-131-1/+1
| | | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into bk-internal.mysql.com:/data0/bk/mysql-5.0-opt
| * | | \ \ \ \ \ \ \ \ \ Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maintcmiller@zippy.cornsilk.net2007-02-141-0/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
| * | | | | | | | | | | | | Protect DBUG_ENTER printout from NULL pointersmsvensson@pilot.mysql.com2007-02-141-1/+3
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new-rplkostja@bodhi.local2007-03-061-10/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into bodhi.local:/opt/local/work/mysql-5.1-runtime-merge
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpllars/lthalmann@dl145j.mysql.com2007-02-251-10/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
| | * | | | | | | | | | | | | Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.1-new-rpllars/lthalmann@dl145h.mysql.com2007-02-241-10/+7
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.1-merge
| | | * | | | | | | | | | | | Fix for BUG#25628: "mysqlbinlog crashes while processing binary logs".gbichot@dl145h.mysql.com2007-02-231-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysqlbinlog prints all row-based events of a single statement as a single "BINLOG" statement containing the concatenation of those events. Big (i.e. >64k) concatenations of row-based events (e.g. Write_rows_log_event) caused mysqlbinlog's IO_CACHE to overflow to a temporary file but the IO_CACHE had not been inited with open_cached_file(), so it tried to create a temporary file in an uninitialized directory (thus failing to create, then to write; some OS errors were printed, and it finally segfaulted). After fixing this, it appeared that mysqlbinlog was printing only a piece of big concatenations of row-based events (it printed at most the size of the IO_CACHE's buffer i.e. 64k); that caused data loss at restore. We fix and test that. Last, mysqlbinlog's printouts looked a bit strange with the informative header (#-prefixed) of groupped Rows_log_event all on one line, so we insert \n. After that, a small bug in the --hexdump code appeared (only if the string to hex-print had its length a multiple of 16), we fix it.
* | | | | | | | | | | | | | | Merge weblab.(none):/home/marcsql/TREE/mysql-5.1-basemalff/marcsql@weblab.(none)2007-02-2810-286/+91
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into weblab.(none):/home/marcsql/TREE/mysql-5.1-rt-merge
| * | | | | | | | | | | | | | Fixed compiler warningsmonty@mysql.com/narttu.mysql.fi2007-02-2310-286/+91
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed compile-pentium64 scripts Fixed wrong estimate of update_with_key_prefix in sql-bench Merge bk-internal.mysql.com:/home/bk/mysql-5.1 into mysql.com:/home/my/mysql-5.1 Fixed unsafe define of uint4korr() Fixed that --extern works with mysql-test-run.pl Small trivial cleanups This also fixes a bug in counting number of rows that are updated when we have many simultanous queries Move all connection handling and command exectuion main loop from sql_parse.cc to sql_connection.cc Split handle_one_connection() into reusable sub functions. Split create_new_thread() into reusable sub functions. Added thread_scheduler; Preliminary interface code for future thread_handling code. Use 'my_thread_id' for internal thread id's Make thr_alarm_kill() to depend on thread_id instead of thread Make thr_abort_locks_for_thread() depend on thread_id instead of thread In store_globals(), set my_thread_var->id to be thd->thread_id. Use my_thread_var->id as basis for my_thread_name() The above changes makes the connection we have between THD and threads more soft. Added a lot of DBUG_PRINT() and DBUG_ASSERT() functions Fixed compiler warnings Fixed core dumps when running with --debug Removed setting of signal masks (was never used) Made event code call pthread_exit() (portability fix) Fixed that event code doesn't call DBUG_xxx functions before my_thread_init() is called. Made handling of thread_id and thd->variables.pseudo_thread_id uniform. Removed one common 'not freed memory' warning from mysqltest Fixed a couple of usage of not initialized warnings (unlikely cases) Suppress compiler warnings from bdb and (for the moment) warnings from ndb
* | | | | | | | | | | | | | Merge naruto.:C:/cpp/bug25042/my50-bug25042Kristofer.Pettersson@naruto.2007-02-211-38/+111
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | / / / / / / / | | |_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | into naruto.:C:/cpp/mysql-5.1-runtime
| * | | | | | | | | | | | Bug#25042 OPTIMIZE TABLE cause race condition in IO CACHE SHAREKristofer.Pettersson@naruto.2007-02-151-38/+111
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The condition variable implementation "lost" a signal to WaitOnSingleObject when a semaphore was released. - The signal could be consumed by a new call to pthread_cond_wait before all waiting threads had awoken. - The new implementation of pthread_cond_* uses events instead of semaphores. It also uses an extra lock to protect entry into new cond wait before the broadcast has finished.
* | | | | | | | | | | | Merge bk-internal.mysql.com:/home/bk/mysql-5.1cmiller@zippy.cornsilk.net2007-02-141-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
| * | | | | | | | | | | Merge olga.mysql.com:/home/igor/mysql-5.0-optigor@olga.mysql.com2007-02-131-0/+2
| |\ \ \ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | into olga.mysql.com:/home/igor/mysql-5.1-opt