Commit graph

6763 commits

Author SHA1 Message Date
guilhem@mysql.com
c784b91578 Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.0
2003-08-02 16:11:39 +02:00
guilhem@mysql.com
fa1d0098ec Mark tables 'updating' in sql_acl.cc (mysql_grant(), mysql_table_grant()) so that
tables_ok() does not ignore them. This fixes random bug #980.
2003-08-02 16:10:26 +02:00
guilhem@mysql.com
119d3f039d Backporting the changeset below from 4.0, because a customer hits
the bug with 3.23.
ChangeSet@1.1416.113.1, 2003-03-22 15:22:59+01:00, guilhem@mysql.com
  Fix for #178  Replicating INSERT VALUES(USER()) crashes (SEGV) the slave
      Now it does not SEGV, but USER() is still badly replicated
      (it is replicated to ""), which is a lower priority bug.
2003-08-01 22:29:38 +02:00
serg@serg.mylan
5ac7f31b57 Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2003-08-01 14:58:57 +02:00
serg@serg.mylan
f131bd53d4 replace mi_rrnd() in myrg_rkey family to more intelligent (HA_KEYREAD-aware) read function 2003-08-01 14:58:03 +02:00
heikki@hundin.mysql.fi
14f2fc28b6 log0log.c:
Fix assertion failure reported by Alex Kiernan when we compile with the SUN Forte Developer 7 C 5.4 compiler
2003-08-01 12:13:52 +03:00
lenz@mysql.com
3c007c3de9 - portability fixes: put string tests in double quotes (BUG#974).
Thanks to Alex Kiernan for the hint.
2003-08-01 10:21:41 +02:00
lenz@mysql.com
216ca1e15d - fixed BUG#968 ("test: argument expected" error) - thanks to Alex Kiernan
for the patch
2003-08-01 10:09:23 +02:00
serg@serg.mylan
fb5a1da621 bug #942. docid == ftb->lastpos in join on looping over nested table 2003-07-31 13:45:35 +02:00
wax@mysql.com
5eb2c03f84 Merge mysql.com:/home/wax/mysql/mysql-4.0
into mysql.com:/home/wax/mysql/mysql-4.0chsize
2003-07-31 04:17:42 +06:00
wax@mysql.com
99df703bcb BUG
Add functions SetFilePointerEx and SetEndOfFile for huge 
tables instead of chsize
Move chsize to right place
2003-07-31 04:14:36 +06:00
serg@serg.mylan
c8c7aab6a0 Bug#937
myisamchk.c:
  help text clarified
mi_check.c:
  allow one to "analyze" empty table :)
