Commit graph

29880 commits

Author SHA1 Message Date
knielsen@mysql.com
854899a25f Merge bk-internal:/home/bk/mysql-5.1-new
into  mysql.com:/usr/local/mysql/x/mysql-5.1-new
2006-01-30 17:47:06 +01:00
andrey@lmy004.
0a0304b5e8 Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into lmy004.:/work/mysql-5.1-events_i_s
2006-01-30 17:20:46 +01:00
andrey@lmy004.
08892be32d post-merge fixes of fix for bug#16642 (No I_S.EVENTS table)
WL#1034 (Internal CRON)
2006-01-30 17:12:30 +01:00
msvensson@neptunus.(none)
94e65a8357 Merge bk-internal:/home/bk/mysql-5.1-new
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-01-30 17:07:38 +01:00
tomas@poseidon.ndb.mysql.com
061488eca3 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  poseidon.ndb.mysql.com:/home/tomas/mysql51
2006-01-30 17:07:37 +01:00
tomas@poseidon.ndb.mysql.com
15e0955666 added --core option in mysql-test-run for ndb 2006-01-30 17:06:31 +01:00
msvensson@neptunus.(none)
f10eef04bc Merge bk-internal:/home/bk/mysql-5.1-new
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-01-30 15:38:07 +01:00
knielsen@mysql.com
7ed1b0f0b4 Merge bk-internal:/home/bk/mysql-5.1-new
into  mysql.com:/usr/local/mysql/mysql-5.1-merge
2006-01-30 15:28:59 +01:00
mats@mysql.com
457130552b Merge mysql.com:/home/bkroot/mysql-5.1-new
into  mysql.com:/home/bk/fix-mysql-5.1-new
2006-01-30 15:22:18 +01:00
mats@mysql.com
81e0de3ebf Fixing minor problem causing the rpl_row_basic_11bugs test to fail
when executed using the Perl version of mysql-test-run.
2006-01-30 15:16:49 +01:00
knielsen@mysql.com
bfe989671f Merge mysql.com:/usr/local/mysql/mysql-5.0-merge
into  mysql.com:/usr/local/mysql/mysql-5.1-merge
2006-01-30 15:05:31 +01:00
andrey@lmy004.
9d7d8767dd post-commit merge 2006-01-30 14:28:48 +01:00
msvensson@neptunus.(none)
7c2475fb4c Merge bk-internal:/home/bk/mysql-5.1-new
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-01-30 13:46:30 +01:00
svoj@april.(none)
a718127744 Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  april.(none):/home/svoj/devel/mysql/BUG16722/mysql-5.1-new
2006-01-30 16:28:51 +04:00
andrey@lmy004.
d847ac54ca fix for bug#16642 (Events: No INFORMATION_SCHEMA.EVENTS table)
post-review change - use pointer instead of copy on the stack.
WL#1034 (Internal CRON)
 This patch adds INFORMATION_SCHEMA.EVENTS table with the following format:
  EVENT_CATALOG  - MYSQL_TYPE_STRING  (Always NULL)
  EVENT_SCHEMA   - MYSQL_TYPE_STRING  (the database)
  EVENT_NAME     - MYSQL_TYPE_STRING  (the name)
  DEFINER        - MYSQL_TYPE_STRING  (user@host)
  EVENT_BODY     - MYSQL_TYPE_STRING  (the body from mysql.event)
  EVENT_TYPE     - MYSQL_TYPE_STRING  ("ONE TIME" | "RECURRING")
  EXECUTE_AT     - MYSQL_TYPE_TIMESTAMP (set for "ONE TIME" otherwise NULL)
  INTERVAL_VALUE - MYSQL_TYPE_LONG    (set for RECURRING otherwise NULL)
  INTERVAL_FIELD - MYSQL_TYPE_STRING  (set for RECURRING otherwise NULL)
  SQL_MODE       - MYSQL_TYPE_STRING  (for now NULL)
  STARTS         - MYSQL_TYPE_TIMESTAMP (starts from mysql.event)
  ENDS           - MYSQL_TYPE_TIMESTAMP (ends from mysql.event)
  STATUS         - MYSQL_TYPE_STRING  (ENABLED | DISABLED)
  ON_COMPLETION  - MYSQL_TYPE_STRING  (NOT PRESERVE | PRESERVE)
  CREATED        - MYSQL_TYPE_TIMESTAMP
  LAST_ALTERED   - MYSQL_TYPE_TIMESTAMP
  LAST_EXECUTED  - MYSQL_TYPE_TIMESTAMP
  EVENT_COMMENT  - MYSQL_TYPE_STRING

  SQL_MODE is NULL for now, because the value is still not stored in mysql.event .
