summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bug #14262: SP: DROP PROCEDURE|VIEW (maybe more) write to binlog too late \cmiller@zippy.cornsilk.net2006-10-039-108/+182
| | | | | | | | | | | | | | | | | | | (race cond) It was possible for one thread to interrupt a Data Definition Language statement and thereby get messages to the binlog out of order. Consider: Connection 1: Drop Foo x Connection 2: Create or replace Foo x Connection 2: Log "Create or replace Foo x" Connection 1: Log "Drop Foo x" Local end would have Foo x, but the replicated slaves would not. The fix for this is to wrap all DDL and logging of a kind in the same mutex. Since we already use mutexes for the various parts of altering the server, this only entails moving the logging events down close to the action, inside the mutex protection.
* mtr_cases.pl:cmiller@maint1.mysql.com2006-09-011-27/+31
| | | | | Provide a more extensible, easier-to-change way of reordering test cases.
* Bug #20908: Crash if select @@""cmiller@maint1.mysql.com2006-08-154-2/+30
| | | | | | Zero-length variables caused failures when using the length to look up the name in a hash. Instead, signal that no zero-length name can ever be found and that to encounter one is a syntax error.
* Applied innodb-5.0-ss677 snapshot.tsmith@maint1.mysql.com2006-08-013-37/+20
| | | | | | | Fixes: - bug #19834: Using cursors when running in READ-COMMITTED can cause InnoDB to crash - bug #21112: InnoDB slow with > 100,000 .ibd files - bug #21113: Duplicate printout in SHOW INNODB STATUS
* Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0lars/lthalmann@mysql.com/dl145j.mysql.com2006-08-013-11/+9
|\ | | | | | | into mysql.com:/users/lthalmann/bk/MERGE/mysql-5.0-merge
| * Merge mysql.com:/users/lthalmann/bk/MERGE/mysql-4.1-mergelars/lthalmann@mysql.com/dl145j.mysql.com2006-08-010-0/+0
| |\ | | | | | | | | | into mysql.com:/users/lthalmann/bk/MERGE/mysql-5.0-merge
| | * Merge mysql.com:/users/lthalmann/bkroot/mysql-4.1-rpllars/lthalmann@mysql.com/dl145j.mysql.com2006-07-311-9/+6
| | |\ | | | | | | | | | | | | into mysql.com:/users/lthalmann/bk/MERGE/mysql-4.1-merge
| * | \ Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0-rpllars/lthalmann@mysql.com/dl145j.mysql.com2006-07-313-11/+9
| |\ \ \ | | | | | | | | | | | | | | | into mysql.com:/users/lthalmann/bk/MERGE/mysql-5.0-merge
| | * | | Removing temporary changes.aivanov/alexi@mysql.com/mysqld.localdomain2006-07-282-2/+2
| | | | |
| | * | | Temporary changes just to check some points (will be restored).aivanov/alexi@mysql.com/mysqld.localdomain2006-07-282-2/+2
| | | | |
| | * | | Applied innodb-5.0-ss660 snapshot.aivanov@mysql.com2006-07-263-11/+9
| | | | |
| | * | | Merge mysql.com:/home/alexi/innodb/mysql-4.1-workaivanov@mysql.com2006-07-260-0/+0
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | into mysql.com:/home/alexi/innodb/mysql-5.0-work Null merge.
| | | * | Applied innodb-4.1-ss32 snapshot.aivanov@mysql.com2006-07-261-9/+6
| | | | |
* | | | | Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-291-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into mysql.com:/Users/kent/mysql/bk/mysql-5.0
| * \ \ \ \ Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-291-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | into mysql.com:/Users/kent/mysql/bk/mysql-4.1
| | * | | | | configure.in:kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrected typo
* | | | | | | Fix after manual merge.kroki/tomash@moonlight.intranet2006-07-292-1/+45
| | | | | | |
* | | | | | | Merge moonlight.intranet:/home/tomash/src/mysql_ab/tmp_mergekroki/tomash@moonlight.intranet2006-07-297-14/+23
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-merge
| * | | | | | Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-284-4/+9
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | into mysql.com:/Users/kent/mysql/bk/mysql-4.1
| | * | | | | Makefile.am, configure.in:kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-282-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Man page for mysqld command move to section 8 (bug#21220)
| | * | | | | make_binary_distribution.sh:kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Man page for "mysqld" command move to section 8 (bug#21220)
| | * | | | | mysql.spec.sh:kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Man page for "mysqld" command move to section 8 (bug#21220)
| * | | | | | BUG#21206: memory corruption when too many cursors are opened at oncekroki/tomash@moonlight.intranet2006-07-262-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1joerg@trift2.2006-07-2414-25/+238
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into trift2.:/M41/push-4.1
| | * \ \ \ \ \ Merge trift2.:/M41/clone-4.1joerg@trift2.2006-07-2414-25/+238
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | into trift2.:/M41/push-4.1
| * | | | | | | | Bug#21218 Test "mysqlbinlog" fails to execute another program on Windowsmsvensson@neptunus.(none)2006-07-241-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Send confusing output to /dev/null
* | | | | | | | | udf_example.c, udf.test, Makefile.am:kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-293-70/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Converted "udf_example.cc" to C, avoids C++ runtime lib dependency (bug#21336)
* | | | | | | | | Merge mysql.com:/Users/kent/mysql/bk/tmp_mergekent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-280-0/+0
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
| * | | | | | | | Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-243-3/+12
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | / / / / / | | | |/ / / / / | | |/| | | | | into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
| | * | | | | | mwasmnlm, mwccnlm, mwldnlm:kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-243-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Filter out strange control characters, messes up logs
| | * | | | | | Merge chilla.local:/home/mydev/mysql-4.0ingo/mydev@chilla.local2006-07-082-5/+17
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | into chilla.local:/home/mydev/mysql-4.0-bug14400
| | * \ \ \ \ \ \ Merge cmiller@bk-internal.mysql.com:/home/bk/mysql-4.0cmiller@maint1.mysql.com2006-07-071-1/+5
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into maint1.mysql.com:/data/localhome/cmiller/mysql-4.0__bug19006
| | | * \ \ \ \ \ \ Merge mysql.com:/M40/mysql-4.0 into mysql.com:/M40/bug20216-4.0joerg@mysql.com2006-07-051-1/+5
| | | |\ \ \ \ \ \ \
* | | | \ \ \ \ \ \ \ Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-283-9/+9
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/Users/kent/mysql/bk/mysql-5.0-new
| * | | | | | | | | | | sql_select.cc:kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-283-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed variable, to avoid name clash with macro "rem_size" on AIX 5.3 and "/usr/include/sys/xmem.h" (bug#17648) asn.cpp, asn.hpp: Avoid name clash with NAME_MAX
* | | | | | | | | | | | Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0tsmith@maint1.mysql.com2006-07-2813-4874/+100
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into maint1.mysql.com:/data/localhome/tsmith/bk/global-50
| * | | | | | | | | | | | Revert the change after null-merge.kroki/tomash@moonlight.intranet2006-07-271-2/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-releasekroki/tomash@moonlight.intranet2006-07-271-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-main
| | * | | | | | | | | | | | BUG#21206: memory corruption when too many cursors are opened at oncekroki/tomash@moonlight.intranet2006-07-273-7/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | | | | Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-releasekroki/tomash@moonlight.intranet2006-07-2713-4874/+100
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-main
| | * | | | | | | | | | | | "mysql-test-run.pl" must write a "Logging:" line for the evaluation of RPM ↵joerg@trift2.2006-07-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build tests. (Re-apply a patch from the general tree to the clone.)
| | * | | | | | | | | | | | slave.cc:grog@eucla.lemis.com2006-07-251-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG#20850: Assert during slave shutdown in many rpl_* tests This patch has already been applied to 5.1.
| | * | | | | | | | | | | | mysqlmanager.vcproj:kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se2006-07-223-11/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | | | | | | | | | | | Merge patch for bug #15195 from 5.0 -> 5.0-release (for 5.0.24)tsmith@maint1.mysql.com2006-07-217-4/+31
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | A fix and a test case for Bug#21002 "Derived table not selecting from a kostja@bodhi.local2006-07-199-4859/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "real" table fails in JOINs". This is a regression caused by the fix for Bug 18444. This fix removed the assignment of empty_c_string to table->db performed in add_table_to_list, as neither me nor anyone else knew what it was there for. Now we know it and it's covered with tests: the only case when a table database name can be empty is when the table is a derived table. The fix puts the assignment back but makes it a bit more explicit. Additionally, finally drop sp.result.orig which was checked in by mistake.
* | | | | | | | | | | | | | Merge siva.hindu.god:/usr/home/tim/m/bk/global-41tsmith/tim@siva.hindu.god2006-07-263-1/+18
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | / / / / / / / / / / | | |_|/ / / / / / / / / / | |/| | | | | | | | | | | into siva.hindu.god:/usr/home/tim/m/bk/global-50
| * | | | | | | | | | | | Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1ramil/ram@mysql.com/myoffice.izhnet.ru2006-07-233-1/+18
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/usr/home/ram/work/4.1.b16327
| | * | | | | | | | | | | | Fix for #16327: invalid TIMESTAMP values retrievedramil@mysql.com2006-05-173-1/+18
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge mysql.com:/home/hf/work/mysql-4.1.mrgholyfoot/hf@mysql.com/deer.(none)2006-07-252-2/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/hf/work/mysql-5.0.mrg
| * | | | | | | | | | | | | Merge bk@192.168.21.1:mysql-4.1holyfoot/hf@mysql.com/deer.(none)2006-07-202-2/+8
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/hf/work/mysql-4.1.19983