2003-07-30 16:15:10 +02:00
bell@sanja.is.com.ua
5c1ce3c1fe Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-merged_qc-4.0
2003-07-30 16:52:56 +03:00
dlenev@mysql.com
4e88ee5a08 Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/dlenev/src/mysql-4.0-bugfix
2003-07-30 16:55:31 +04:00
bell@sanja.is.com.ua
86e6cf399e support of more then 255 tables dependence in query cache (fixed BUG#930) 2003-07-30 14:59:56 +03:00
dlenev@mysql.com
8f50cd0472 Fix security bug. mysqld server without ssl support was completly
ignorant about ssl_type attribute
2003-07-30 03:33:48 +04:00
heikki@hundin.mysql.fi
d7ea863d6b dict0dict.c:
Fix bug introduced in 4.0.13 and reported by Emic: if a CREATE TABLE ended in a comment, a memory overrun could happen
2003-07-30 01:12:33 +03:00
heikki@hundin.mysql.fi
a5eacc69e6 mysqld.cc:
innodb_fast_shutdown CAN take an argument though it was not specified so in mysqld.cc
2003-07-29 00:04:56 +03:00
serg@serg.mylan
c46f888fe3 Followup to Jim's changes in mysqldoc tree. Unfortunately, it's too late for 4.0.14 :( 2003-07-28 17:50:06 +02:00
guilhem@mysql.com
4eccbd87cd Avoid segfault when LOAD DATA FROM MASTER is run on a master which does no
binary logging.
2003-07-28 15:33:46 +02:00
guilhem@mysql.com
8af74e5b1f Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.0
2003-07-26 17:59:53 +02:00
guilhem@mysql.com
34352d0c21 Make rpl_insert_id.test use InnoDB, and added foreign keys to the table,
so that it really tests replication of SET FOREIGN_KEY_CHECKS (previously
it used MyISAM).
2003-07-26 17:59:05 +02:00
heikki@hundin.mysql.fi
c1b62170a7 srv0srv.c, os0file.c, log0recv.h, log0log.h, fil0fil.h, fsp0fsp.c, fil0fil.c:
Merge
trx0trx.c:
  Print more info about a trx in SHOW INNODB status; try to find the bug reported by Plaxo
buf0buf.c:
  Check that page log sequence numbers are not in the future
log0recv.c, log0log.c:
  Fixed a bug: if you used big BLOBs, and your log files were relatively small, InnoDB could in a big BLOB operation temporarily write over the log produced AFTER the latest checkpoint. If InnoDB would crash at that moment, then the crash recovery would fail, because InnoDB would not be able to scan the log even up to the latest checkpoint. Starting from this version, InnoDB tries to ensure the latest checkpoint is young enough. If that is not possible, InnoDB prints a warning to the .err log
2003-07-25 22:26:39 +03:00
serg@serg.mylan
4e22494ebf outer join, impossible on condition, where, and usable key for range
bug#926
2003-07-25 14:32:03 +02:00
gluh@gluh.mysql.r18.ru
05fb817622 Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.0
into gluh.mysql.r18.ru:/home/gluh/mysql-4.0.fix
2003-07-25 09:26:23 +05:00
gluh@gluh.mysql.r18.ru
1dfaccb016 Fix: remove compile warnings on RH(with openssl) 2003-07-25 09:25:50 +05:00
guilhem@mysql.com
9e3366c9ad Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.0
2003-07-24 22:30:20 +02:00
guilhem@mysql.com
aba7647fd8 Fix for BUG#858 "CHANGE MASTER forgets to update relay-log.info";
just a flush_relay_log_info() at the end of CHANGE MASTER
(there was already flush_master_info()).
2003-07-24 22:29:09 +02:00
guilhem@mysql.com
df3b31f3c4 WL#1036 (print the db in slave error messages).
I extended the task to cleaning error messages, making them look nicer,
and making the output of SHOW SLAVE STATUS (column Last_error) be as complete
as what's printed on the .err file;
previously we would have, for a failure of a replicated LOAD DATA INFILE:
- in the .err, 2 lines:
"duplicate entry 2708 for key 1"
"failed loading SQL_LOAD-5-2-2.info"
- and in SHOW SLAVE STATUS, only:
"failed loading SQL_LOAD-5-2-2.info".
Now SHOW SLAVE STATUS will contain the concatenation of the 2 messages.
2003-07-24 22:25:36 +02:00
miguel@hegel.local
33c47c7ead Fix for service issue with paths having spaces (bug #687) 2003-07-23 21:57:44 -04:00
serg@serg.mylan
06623670c3 --with-openssl-includes/libraries 2003-07-23 16:13:07 +02:00
gluh@gluh.mysql.r18.ru
d3a1c3a243 Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.0
into gluh.mysql.r18.ru:/home/gluh/mysql-4.0.fix
2003-07-22 19:57:28 +05:00
gluh@gluh.mysql.r18.ru
4ddbb817d5 Bug #554: Support for --with-openssl[=DIR] 2003-07-22 19:56:52 +05:00
gluh@gluh.mysql.r18.ru
5603456e4f Bug #554: Support for --with-openssl[=DIR]
Here is fix for bug 554.
Added configure options 
--with-openssl-includes[=DIR] and --with-openssl-libs[=DIR]
2003-07-22 15:04:37 +05:00
lenz@mysql.com
60c914302d - tagged ChangeSet 1.1527.1.3 as "mysql-4.0.14"
- bumped up version number in configure.in to 4.0.15
2003-07-22 09:45:53 +02:00
heikki@hundin.mysql.fi
3711f4e985 btr0cur.c:
Fix bug: if there was a 'record too long' error in an insert, InnoDB forgot to free reserved file space extents; they were only freed in mysqld restart
2003-07-22 10:14:43 +03:00
heikki@hundin.mysql.fi
52706fd316 btr0cur.c:
Fix an error in the previous push
2003-07-22 03:23:02 +03:00
heikki@hundin.mysql.fi
8e96f02983 btr0cur.c:
Fix bug reported by Dyego Souza do Carmo: if a row becomes too long, > 8000 bytes, in an update, then InnoDB simply removes the clustered index record and does not report of table handler error 139
2003-07-22 02:44:55 +03:00
serg@serg.mylan
7a646f305c myisamchk --sort-records crash on compressed tables fixed. 2003-07-21 22:21:07 +02:00
serg@serg.mylan
716e91eecb Bug #473 - GRANT ... TO ''@... was requiring FLUSH PRIVILEGES to work 2003-07-21 13:46:57 +02:00
hf@deer.(none)
cb310f763a Fix for #712 with Serg's suggestions 2003-07-19 18:17:29 +05:00
hf@deer.(none)
a71c5c390b Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0
into deer.(none):/home/hf/work/mysql-4.0
2003-07-19 13:51:15 +05:00
serg@serg.mylan
904cad8783 typo fixed 2003-07-19 10:34:41 +02:00
monty@mashka.(none)
1054633f74 Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mashka.(none):/home/my/mysql-4.0
2003-07-18 12:38:18 +03:00
monty@mashka.(none)
428e348139 Portability fixes for Redhat 9 2003-07-18 12:35:29 +03:00
serg@serg.mylan
4784f60a3a Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2003-07-18 10:39:43 +02:00
lenz@mysql.com
c798a886dc Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
2003-07-18 10:13:41 +02:00
monty@narttu.mysql.fi
4d299ef16f Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into narttu.mysql.fi:/my/mysql-4.0
2003-07-18 04:38:05 +03:00
monty@narttu.mysql.fi
2bca1221cd Removed wrong "Found lock of type # that is write and read locked" warnings. 2003-07-18 04:37:37 +03:00
monty@narttu.mysql.fi
7b8a54b512 Fixed memory overrun when doing REPAIR on table with multi-part auto_increment key where one part was a packed CHAR 2003-07-18 04:04:24 +03:00