summaryrefslogtreecommitdiff
path: root/sql
Commit message (Collapse)AuthorAgeFilesLines
* After merge fixesmonty@mysql.com2004-02-1616-102/+230
| | | | | | | Added more DBUG statements Ensure that we are comparing end space with BINARY strings Use 'any_db' instead of '' to mean any database. (For HANDLER command) Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
* Merge with 4.0.18monty@mysql.com2004-02-1170-457/+771
|\
| * Code cleanupsmonty@mysql.com2004-02-102-5/+7
| |
| * row0mysql.c:heikki@hundin.mysql.fi2004-02-094-2/+34
| | | | | | | | | | | | Allow always DROPping of a table which is only referenced by FOREIGN KEY constraints from the same table Many files: Do not let REPLACE to perform internally an UPDATE if the table is referenced by a FOREIGN KEY: the manual says that REPLACE must resolve a duplicate key error semantically with DELETE(s) + INSERT, and not by an UPDATE; the internal update caused foreign key checks and cascaded operations to behave in a semantically wrong way
| * follow-up to bug #2628: attempt to makekonstantin@mysql.com2004-02-091-2/+6
| | | | | | | | | | alter table rename a bit more efficient in case of lower_case_table_names.
| * ha_innodb.cc:heikki@hundin.mysql.fi2004-02-081-4/+10
| | | | | | | | If AUTOCOMMIT=1, then we do not need to make a plain SELECT set shared locks even on the SERIALIZABLE isolation level, because we know the transaction is read-only: a read-only transaction can always be performed on the REPEATABLE READ level, and that does not endanger the serializability
| * Merge bk-internal.mysql.com:/home/bk/mysql-4.0konstantin@mysql.com2004-02-062-3/+5
| |\ | | | | | | | | | into mysql.com:/home/kostja/mysql/mysql-4.0-merge
| | * fixed bug #1378 "mysqlbinlog for remote host is broken"vva@eagle.mysql.r18.ru2004-02-062-3/+5
| | |
| * | 3.23 -> 4.0 merge: after merge fixeskonstantin@mysql.com2004-02-061-0/+1
| | |
| * | merge 3.23 -> 4.0, 2003/02/06konstantin@mysql.com2004-02-063-10/+23
| |\ \ | | |/ | |/|
| | * Fix for bug #2628 "ALTER TABLE destroys table and reports success"konstantin@mysql.com2004-02-061-6/+12
| | |
| | * clean up commentsvva@eagle.mysql.r18.ru2004-02-031-2/+2
| | |
| | * Fixed Bug #2338 Trigonometric arithmetic problemvva@eagle.mysql.r18.ru2004-01-121-2/+4
| | | | | | | | | | | | by fixing optimizer bug with help of 'volatile' keyword
| | * fixed restoring of thd->count_cuted_fields in store_val_in_fieldvva@eagle.mysql.r18.ru2003-12-161-1/+7
| | | | | | | | | | | | (fixed #bug 2012)
| * | Merge vvagin@bk-internal.mysql.com:/home/bk/mysql-4.0vva@eagle.mysql.r18.ru2004-02-051-0/+2
| |\ \ | | | | | | | | | | | | into eagle.mysql.r18.ru:/home/vva/work/BUG_2526/mysql-4.0
| | * \ Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0vva@eagle.mysql.r18.ru2004-02-051-0/+2
| | |\ \ | | | | | | | | | | | | | | | into eagle.mysql.r18.ru:/home/vva/work/BUG_2526/mysql-4.0
| | | * | code cleanupvva@eagle.mysql.r18.ru2004-02-051-1/+1
| | | | |
| | | * | added checking for bootstrap in select_send::send_datavva@eagle.mysql.r18.ru2004-02-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (fixed bug #2526 "--init-file crashes MySQL if contains large select") Such checking usually works in send_ok, send_eof, but in this case large result causes interim flushing.
| * | | | Added testing of pthread_key_delete (to fix compile problem on SCO) (Bug #2461)monty@mysql.com2004-02-053-12/+23
| |/ / / | | | | | | | | | | | | | | | | | | | | 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)
| * | | beautify SHOW INDEX serg@serg.mylan2004-02-041-3/+2
| | | |
| * | | Merge bk-internal.mysql.com:/home/bk/mysql-4.0monty@mysql.com2004-02-041-1/+1
| |\ \ \ | | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-4.0
| | * | | Fixed a bug in slave-compressed-protocol. Using this optionjani@rhols221.adsl.netsonic.fi2004-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | from command line did not work.
| * | | | Fixed problem with range optimization over overlapping ranges (#2448)monty@mysql.com2004-02-042-8/+12
| | | | |
| * | | | Merge bk-internal.mysql.com:/home/bk/mysql-4.0monty@mysql.com2004-02-046-79/+75
| |\ \ \ \ | | |/ / / | |/| | | | | | | | into mysql.com:/home/my/mysql-4.0
| | * | | Ensure that wait_timeout doesn't overflow on windows. (Bug #2400)monty@mysql.com2004-02-041-1/+2
| | | | |
| | * | | Ensure that privileges are tested properly for multi-table-updates.monty@mysql.com2004-02-034-77/+68
| | | | | | | | | | | | | | | | | | | | | | | | | Now one need only SELECT privilege for tables that are only read in UPDATE statements with many tables. (Bug #2377).
| | * | | Give error if locked table is used twice in query. This fixes strange error ↵monty@mysql.com2004-02-031-1/+5
| | | | | | | | | | | | | | | | | | | | message when doing LOCK TABLES t1 WRITE; INSERT TABLE t1 SELECT * from t1 (Bug #2296)
| * | | | Merge bk-internal:/home/bk/mysql-4.0/serg@serg.mylan2004-02-034-12/+54
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into serg.mylan:/usr/home/serg/Abk/mysql-4.0
| | * | | | Added new option --sync-frm / --skip-sync-frmjani@ua141d10.elisa.omakaista.fi2004-02-033-8/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Marked --bdb-no-sync as deprecated Added --sync-bdb-logs / --disable-sync-bdb-logs as a synonym / alternative.
| | * | | | Proposed (version #2) fix for bug #1948:konstantin@mysql.com2004-02-021-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | "system variable query_prealloc_size can be only global"
| * | | | | increase the size of a signal thread's stack (the old one was too small for ↵serg@serg.mylan2004-02-021-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | the thread to be created on some systems) bug#2599
| * | | | Typo fixingsalle@vafla.home2004-02-021-2/+2
| | | | | | | | | | | | | | | | | | | | s/expection/exception
| * | | | dict0dict.c:heikki@hundin.mysql.fi2004-02-022-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove redundant code; parse both the database name and the table name in a FOREIGN KEY constraint with quotes in mind row0mysql.c, ha_innodb.cc, sql_table.cc: Return error message Cannot delete or update a parent row... if we try to drop a table which is referenced by a FOREIGN KEY constraint, and the user has not set foreign_key_checks=0
| * | | | Fix for bug #2523 '"func_time" test fails on QNX'.dlenev@mysql.com2004-01-303-17/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved all range checks for TIMESTAMP value to my_gmt_sec(). Also fixed check of upper boundary of TIMESTAMP range (which also now will catch datetime values which are too small for TIMESTAMP in case if time_t is unsigned).
| * | | | Merge bk-internal.mysql.com:/home/bk/mysql-4.0dlenev@mysql.com2004-01-304-11/+23
| |\ \ \ \ | | |/ / / | |/| | | | | | | | into mysql.com:/home/dlenev/src/mysql-4.0-bg2464
| | * | | Fix for bugs #1885, #2464, #2539. Proper handling of defaultdlenev@mysql.com2004-01-304-11/+23
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | values for TIMESTAMP columns. The solution is not perfect since we just silently ignoring default value for first TIMESTAMP column and properly reflecting this fact in SHOW CREATE TABLE. We can't give a warning or simply support standard syntax (niladic functions as legal value for default) for first field since it is 4.0 tree.
| * | | Merge bk-internal.mysql.com:/home/bk/mysql-4.0monty@mysql.com2004-01-303-12/+29
| |\ \ \ | | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-4.0
| | * | | Fixed parsing of column names and foreign key constraints in Innobase to ↵monty@mysql.com2004-01-303-12/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handle quoted identifiers and identifiers with space. (Bug #1725) Fix optimizer tuning bug when first used key part was a constant. (Bug #1679)
| * | | | Fix for BUG#2477 "Slave stop with error after master reboot if use HEAP tables":guilhem@mysql.com2004-01-303-11/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when we open the HEAP table for the first time since server restart, in hp_open(), we set a flag to propagate this info to the handler level which then writes a DELETE FROM this_heap_table to the binlog. It is not a perfect solution for the bug, because between the server start and the first open of the table, the slave still had old data in his table so a SELECT on the slave may show wrong content. But if there is a --init-file to populate the HEAP table on master as startup, then this is a safe fix (I'll put a note about init-file in the HEAP section of the manual).
| * | | | Fix for BUG#2527 "Multi-Table Delete - Not Replication use ↵guilhem@mysql.com2004-01-291-1/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | replicate-wild-do-table" (as long as replicate-*-table rules were defined, multi-table DELETE was never replicated by the slave).
| * | | Merge bk-internal.mysql.com:/home/bk/mysql-4.0monty@mysql.com2004-01-293-9/+7
| |\ \ \ | | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-4.0
| | * | | Mark that strings may change on index only reads (for BDB tables).monty@mysql.com2004-01-293-9/+7
| | | | | | | | | | | | | | | | | | | | This fixed problem with index reads on character fields with BDB tables. (Bug #2509)
| * | | | Fix for BUG#2542 "If slave ignores a query it may make the next LOAD DATA ↵guilhem@mysql.com2004-01-281-3/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | INFILE fail": reset errors (in thd) before executing the event. Otherwise if an event is ignored because of replicate-*-table rules (error ER_SLAVE_IGNORED_TABLE) this error code may remain in thd->net and the next event may pick it.
| * | | Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0ram@gw.mysql.r18.ru2004-01-228-41/+41
| |\ \ \ | | | | | | | | | | | | | | | into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b2298
| | * \ \ Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0vva@eagle.mysql.r18.ru2004-01-221-1/+8
| | |\ \ \ | | | |/ / | | |/| | | | | | | into eagle.mysql.r18.ru:/home/vva/work/BUG_2290/mysql-4.0
| | | * | some ammendments (comments and code style)vva@eagle.mysql.r18.ru2004-01-221-1/+8
| | | | |
| | | * | added test for bug #2290 "output truncated with ELT when using DISTINCT"vva@eagle.mysql.r18.ru2004-01-211-1/+1
| | | | |
| | * | | Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0guilhem@mysql.com2004-01-201-0/+8
| | |\ \ \ | | | | | | | | | | | | | | | | | | into mysql.com:/home/mysql_src/mysql-4.0
| | | * | | Fix for BUG#2452 "Empty LOAD DATA INFILE failes with the master in 3.23.x":guilhem@mysql.com2004-01-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do not write the Execute_load_log_event if there was no Create_file_log_event (empty file).
| | * | | | Proper fix for bug with BLOB in MIN/MAXmonty@mysql.com2004-01-192-7/+9
| | | | | |