Commit graph

7598 commits

Author SHA1 Message Date
miguel@hegel.local
19dccbe38e Merge miguel@bk-internal.mysql.com:/home/bk/mysql-4.0
into hegel.local:/home/miguel/dev/mysql-4.0
2004-02-04 13:51:24 -04:00
miguel@hegel.local
48fa5b233c Merge miguel@bk-internal.mysql.com:/home/bk/mysql-4.0
into hegel.local:/home/miguel/dev/mysql-4.0
2004-02-04 13:48:25 -04:00
miguel@hegel.local
108a7eabb6 For to export the right functions with changes done from 4.0.16 2004-02-04 13:39:01 -04:00
vva@eagle.mysql.r18.ru
7769e5a677 added checking for bootstrap in select_send::send_data
(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.
2004-02-04 21:35:20 +04:00
serg@serg.mylan
069f6892f7 beautify SHOW INDEX 2004-02-04 17:42:18 +01:00
serg@serg.mylan
5d4077cc0b clarify -F help text a bit 2004-02-04 16:50:33 +01:00
serg@serg.mylan
6595862fa9 Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2004-02-04 16:21:24 +01:00
lenz@mysql.com
b0e641b7b5 Some small enhancements for Do-compile:
- more flexible removal of old cruft before creating the new binary
   distribution
 - more flexible globbing for the binary tarball (required for QNX, where
   the file name ends on *.tgz instead of .tar.gz due to file name lenght
   restrictions
2004-02-04 14:16:36 +01:00
lenz@mysql.com
2fa7447a16 Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
2004-02-04 12:44:34 +01:00
serg@serg.mylan
29f522aec2 disabled atof() test as non-portable 2004-02-04 09:59:18 +01:00
monty@mysql.com
496f340060 Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/my/mysql-4.0
2004-02-04 09:51:28 +01:00
monty@mysql.com
f7e65a7620 Fixed problem with range optimization over overlapping ranges (#2448) 2004-02-04 09:51:13 +01:00
jani@rhols221.adsl.netsonic.fi
6e188089ce Fixed a bug in slave-compressed-protocol. Using this option
from command line did not work.
2004-02-04 10:48:42 +02:00
monty@mysql.com
5d7ffa49ec Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/my/mysql-4.0
2004-02-04 00:29:34 +01:00
monty@mysql.com
d05f923862 Ensure that wait_timeout doesn't overflow on windows. (Bug #2400) 2004-02-04 00:28:58 +01:00
lenz@mysql.com
9736c9c457 - renamed myisam/ft_dump to myisam/mysam_ftdump and added it to the
binary distribution and Server RPM
2004-02-03 22:25:02 +01:00
serg@serg.mylan
06759f78d1 extra newline removed 2004-02-03 21:15:20 +01:00
serg@serg.mylan
d90d00dd10 Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2004-02-03 20:46:06 +01:00
ram@gw.mysql.r18.ru
c908711374 Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0
into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b2185
2004-02-03 23:30:01 +04:00
monty@mysql.com
d51263b6e5 Ensure that privileges are tested properly for multi-table-updates.
Now one need only SELECT privilege for tables that are only read in
UPDATE statements with many tables. (Bug #2377).
2004-02-03 19:17:23 +01:00
jani@ua141d10.elisa.omakaista.fi
a3dc5449e9 Added new option --sync-frm / --skip-sync-frm
Marked --bdb-no-sync as deprecated
Added --sync-bdb-logs / --disable-sync-bdb-logs as a synonym / alternative.
2004-02-03 18:10:45 +00:00
vva@eagle.mysql.r18.ru
62f193bfdd clean up comments 2004-02-03 18:21:48 +04:00
ram@gw.mysql.r18.ru
e4bde991ae another variant (bug #2185: mysql.server script echo bug) 2004-02-03 16:45:29 +04:00
bar@bar.intranet.mysql.r18.ru
6a4e32d089 Thai tis620 crash problem in text comparison routines was fixed. 2004-02-03 14:03:01 +04:00
monty@mysql.com
268521a61d Give error if locked table is used twice in query. This fixes strange error message when doing LOCK TABLES t1 WRITE; INSERT TABLE t1 SELECT * from t1 (Bug #2296) 2004-02-03 09:46:48 +01:00
konstantin@mysql.com
74a1d68d3b Proposed (version #2) fix for bug #1948:
"system variable query_prealloc_size can be only global"
2004-02-02 23:01:58 +03:00
serg@serg.mylan
745f06e82a increase the size of a signal thread's stack (the old one was too small for the thread to be created on some systems)
bug#2599
2004-02-02 19:32:05 +01:00
serg@serg.mylan
348a184a7d test added 2004-02-02 15:57:57 +01:00
ram@gw.mysql.r18.ru
d75674a541 a fix (#2185: mysql.server script echo bug)
thnx Paul.                                             
              
<monty> can you get the above into configure and make Makefile.am patch         
mysql.server.sh with the right values for mysql.server ?                        
<monty> or do you think we should just put the above in mysql.server.sh directly
<ramil> as you want                                                             
<monty> the last is kind of hard to do with variables, so lets put the          
above in mysql.server.sh directly
2004-02-02 15:25:20 +04:00
salle@vafla.home
5b9c62b6c3 Typo fixing
s/expection/exception
2004-02-02 12:09:47 +02:00
heikki@hundin.mysql.fi
be760becac rpl_insert_id.test, rpl_insert_id.result:
Change tests so that tables are dropped in an order respecting the FOREIGN KEY constraints
2004-02-02 01:41:35 +02:00
heikki@hundin.mysql.fi
77d60aa63c innodb.result, innodb.test:
Change tests so that tables are dropped in an order respecting the FOREIGN KEY constraints
2004-02-02 01:30:59 +02:00
heikki@hundin.mysql.fi
7e19a8ee65 dict0dict.c:
Change print format of FOREIGN KEY constraints spanning multiple databases to <backquote>databasename<backquote>.<backquote>tablename<backquote>; but when parsing them we must also accept <backquote>databasename.tablename<backquote>, because that was the output format in < 4.0.18
2004-02-02 01:05:53 +02:00
heikki@hundin.mysql.fi
b382ee2cb1 dict0dict.c:
Change print format of FOREIGN KEY constraints spanning multiple databases to: .; but we when parsing them we must also accept , because that was the output format in < 4.0.18
2004-02-02 01:03:05 +02:00
heikki@hundin.mysql.fi
7533b0cfff dict0dict.c:
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
2004-02-02 00:10:45 +02:00
heikki@hundin.mysql.fi
0216948c5b dict0dict.c:
Cleanup
2004-02-01 19:20:16 +02:00
greg@mysql.com
1ac66e67b8 Merge gweir@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/bk/mysql-4.0
2004-01-30 15:15:12 -01:00
dlenev@mysql.com
4578f22271 Fix for bug #2523 '"func_time" test fails on QNX'.
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).
2004-01-30 19:15:11 +03:00
dlenev@mysql.com
eb218f3c71 Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/dlenev/src/mysql-4.0-bg2464
2004-01-30 15:13:54 +03:00
dlenev@mysql.com
e3816cb461 Fix for bugs #1885, #2464, #2539. Proper handling of default
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.
2004-01-30 15:13:19 +03:00
monty@mysql.com
31ad5e4903 Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/my/mysql-4.0
2004-01-30 11:31:49 +01:00
monty@mysql.com
ed44e769ba Fixed parsing of column names and foreign key constraints in Innobase to handle quoted identifiers and identifiers with space. (Bug #1725)
Fix optimizer tuning bug when first used key part was a constant. (Bug #1679)
2004-01-30 10:46:30 +01:00
guilhem@mysql.com
e71325caf9 Fix for BUG#2477 "Slave stop with error after master reboot if use HEAP tables":
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).
2004-01-30 00:05:34 +01:00
guilhem@mysql.com
5ce227e78a Fix for BUG#2527 "Multi-Table Delete - Not Replication use replicate-wild-do-table"
(as long as replicate-*-table rules were defined, multi-table DELETE was never
replicated by the slave).
2004-01-29 19:22:29 +01:00
monty@mysql.com
71c6d0c4f9 Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/my/mysql-4.0
2004-01-29 15:17:25 +01:00
monty@mysql.com
151b558e21 Mark that strings may change on index only reads (for BDB tables).
This fixed problem with index reads on character fields with BDB tables. (Bug #2509)
2004-01-29 15:16:48 +01:00
heikki@hundin.mysql.fi
8c49856f24 btr0cur.c:
Fix bug: InnoDB row count and index cardinality estimates wrapped over at 512 million in 32-bit computers
2004-01-29 14:41:49 +02:00
guilhem@mysql.com
9a4fb0194d Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.0
2004-01-28 15:28:04 +01:00
guilhem@mysql.com
1067e197aa Fix for BUG#2542 "If slave ignores a query it may make the next LOAD DATA 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.
2004-01-28 15:26:01 +01:00
heikki@hundin.mysql.fi
9b04e7b9bb data0data.ic, data0data.h, row0sel.c:
Fix bug #2483 with InnoDB, UNIQUE secondary index, and NULL values in that unique index; with the IS NULL predicate, InnoDB returned only the first matching row, though there can be many
2004-01-27 20:10:04 +02:00