Support will be added as a fix for another bug.

 This patch also adds SHOW [FULL] EVENTS [FROM db] [LIKE pattern]
1. SHOW EVENTS shows always only the events on the same user,
   because the PK of mysql.event is (definer, db, name) several 
   users may have event with the same name -> no information disclosure.
2. SHOW FULL EVENTS - shows the events (in the current db as SHOW EVENTS)
   of all users. The user has to have PROCESS privilege, if not then
   SHOW FULL EVENTS behave like SHOW EVENTS.
3. If [FROM db] is specified then this db is considered.
4. Event names can be filtered with LIKE pattern.
  SHOW EVENTS returns table with the following columns, which are subset of
  the data which is returned by SELECT * FROM I_S.EVENTS
   Db
   Name
   Definer 
   Type
   Execute at
   Interval value
   Interval field 
   Starts 
   Ends
   Status
2006-01-30 13:15:23 +01:00
knielsen@mysql.com
6f9f3221ea Fix another non-portable __attribute__ 2006-01-30 12:42:27 +01:00
msvensson@neptunus.(none)
e24baf12b0 Merge bk-internal:/home/bk/mysql-5.1-new
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-01-30 12:12:48 +01:00
serg@serg.mylan
01ef1d13f8 __attribute__ is (of course) not portable 2006-01-30 11:25:47 +01:00
tomas@poseidon.ndb.mysql.com
0db3ac53e7 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  poseidon.ndb.mysql.com:/home/tomas/mysql51
2006-01-30 11:11:54 +01:00
tomas@poseidon.ndb.mysql.com
fd6a7d35b9 MySQL Bugs: #16772: Starting node joins cluster too early, workaround avoiding the issue for dynamically allocated nodeid's 2006-01-30 11:09:55 +01:00
msvensson@neptunus.(none)
44cd491502 Merge neptunus.(none):/home/msvensson/mysql/bug15904/my51-bug15904
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-01-30 11:03:17 +01:00
msvensson@neptunus.(none)
c56f8288cd Merge neptunus.(none):/home/msvensson/mysql/bug15719/my51-bug15719
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-01-30 10:59:51 +01:00
msvensson@neptunus.(none)
163f5da25b Merge neptunus.(none):/home/msvensson/mysql/bug15719/my50-bug15719
into  neptunus.(none):/home/msvensson/mysql/bug15719/my51-bug15719
2006-01-30 10:57:42 +01:00
jonas@perch.ndb.mysql.com
0f9efc3063 Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
2006-01-30 08:24:24 +01:00
jonas@perch.ndb.mysql.com
e736443ebf bug#10987 - ndb - ndb_rpl_bank
more printouts...
2006-01-30 08:23:54 +01:00
petr@mysql.com
e08a235907 Do not create log table handler if run in bootstrap mode.
This patch also fixes annoying complains on the log tables
absence, issued by the shell version of mysql-test-run.
2006-01-30 02:24:47 +03:00
jonas@perch.ndb.mysql.com
6e688cd9a1 bug#10987 - ndb - ndb_rpl_bank
even more debug printouts
2006-01-29 23:13:39 +01:00
jonas@perch.ndb.mysql.com
1705636077 bug#10987 - ndb - more printouts to hunt rpl_ndb_bank problem in pushbuild 2006-01-29 15:53:34 +01:00
serg@serg.mylan
cb354667ff Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new
into serg.mylan:/usr/home/serg/Abk/mysql-5.1
2006-01-29 09:53:26 +01:00
patg@govinda.patg.net
148b13b00c Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  govinda.patg.net:/home/patg/mysql-build/mysql-5.1-new-wl2986
2006-01-28 16:24:38 -08:00
patg@govinda.patg.net
437368e417 WL# 2986
Final patch
-----------

