summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix wait_timeout (and kill) handling on Mac OS X by cleaning up howjimw@mysql.com2005-10-111-14/+21
| | | | | signal handlers are set up, the blocking flags for sockets are set, and which thread-related functions are used. (Bug #8731)
* Merge mysqldev@production.mysql.com:jimw/mysql-4.1-scojimw@mysql.com2005-09-121-5/+0
|\ | | | | | | into mysql.com:/home/jimw/my/mysql-4.1-clean
| * Port to SCO OpenServer 6. May require running ./configure withjimw@mysql.com2005-09-071-5/+0
| | | | | | | | --build=i686-unknown-sysv5SCO_SV6.0.0
* | Bug #9954 mysql-4.1.11/cmd-line-utils/libedit/makelist.sh is not portablemsvensson@neptunus.(none)2005-04-271-0/+6
| | | | | | | | - Reverted removal of errorcheck mutex initialise, used in safe_mutex_init.
* | Bug #9954 mysql-4.1.11/cmd-line-utils/libedit/makelist.sh is not portablemsvensson@neptunus.(none)2005-04-271-9/+3
|/ | | | | | - Changed makelist.sh - Bump up required version of autoconf - Use new style to init mutex in my_thr_init
* Bug#8391 - "merge" fails on Linux/IA64ingo@mysql.com2005-02-101-1/+1
| | | | | | It was a thread stack overrun. IA64 had its own stack size section already. Enlarged its default stack size from 192K to 256K.
* - Manually merged two changes from 4.0lenz@mysql.com2005-01-061-0/+2
|\
| * Allow DEFAULT_THREAD_STACK to be set via -DDEFAULT_THREAD_STACK=... so ourjimw@mysql.com2005-01-051-0/+2
| | | | | | | | | | | | official binary builds for Linux that are built against a static glibc with a 128k thread stack size limit can be compiled with a default that doesn't result in a harmless (but oft-misunderstood) warning message. (Bug #6226)
* | To allow compilation on Tru64, the MySQL code should not messjoerg@mysql.com2004-10-041-1/+0
| | | | | | | | | | | | | | with the system-reserved (and system-defined) '_REENTRANT' CPP identifier. Especially, it must not be "undefine"d, because the Tru64 compiler needs it if threads are enabled.
* | Merge with 4.0.18monty@mysql.com2004-02-111-0/+5
|\ \ | |/
| * Added testing of pthread_key_delete (to fix compile problem on SCO) (Bug #2461)monty@mysql.com2004-02-051-0/+5
| | | | | | | | | | | | DROP DATABASE now assumes RAID directories are in hex. (Bug #2627) Don't increment 'select_full_range' and similar statistics for EXPLAIN queries. (Bug #2506) Test in configure if pthread_key_delete() exists (to fix compile problem on SCO) (Bug #2461)
* | Merge with 4.0.17monty@mysql.com2003-12-171-0/+3
|\ \ | |/
| * Fixed a possible memory leak on MacOSX when using the shared libmysql.so ↵monty@mysql.com2003-12-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | library (Bug #2061) mysql_server_init() now returns error code if something went wrong (Bug #2062) Don't use my_fopen() when reading symlink information as this may cause problems when a lot of files are opened. Free thread keys with pthread_key_delete() instead of relying on automatic free. (Bug #2062) Fixed bug in UNION statement with alias '*'. (Bug #1249) Fixed a bug in DELETE ... ORDER BY ... LIMIT where the rows where not deleted in the proper order. (Bug #1024). FOUND_ROWS() could return incorrect number of rows after a query with an impossible WHERE condition. HOW DATABASES doesn't anymore show .sym files (on windows) that doesn't point to a valid directory. (Bug #1385)
* | Merge key cache structures to onemonty@mysql.com2003-11-201-2/+2
| | | | | | | | Fixed compiler warnings (IRIX C compiler and VC++)
* | Merge with 4.0monty@narttu.mysql.fi2003-11-041-0/+1
|\ \ | |/
| * Safety fix to detect multiple calls to my_thread_end()monty@mashka.mysql.fi2003-10-161-0/+1
| | | | | | | | Portability fix (For Mac OS X)
* | Don't use atomic add for not critical statistics.monty@narttu.mysql.fi2003-10-231-3/+1
| |
* | - Polished mysql-copyright a bit and added call to removelenz@kallisto.local2003-09-231-1/+0
| | | | | | | | | | cmd-line-utils/readline from the commercial distribution - fixed some copyright headers so mysql-copyright can process them
* | Fixed problem with absence of gmtime_r under Windows.dlenev@dlenev.mshome2003-08-291-1/+0
| |
* | Implemented UTC_TIME, UTC_DATE and UTC_TIMESTAMP functions (WL#345)dlenev@dlenev.mshome2003-08-111-0/+9
| |
* | Merge with 4.0.13monty@narttu.mysql.fi2003-05-191-0/+5
|\ \ | |/
| * Changes from Novell for NetWare platformgreg@mysql.com2003-04-241-0/+5
| |
| * Post-4.0.12 changes from Novell: mostly NetWare-related code changes to ↵greg@mysql.com2003-03-211-8/+0
| | | | | | | | utilize new LibC
* | Manual merge of Novell's changes for NetWare platform from 4.0, 4.1 patchesgreg@mysql.com2003-03-281-8/+0
| |
* | Merge with 4.0.11monty@narttu.mysql.fi2003-02-261-0/+5
|\ \ | |/
| * Portability fix for HPUX10.20monty@narttu.mysql.fi2003-02-251-0/+5
| |
* | Merge with 4.0.11 tree to get latest bug fixesmonty@mashka.mysql.fi2003-02-171-1/+1
|\ \ | |/
| * Fixed multi-table-delete for InnoDB tablesmonty@mashka.mysql.fi2003-02-171-1/+1
| | | | | | | | Novell patches
* | Merge with 4.0.11monty@mashka.mysql.fi2003-02-041-2/+36
|\ \ | |/
| * Fixes for Netwaremonty@mashka.mysql.fi2003-01-281-2/+36
| | | | | | | | | | | | | | | | Call pthread_mutex_destroy() on not used mutex. Changed comments in .h and .c files from // -> /* */ Added detection of mutex on which one didn't call pthread_mutex_destroy() Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression" Added optimisation for ORDER BY NULL
* | my_pthread.h:igor@hundin.mysql.fi2003-01-281-3/+7
| | | | | | | | Missing merge in changeset 1.1435
* | Introduced a scalable key cache management.venu@hundin.mysql.fi2003-01-281-7/+6
|/ | | | | Added some fields to the st_my_thread_var structure to be able to link such structures into a list.
* Guard against compiling without -fno-exceptionsmonty@mashka.mysql.fi2003-01-141-2/+6
| | | | | | Allocate bigger default thread stack because of problems with glibc Fixed bug in UPDATE ... not_null_field=expression_that_returns_null Fixed bug in replication when using auto_increment and LOAD DATA INFILE
* - replaced all occurences of HPUX with HPUX10 (to be prepared for eventuallenz@mysql.com2002-10-241-1/+1
| | | | differences in HPUX11)
* Use our version of RWLOCKS on UNIXWARE 7monty@hundin.mysql.fi2002-08-211-0/+6
| | | | | | | | More DBUG info for replication Better error messages from replication Fixed bug in replication code when connecting to 'localhost' (time was not released properly) Block ALARM signal on Linux for signal handler thread (Fixes problem with running mysqld with --debug) Removed warning when setting an AUTO_INCREMENT field to NULL
* Fixed bug in blocking handling when compiling with OPENSSL (caused hangup in ↵monty@hundin.mysql.fi2002-08-171-2/+5
| | | | | | | client code) Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column. Fixed bug in pthread_mutex_trylock with HPUX 11.0
* mergemonty@hundin.mysql.fi2002-08-081-1/+2
|\
| * Fix for Intel compiler (ecc)monty@hundin.mysql.fi2002-08-081-1/+2
| | | | | | | | | | Minor cleanups to other patches. Make --temp-pool default
* | Lots of code fixes to the replication code (especially the binary logging ↵monty@mashka.mysql.fi2002-08-081-0/+3
|/ | | | | | | | | | | | | | | | | | and index log file handling) Fixed bugs in my last changeset that made MySQL hard to compile. Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables. Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions Extended my_chsize() to allow one to specify a filler character. Extend vio_blocking to return the old state (This made some usage of this function much simpler) Added testing for some functions that they caller have got the required mutexes before calling the function. Use setrlimit() to ensure that we can write core file if one specifies --core-file. Added --slave-compressed-protocol Made 2 the minimum length for ft_min_word_len Added variables foreign_key_checks & unique_checks. Less logging from replication code (if not started with --log-warnings) Changed that SHOW INNODB STATUS requre the SUPER privilege More DBUG statements and a lot of new code comments
* Portability fixes.monty@hundin.mysql.fi2002-07-011-5/+7
| | | | Don't free memory from InnoDB at exit (as this may be done before other threads are finnished)
* Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0monty@hundin.mysql.fi2002-06-301-0/+1
|\
| * Update for running gcc 3.x (mainly on HPUX)monty@hundin.mysql.fi2002-06-301-0/+1
| | | | | | | | | | | | | | | | Portability fixes for HPUX Rename of CHECK_LOCK to IS_FREE_LOCK Apply lower_case_table_names also to databases Cleanup of describe code Don't allow \ in database names
* | semaphores replaced by rwlockbell@sanja.is.com.ua2002-06-301-2/+2
|/
* Added support for rw_tryrdlock() and rw_trywrlock()monty@hundin.mysql.fi2002-06-291-0/+6
|
* merge with 3.23monty@hundin.mysql.fi2002-06-021-1/+1
|\
| * A small fix for HP-UX when used --with-debugSinisa@sinisa.nasamreza.org2002-05-301-1/+1
| |
* | merge with 3.23.51monty@hundin.mysql.fi2002-05-161-25/+0
|\ \ | |/
| * New my_gethostbyname_r() handlingmonty@hundin.mysql.fi2002-05-161-25/+0
| | | | | | | | | | Changed some status variable names Fix bug in GRANT ... PASSWORD string
* | mergemonty@hundin.mysql.fi2002-04-251-0/+7
|\ \ | |/
| * Small fix for HP-UX 10.20 with DCE threadsSinisa@sinisa.nasamreza.org2002-04-161-1/+1
| | | | | | | | Also --with-libwrap is tested on Linux just fine.