summaryrefslogtreecommitdiff
path: root/mysys
Commit message (Collapse)AuthorAgeFilesLines
* Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1bar@bar.intranet.mysql.r18.ru2003-12-191-1/+1
|\ | | | | | | into bar.intranet.mysql.r18.ru:/usr/home/bar/mysql-4.1
| * Fix for Bug#2151:bar@bar.intranet.mysql.r18.ru2003-12-191-1/+1
| | | | | | | | | | "USE db" affected the character set of further CREATE DATABASEs, which should have not happened.
* | Fixes after merge with 4.0monty@mysql.com2003-12-192-25/+59
| | | | | | | | | | | | Cleaned up embedded library access and query cache handling Changed min stack size to 128K (to allow longer MyISAM keys) Fixed wrong priority for XOR (should be less than NEG to get -1^1 to work)
* | Merge with 4.0.17monty@mysql.com2003-12-176-188/+246
|\ \ | |/ |/|
| * Portability fixes (mostly test suite)monty@mysql.com2003-12-161-0/+1
| | | | | | | | | | Make ENGINE= an alias for TYPE= (Compabiltiy with 4.1) Fix when using symlinked data files and realpath() is not working
| * Mergemonty@mysql.com2003-12-131-1/+11
| |\
| | * Fix autoincrement for signed columns (Bug #1366)monty@mysql.com2003-12-121-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed problem with char > 128 in QUOTE() function. (Bug #1868) Disable creation of symlinks if my_disable_symlink is set Fixed searching of TEXT with end space. (Bug #1651) Fixed caching bug in multi-table-update where same table was used twice. (Bug #1711) Fixed problem with UNIX_TIMESTAMP() for timestamps close to 0. (Bug #1998) Fixed timestamp.test
| * | Fix for Bug #1952dlenev@mysql.com2003-12-121-161/+178
| |/ | | | | | | | | | | | | | | | | "SHOW TABLE STATUS very slow w/large number of tables" Replaced old algorithm which were used in my_dir() and stored all information about directory entries in one chunk of memory with new one which stores file names and MY_STAT structures in separate memroot, so now we don't need to copy this data during reallocation of dir_entry array.
| * Merge bk-internal.mysql.com:/home/bk/mysql-4.0monty@mysql.com2003-12-114-26/+53
| |\ | | | | | | | | | into mysql.com:/my/mysql-4.0
| | * Fixed a possible memory leak on MacOSX when using the shared libmysql.so ↵monty@mysql.com2003-12-114-26/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0hf@deer.(none)2003-12-101-0/+3
| |\ \ | | |/ | |/| | | | into deer.(none):/home/hf/work/mysql-4.0.1890
| | * Fix for #1890 and #1959hf@deer.(none)2003-12-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bug happens under Windows & Embedded server Reason is that pthread_self() always returns NULL in this case. This confuses thr_lock function and it doesn't stop thread inserting in the write-locked table. Global problem is that there's no way under Windows to get unique thread handle for working thread. Monty made a workaround for server - we store the thread's handle we get when we create thread in the thread-specific variable. This doesn't work with the embedded library for we don't control thread creation there. I added code that sets CurrentThreadId as the pthread_self for the embedded library. It seems to solve problem because it's unique and we don't use pthread_self as a parameter for thread functions in embedded library.
| * | Added checking of return value from my_once_alloc() in charsetmonty@mysql.com2003-12-101-15/+39
| |/ | | | | | | Added checking of return value from malloc() in reg_init()
| * Fixed Bug#1907, option of type GET_BOOL with arg type OPT_ARGjani@rhols221.adsl.netsonic.fi2003-11-241-2/+0
| | | | | | | | did not call get_one_option().
* | key_cache.result, key_cache.test, mf_keycache.c:igor@rurik.mysql.com2003-12-091-1/+1
| | | | | | | | Fixed a wrong return code by the function init_key_cache.
* | fix for my_mbcharlen(charset, c) to return 1 for single-byte charactersserg@serg.mylan2003-12-061-1/+1
| | | | | | | | (isn't it obvious ?)
* | Mergemonty@mysql.com2003-11-285-13/+14
|\ \
| * | Added missing SSL library (Should be in source distribution)monty@mysql.com2003-11-285-13/+14
| | | | | | | | | | | | | | | | | | | | | Fixed compiler warnings (a lot of hidden variables detected by the Forte compiler) Added a lot of 'version_xxx' strings to 'show variables' Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris) Fixed problem with printing sub selects to debug log
* | | mf_keycache.c:igor@rurik.mysql.com2003-11-251-11/+10
|/ / | | | | | | | | Fixed typo that caused blocking key cache usage after resize. Removed wrong re-initialization of resize queue in init_key_cache.
* | Merge rurik.mysql.com:/home/igor/mysql-4.1igor@rurik.mysql.com2003-11-251-33/+189
|\ \ | | | | | | | | | into rurik.mysql.com:/home/igor/dev/mysql-4.1-2
| * | mf_keycache.c, keycache.h:igor@rurik.mysql.com2003-11-251-33/+189
| | | | | | | | | | | | Fix for the resize key cache operation.
* | | Fixed Bug#1907, option of type GET_BOOL with arg type OPT_ARGjani@rhols221.adsl.netsonic.fi2003-11-241-2/+0
|/ / | | | | | | did not call get_one_option().
* | Fixed memory leak with RAID tablesmonty@mysql.com2003-11-212-11/+65
| | | | | | | | | | Fixed tests for RAID tables Detect uninitialized mutexes on lock and destroy
* | Update VC++ filesmonty@mysql.com2003-11-213-8/+5
| | | | | | | | | | Portability fixes After merge fixes
* | Merge key cache structures to onemonty@mysql.com2003-11-204-273/+222
| | | | | | | | Fixed compiler warnings (IRIX C compiler and VC++)
* | Fixed C syntax error in mysys/mf_keycache.c.pem@mysql.comhem.se2003-11-191-1/+1
| |
* | Merge with 4.0 treemonty@mashka.mysql.fi2003-11-182-2/+4
|\ \ | |/
| * Merge with 3.23 (only comment changes)monty@mashka.mysql.fi2003-11-171-0/+2
| |\
| | * Safety fix for alarms on windows.monty@mashka.mysql.fi2003-11-171-1/+2
| | |
| * | Merge service name codemonty@mashka.mysql.fi2003-11-171-1/+1
| |\ \
| | * | Fix for service names on windows; Now we always put the service name last ↵monty@mashka.mysql.fi2003-11-171-1/+1
| | | | | | | | | | | | | | | | when we create a service
* | | | CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTSmonty@mashka.mysql.fi2003-11-188-225/+679
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New multi-key-cache handling. This was needed becasue the old one didn't work reliable with MERGE tables. ALTER TABLE table_name ... CHARACTER SET ... now changes all char/varchar/text columns to the given character set (One must use ALTER TABLE ... DEFAULT CHARACTER SET ... to change the default character set) Fixed that have_compress is detected properly (fixes problems with func_compress.test on platforms without zlib) New syntax for CACHE INDEX ('keys' is optional if no index name is given and one mentions the key cache name only ones) Removed compiler warnings Added mysql_set_server_option() to allow clients like PHP to easaily set/reset the multi-statement flag.
* | | | Removed some warnings reported by valgrindmonty@narttu.mysql.fi2003-11-041-0/+2
| | | | | | | | | | | | | | | | | | | | After merge fixes. Now code compiles, but there is still some valgrind warnings that needs to be fixed
* | | | Merge with 4.0monty@narttu.mysql.fi2003-11-046-8/+82
|\ \ \ \ | |/ / /
| * | | Call my_sync() after all data is written to .frm filemonty@mysql.com2003-11-025-5/+75
| | | | | | | | | | | | | | | | Added my_sync() to mysys which will do fsync/fdatasync/_commit() on a file.
| * | | fix for bug #1634 '"operator new" in my_new wastes memory'konstantin@mysql.com2003-10-301-2/+2
| |/ /
| * | Safety fix to detect multiple calls to my_thread_end()monty@mashka.mysql.fi2003-10-162-25/+50
| | | | | | | | | | | | Portability fix (For Mac OS X)
* | | Mergemonty@narttu.mysql.fi2003-11-031-1/+2
|\ \ \
| * | | Simplified 'wrong xxx name' error messages by introducing 'general' ↵monty@narttu.mysql.fi2003-11-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ER_WRONG_NAME error Cleaned up (and disabled part of) date/time/datetime format patch. One can't anymore change default read/write date/time/formats. This is becasue the non standard datetime formats can't be compared as strings and MySQL does still a lot of datetime comparisons as strings Changed flag argument to str_to_TIME() and get_date() from bool to uint Removed THD from str_to_xxxx functions and Item class. Fixed core dump when doing --print-defaults Move some common string functions to strfunc.cc Dates as strings are now of type my_charset_bin instead of default_charset() Introduce IDENT_QUOTED to not have to create an extra copy of simple identifiers (all chars < 128) Removed xxx_FORMAT_TYPE enums and replaced them with the old TIMESTAMP_xxx enums Renamed some TIMESTAMP_xxx enums to more appropriate names Use defines instead of integers for date/time/datetime string lengths Added to build system and use the new my_strtoll10() function.
* | | | compatibility fixesserg@serg.mylan2003-11-031-17/+17
| | | |
* | | | Merge bk-internal:/home/bk/mysql-4.1/serg@serg.mylan2003-10-311-499/+999
|\ \ \ \ | | | | | | | | | | | | | | | into serg.mylan:/usr/home/serg/Abk/mysql-4.1
| * \ \ \ Mergeigor@rurik.mysql.com2003-10-301-499/+999
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | Manual merge after improving concurrency for key cache reassignmentigor@rurik.mysql.com2003-10-011-499/+999
| | |\ \ \
| | | * | | Many files:igor@rurik.mysql.com2003-10-011-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | Improved concurrency for key cache reassignment
| | | * | | Merge rurik.mysql.com:/home/igor/mysql-4.1igor@rurik.mysql.com2003-08-261-497/+989
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
| | | | * \ \ Manual mergeigor@rurik.mysql.com2003-08-261-497/+989
| | | | |\ \ \
| | | | | * | | set_var.cc, mysqld.cc, handler.cc, set_var.h, handler.h:igor@rurik.mysql.com2003-08-091-124/+506
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added key cache parameters for midpoint insertion strategy Many files: Added midpoint insertion strategy for key cache mi_test2.c: Added a parameter to resize_key_cache
| | | | | * | | Merge rurik.mysql.com:/home/igor/mysql-4.1igor@rurik.mysql.com2003-08-023-26/+48
| | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
| | | | | * | | | Many files:igor@rurik.mysql.com2003-08-021-102/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added key cache assignment mi_locking.c: Added key cache assignment: correction my_sys.h: Added key cache variable structure
| | | | | * | | | Conflict resolutionigor@rurik.mysql.com2003-07-163-37/+47
| | | | | |\ \ \ \