summaryrefslogtreecommitdiff
path: root/mysys
Commit message (Collapse)AuthorAgeFilesLines
* Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug04053/my41-bug04053cmiller@zippy.cornsilk.net2006-08-311-22/+25
|\ | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1-maint
| * Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug04053/my40-bug04053cmiller@zippy.cornsilk.net2006-08-301-22/+25
| |\ | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/bug04053/my41-bug04053
| | * Bug#4053: too many of "error 1236: 'binlog truncated in the middle of \cmiller@zippy.cornsilk.net2006-08-301-22/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | event' from master" Since there is no repeatable test case, and this is obviously wrong, this is the most conservative change that might possibly work. The syscall read() wasn't checked for a negative return value for an interrupted read. The kernel sys_read() returns -EINTR, and the "library" layer maps that to return value of -1 and sets errno to EINTR. It's impossible (on Linux) for read() to set errno EINTR without the return value being -1 . So, if we're checking for EINTR behavior, we should not require that the return value be zero.
| | * Bug#12920 - key_read_requests counter appears to re-setingo@mysql.com2005-09-141-5/+7
| | | | | | | | | | | | Enlarged the counter variables to ulonglong.
* | | BUG#21206: memory corruption when too many cursors are opened at oncekroki/tomash@moonlight.intranet2006-07-261-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Too many cursors (more than 1024) could lead to memory corruption. This affects both, stored routines and C API cursors, and the threshold is per-server, not per-connection. Similarly, the corruption could happen when the server was under heavy load (executing more than 1024 simultaneous complex queries), and this is the reason why this bug is fixed in 4.1, which doesn't support cursors. The corruption was caused by a bug in the temporary tables code, when an attempt to create a table could lead to a write beyond allocated space. Note, that only internal tables were affected (the tables created internally by the server to resolve the query), not tables created with CREATE TEMPORARY TABLE. Another pre-condition for the bug is TRUE value of --temp-pool startup option, which, however, is a default. The cause of a bug was that random memory was overwritten in bitmap_set_next() due to out-of-bound memory access.
* | Fixed include file usagemonty@mysql.com2006-06-301-0/+1
| | | | | | | | | | hp_test2 now works again Fixed wrong cast, which caused problems with gcc 4.0 and floats in prepared statements (Bug #19694)
* | Bug#15328 Segmentation fault occured if my.cnf is invalid for escape sequencemsvensson@neptunus.(none)2006-05-111-1/+3
| | | | | | | | | | - Check that length of value is longer than 1 before decrementing length by 2. - Backport from 5.0, make it possible to use my_print_defaults in tests
* | Fixed bug #19079.igor@rurik.mysql.com2006-04-181-5/+7
| | | | | | | | | | | | The bug caused a reported index corruption in the cases when key_cache_block_size was not a multiple of myisam_block_size, e.g. when key_cache_block_size=1536 while myisam_block_size=1024.
* | Merge mysql.com:/home/mydev/mysql-4.1ingo@mysql.com2006-03-041-28/+75
|\ \ | | | | | | | | | into mysql.com:/home/mydev/mysql-4.1-bug11527
| * | Bug#11527 - Setting myisam_repair_threads to >1 leads to corruptioningo@mysql.com2006-02-161-28/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A wrong cast led to numeric overflow for data files greater than 4GB. The parallel repair assumed end of file after reading the amount of data that the file was bigger than 4GB. It truncated the data file and noted the number of records it found so far in the index file header as the number of rows in the table. Removing the cast fixed the problem. I added some cosmetic changes too. The normal repair worked because it uses a different function to read from the data file.
* | | Merge svlasenko@bk-internal.mysql.com:/home/bk/mysql-4.1SergeyV@selena.2006-02-131-0/+1
|\ \ \ | |/ / |/| | | | | into selena.:H:/MYSQL/src/#06536-mysql-4.1
| * | Fixes bug #6536. When MyODBC or any other client do my_init()/my_end() SergeyV@selena.2005-12-011-0/+1
| | | | | | | | | | | | | | | | | | several times, it was causing corruption of charset data stored in once_mem_pool. my_end() deallocated once_mem pool, but did not put a flag that charsets have to be reloaded. The fix addresses this problem.
* | | A fix for Bug#13944 "libmysqlclient exporting sha1_result function":konstantin@mysql.com2006-01-111-8/+8
| | | | | | | | | | | | rename sha1_* to mysql_sha1_*
* | | A fix for Bug#7209 "Client error with "Access Denied" on updates konstantin@mysql.com2006-01-042-29/+40
|/ / | | | | | | | | | | | | | | | | | | | | when high concurrency": remove HASH::current_record and make it an external search parameter, so that it can not be the cause of a race condition under high concurrent load. The bug was in a race condition in table_hash_search, when column_priv_hash.current_record was overwritten simultaneously by multiple threads, causing the search for a suitable grant record to fail. No test case as the bug is repeatable only under concurrent load.
* | Merge mysql.com:/home/jimw/my/mysql-4.1-12925jimw@mysql.com2005-10-251-3/+3
|\ \ | | | | | | | | | into mysql.com:/home/jimw/my/mysql-4.1-clean
| * | Fix incorrect casts in my_getopt code that capped the maximum of longlongjimw@mysql.com2005-10-251-3/+3
| | | | | | | | | | | | options to the wrong value. (Bug #12925)
* | | Added more tests for new UPDATE ... ORDER BY ... LIMIT optimizationmonty@mysql.com2005-10-251-11/+3
| | |
* | | Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1sergefp@mysql.com2005-10-231-2/+109
|\ \ \ | | | | | | | | | | | | into mysql.com:/home/psergey/mysql-4.1-nulls-stats-r2
| * | | BUG#9622: post-review-fixes: better commentssergefp@mysql.com2005-10-231-7/+19
| | | |
| * | | BUG#9622, stage 2, work together with fix for BUG#12232:sergefp@mysql.com2005-10-211-2/+97
| |/ / | | | | | | | | | | | | added "nulls_ignored" index statistics collection method for MyISAM tables. (notification trigger: this is about BUG#9622).
* | | charset.c:bar@mysql.com2005-10-201-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug#13238 mysqldump and mysqladmin hangs Avoid recursion into init_available_charsets. Serg's version didn't work for me: I got double mutex locking. Pushing this version instead (It was approved by Serg anyway)
* | | Merge mysql.com:/home/alexi/mysql-4.1aivanov@mysql.com2005-10-191-2/+13
|\ \ \ | | | | | | | | | | | | into mysql.com:/home/alexi/dev/mysql-4.1-4375
| * | | Fix for BUG#4375: Windows specific directories are copiedaivanov@mysql.com2005-10-191-2/+13
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | during replication. Modified my_dir(). Now this function skips hidden and system files which sometimes are created by Windows. NOTE. The fix is similar to the previuos one (05 July 2004) except for correct setting of the 'attrib' variable value (within the previous fix this variable was left uninitialized when my_dir() was called with My_flags & MY_WANT_STAT == 0).
* | | Fix wait_timeout (and kill) handling on Mac OS X by cleaning up howjimw@mysql.com2005-10-112-34/+7
|/ / | | | | | | | | signal handlers are set up, the blocking flags for sockets are set, and which thread-related functions are used. (Bug #8731)
* | Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1msvensson@neptunus.(none)2005-09-271-6/+19
|\ \ | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/fix_mysqltest/my41-fix_mysqltest
| * | Bug #7037 Test "mysql_protocols" fails on Solaris 8 + 9 /x86msvensson@neptunus.(none)2005-09-231-2/+7
| | |
| * | BUG#7037 MySQL Bugs: #7037: Test "mysql_protocols" fails on Solaris 8 + 9 /x86msvensson@neptunus.(none)2005-09-231-6/+14
| | |
* | | Merge svlasenko@bk-internal.mysql.com:/home/bk/mysql-4.1SergeyV@selena.2005-09-201-0/+217
|\ \ \ | | | | | | | | | | | | into selena.:H:/MYSQL/src/#12929-mysql-4.1
| * | | Small update for lock functions used in my_cgets()SergeyV@selena.2005-09-201-20/+91
| | | |
| * | | Fixes bug #12929. Uses my_cgets instead of _cgets function, thus eliminatingSergeyV@selena.2005-09-161-0/+146
| |/ / | | | | | | | | | a restriction to 255 chars for editable buffer.
* | | Bug#12920 - key_read_requests counter appears to re-setingo@mysql.com2005-09-141-6/+7
|/ / | | | | | | After merge fix.
* | Fix handling of filenames that start the same as reserved filenamesjimw@mysql.com2005-08-311-1/+1
| | | | | | | | on Windows. (Bug #12325)
* | Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mishka.local2005-08-251-19/+0
|\ \ | | | | | | | | | into mishka.local:/home/my/mysql-4.1
| * | Remove function that was accidently added backmonty@mishka.local2005-08-251-19/+0
| | |
* | | mergedserg@sergbook.mysql.com2005-08-251-1/+14
|\ \ \ | |/ / |/| |
| * | memroot: trash the memory in free_root()serg@sergbook.mysql.com2005-08-241-1/+14
| | |
* | | Mergekent@mysql.com2005-08-231-0/+19
|\ \ \ | |/ / |/| |
| * | No C++ style comments in C source!joerg@mysql.com2005-08-171-1/+1
| | |
* | | Bug#11338 Fixes from review (identical functionality).elliot@mysql.com2005-08-191-18/+0
|/ /
* | Merge mysql.com:/Users/emurphy/src/bk-clean/mysql-4.1elliot@mysql.com2005-08-171-0/+18
|\ \ | | | | | | | | | into mysql.com:/Users/emurphy/src/work/mysql-4.1-bug11338
| * | BUG#11338 (logging of prepared statement w/ blob type)elliot@mysql.com2005-08-171-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | In cp932, '\' character can be the second byte in a multi-byte character stream. This makes it difficult to use mysql_escape_string. Added flag to indicate which languages allow '\' as second byte of multibyte sequence so that when putting a prepared statement into the binlog we can decide at runtime whether hex encoding is really needed.
* | | Rename rest() macro in my_list.h to list_rest(). (Bug #12327)jimw@mysql.com2005-08-092-2/+3
|/ /
* | Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1bar@mysql.com2005-08-093-1/+70
|\ \ | | | | | | | | | into mysql.com:/usr/home/bar/mysql-4.1.b5439
| * | Bug#5439 : mysql_server_init() crashes if ShiftJIS path is passedbar@mysql.com2005-08-083-1/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (important for Adobe). mf_pack.c, mf_dirname.c, charset.c, my_sys.h: - adding fs_character_set() function on Windows - ignoring fake slashes which are just multibyte parts in several functions in /mysys Verified by Shu to work on WinXP and Win2k. Test is not possible, or very hard to do.
* | | Merge mysql.com:/home/my/mysql-4.0monty@mysql.com2005-07-271-2/+2
|\ \ \ | |/ / |/| / | |/ into mysql.com:/home/my/mysql-4.1
| * Review fixes:monty@mysql.com2005-07-261-2/+2
| | | | | | | | | | | | Fixed portability problem with bool in C programs Moved close_thread_tables out from LOCK_thread_count mutex (safety fix) my_sleep() -> pthread_cond_timedwait()
* | charset.c:bar@mysql.com2005-07-251-16/+18
| | | | | | | | | | | | | | Bug#12109 possible locking bug in init_available_charset Recheck charset_initialized inside locked code, to garantee two threads are not entering consequently.
* | Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.0pappa@c-450ae253.1238-1-64736c10.cust.bredbandsbolaget.se2005-07-201-2/+5
|\ \ | |/ | | | | into c-450ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-4.1
| * Bug #10600mronstrom@mysql.com2005-07-191-2/+5
| | | | | | | | | | remove_table_from_cache fails to signal other thread and gets blocked when other thread also gets blocked
| * A fix for Netware.jani@ua141d10.elisa.omakaista.fi2005-04-051-1/+1
| |