This WL is about using this bitmap in all parts of the partition handler.
Thus for:
rnd_init/rnd_next
index_init/index_next and all other variants of index scans
read_range_... the various range scans implemented in the partition handler.

Also use those bitmaps in the various other calls that currently loop over all
partitions.
2006-01-28 16:22:32 -08:00
serg@serg.mylan
10373a900f two buffer overflows fixed 2006-01-28 19:21:40 +01:00
joerg@debian.(none)
c81862cc77 Merge 2006-01-28 10:37:22 +01:00
joerg@debian.(none)
a643ba4640 Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into debian.(none):/M51/mysql-5.1
2006-01-28 09:01:11 +01:00
serg@serg.mylan
95adb0831d Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new
into serg.mylan:/usr/home/serg/Abk/mysql-5.1
2006-01-27 22:26:05 +01:00
joerg@debian.(none)
9c7add9c29 Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into debian.(none):/M51/mysql-5.1
2006-01-27 21:14:17 +01:00
pekka@mysql.com
8a125bd6d4 Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  mysql.com:/space/pekka/ndb/version/my51
2006-01-27 20:29:24 +01:00
pekka@mysql.com
30292b4618 ndb - wl#2972 fix null blobs 2006-01-27 20:27:10 +01:00
petr@mysql.com
01824dd749 Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  mysql.com:/home/cps/mysql/trees/5.1/5.1-virgin-debug
2006-01-27 21:43:01 +03:00
rburnett@production.mysql.com
c61ee0fb40 Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  production.mysql.com:/usersnfs/rburnett/mysql-5.1-bug15820
2006-01-27 16:42:43 +01:00
rburnett@production.mysql.com
0f6c55eeee BUG#15820 - Can create table with 1 partition, then doing ALTER .. ADD PARTITION crashes
It is ok for a partitioned table to have only 1 partition.  This test is just to show that
doing the ALTER TABLE ADD PARTITION doesn't crash the server.

partition_mgm_err.result:
  Added result block for test of bug #15820
partition_mgm_err.test:
  Added test block for bug #15820
2006-01-27 16:41:53 +01:00
joerg@debian.(none)
07b3d2e438 Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into debian.(none):/M51/mysql-5.1
2006-01-27 16:14:21 +01:00
jonas@perch.ndb.mysql.com
db6591c6c0 Merge perch.ndb.mysql.com:/home/jonas/src/51-new
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
2006-01-27 15:59:00 +01:00
jonas@perch.ndb.mysql.com
3ed97c9de8 ndb - fix compile error on sles9-x86 2006-01-27 15:58:00 +01:00
jonas@perch.ndb.mysql.com
f7606272b1 Merge perch.ndb.mysql.com:/home/jonas/src/51-new
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
2006-01-27 15:13:13 +01:00
jonas@perch.ndb.mysql.com
ecb378a0a0 bug#16842 - ndb dd - drop logfile group crashed after SR 2006-01-27 15:12:04 +01:00
jonas@perch.ndb.mysql.com
7fb07e47a1 bug#16495 - ndb dd - dict ref count was not correctly set after SR 2006-01-27 15:09:07 +01:00
petr@mysql.com
2b8f3b3ed1 Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into  mysql.com:/home/cps/mysql/trees/5.1/5.1-virgin-debug
2006-01-27 16:30:53 +03:00
jonas@perch.ndb.mysql.com
e24c3b7e52 Merge perch.ndb.mysql.com:/home/jonas/src/51-new
into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
2006-01-27 14:24:20 +01:00
jonas@perch.ndb.mysql.com
44001d581e ndb dd - Remove incorrect assertion making it's impossible to only use 1 undo file with "high" load 2006-01-27 14:23:43 +01:00