1. 14 Feb, 2006 17 commits
    • unknown's avatar
      manual merge · 31355ec5
      unknown authored
      
      mysql-test/r/events.result:
        Auto merged
      mysql-test/t/events.test:
        Auto merged
      sql/event.h:
        Auto merged
      sql/event_executor.cc:
        Auto merged
      sql/event_timed.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_acl.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      sql/table.h:
        Auto merged
      31355ec5
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · f153b4a9
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      f153b4a9
    • unknown's avatar
      Bug #16445 ndb, schema version error 241 after mysqld restart · 9543dfbf
      unknown authored
      - table dictionary status was checked only for Invalid
      
      9543dfbf
    • unknown's avatar
      - final fixes for bug#16431 (Events: An event which alters itself disappears) · ccad166d
      unknown authored
      - fix for bug#16423 (Events: SHOW CREATE EVENT doesn't work)
      - this Changeset commits makes CREATE/UPDATE/DELETE EVENT real DDL statements
        by committing the currently open transaction before they are executed.
      - this Changeset also fixes a trailing space problem since the very early days
        of the internal cron
      - adds sophisticated checking of whether mysql.event was tampered accidentally
        or with purpose by an user.
      - adds a lot of inline function documentation - documents everything left
        uncodumented
      - INTERVAL_XXXX to XXX in I_S.EVENTS.INTERVAL_FIELD
      
      WL#1034 (Internal CRON)
      
      
      mysql-test/r/events.result:
        update result
      mysql-test/t/events.test:
        add test cases for SHOW CREATE EVENT
        add test cases where the structure of mysql.event is changed and error reporting in this case
      sql/event.cc:
        - do a lot more checking on mysql.event whether it's valid
          introduced generic function table_check_intact() which can be used also
          for checking whether a system table (mysql.*) has been tampered by user
          and report an error in this case. The checking is quite strict, thus
          maybe some mechanism can be added later that loosens this like some
          session variable, for instance, i_am_aware_that_i_can_damage_my_data
          so the table will be opened nevertheless we think that it's not valid.
        - add evex_show_create_event(THD *thd, sp_name *spn, LEX_STRING definer)
        - document a loooot. not a single function left undocumented.
      sql/event.h:
        - add evex_show_create_event(THD *thd, sp_name *spn, LEX_STRING definer)
        - change get_show_create_event() to get_create_event()
        - add TABLE_FIELD_W_TYPE used by table_check_intact()
        - add event_timed::sql_mode so it can be used by show create event. currently
          always 0, will be fixed by a patch for another bug. At least makes the code
          of show create event complete.
      sql/event_executor.cc:
        - add evex_check_system_tables() that checks on boot and event
          main thread startup that mysql.db and mysql.user tables are correct.
        - document everything!
      sql/event_priv.h:
        remove a line
      sql/event_timed.cc:
        - implement SHOW CREATE EVENT
        - document undocumented functions!
      sql/share/errmsg.txt:
        - fix an error message and add two new
      sql/sql_acl.cc:
        - add mysql.db table definition to use by table_check_intact()
        - exchange some of the positions by numbers from mysql.db to enum names (see sql_acl.h)
      sql/sql_acl.h:
        - define the structure of mysql.db table
      sql/sql_parse.cc:
        - handle SQLCOM_SHOW_CREATE_EVENT
        - end the current transaction becase CREATE/UPDATE/DELETE EVENT is a DDL
          statement
      sql/sql_show.cc:
        - remove interval_type_to_name
        - use common function event_reconstruct_interval_expression()
          that reconstructs the expression given at create/alter, to some
          extent - interval of 2:62 MINUTE_SECOND will be reconstructed as
          interval of 3:02 MINUTE_SECOND!
      sql/sql_yacc.yy:
        init the definer of event_timed also when doing SHOW CREATE EVENT
        because it's needed for checking into mysql.event
      sql/table.cc:
        - remove stale code. only mysql.event should be a 'system_table'
        - add table_check_intact() to check the consistency of a table.
          mostly usable with mysql.xxx tables.
      sql/table.h:
        - export TABLE_FIELD_W_TYPE and table_check_intact() which are used for 
          checking the structure of a table. mostly usable for mysql.xxx tables.
      ccad166d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 967132ef
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.1-nl
      
      967132ef
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · dae9e7c6
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.1-nl
      
      
      sql/sql_yacc.yy:
        Auto merged
      dae9e7c6
    • unknown's avatar
      MATCH(a,b) AGAINST (... IN NATURAL LANGUAGE MODE) · ad261dbc
      unknown authored
      remove explicit $<ulong_num>$ from sql_yacc.yy
      
      
      mysql-test/r/fulltext.result:
        MATCH(a,b) AGAINST (... IN NATURAL LANGUAGE MODE)
      mysql-test/t/fulltext.test:
        MATCH(a,b) AGAINST (... IN NATURAL LANGUAGE MODE)
      ad261dbc
    • unknown's avatar
      BUG#17117: header fille "plugin.h" does not have a namespace prefix · eb9b1653
      unknown authored
      plugin.h has been moved into include/mysql/plugin.h
      
      
      include/mysql/plugin.h:
        Rename: include/plugin.h -> include/mysql/plugin.h
      include/Makefile.am:
        plugin.h has been moved into include/mysql/plugin.h
      include/myisam.h:
        plugin.h has been moved into include/mysql/plugin.h
      plugin/fulltext/plugin_example.c:
        plugin.h has been moved into include/mysql/plugin.h
      sql/sql_plugin.h:
        plugin.h has been moved into include/mysql/plugin.h
      storage/csv/ha_tina.cc:
        plugin.h has been moved into include/mysql/plugin.h
      storage/example/ha_example.cc:
        plugin.h has been moved into include/mysql/plugin.h
      storage/myisam/ftdefs.h:
        plugin.h has been moved into include/mysql/plugin.h
      eb9b1653
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 47e85063
      unknown authored
      into mysql.com:/home/gluh/MySQL/Merge/5.1-new
      
      47e85063
    • unknown's avatar
      Bug#16591 Partitions: crash using information_schema.partitions · 369320cf
      unknown authored
      Bug#16695 Reading I_S.PARTITIONS with pre-5.1.6 partitioned tables crashes server
       issue a warning in case of error during table opening
      
      369320cf
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · ee2d8df8
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      ee2d8df8
    • unknown's avatar
      disabled non deterministic test · 22ddf9cb
      unknown authored
      22ddf9cb
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0.cs_fs · 5927f69a
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new.fscs
      
      
      mysql-test/r/variables.result:
        SCCS merged
      mysql-test/t/variables.test:
        SCCS merged
      5927f69a
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0 · 4d6e614f
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new.fscs
      
      4d6e614f
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8ab48d88
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0.cs_fs
      
      
      sql/set_var.cc:
        Auto merged
      8ab48d88
    • unknown's avatar
      Many files: · 0147958a
      unknown authored
        Backporting character_set_filesystem from 5.0 to 5.1.
      
      
      sql/mysqld.cc:
        Backporting character_set_filesystem from 5.0 to 5.1.
      sql/set_var.cc:
        Backporting character_set_filesystem from 5.0 to 5.1.
      sql/set_var.h:
        Backporting character_set_filesystem from 5.0 to 5.1.
      sql/sql_class.cc:
        Backporting character_set_filesystem from 5.0 to 5.1.
      sql/sql_class.h:
        Backporting character_set_filesystem from 5.0 to 5.1.
      sql/sql_yacc.yy:
        Backporting character_set_filesystem from 5.0 to 5.1.
      mysql-test/t/variables.test:
        Backporting character_set_filesystem from 5.0 to 5.1.
      mysql-test/r/variables.result:
        Backporting character_set_filesystem from 5.0 to 5.1.
      0147958a
    • unknown's avatar
      Removed version information from test · fcda9e95
      unknown authored
      fcda9e95
  2. 13 Feb, 2006 23 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · a2a45c6b
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.1-nl
      
      
      sql/sql_plugin.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      a2a45c6b
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · c656d27a
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      c656d27a
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · b9b7298c
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.1-ss115x
      
      b9b7298c
    • unknown's avatar
      Deleted innodb_unsafe_binlog.test erroneously merged from · 054aa9aa
      unknown authored
        the innodb-5.0-ss115 snapshot.
      
      
      BitKeeper/deleted/.del-innodb_unsafe_binlog.test~8c3e0832ef20aa2:
        Delete: mysql-test/t/innodb_unsafe_binlog.test
      BitKeeper/deleted/.del-innodb_unsafe_binlog-master.opt~9cbe1bb3d8696c5b:
        Delete: mysql-test/t/innodb_unsafe_binlog-master.opt
      BitKeeper/deleted/.del-innodb_unsafe_binlog.result~7617b075b81d112d:
        Delete: mysql-test/r/innodb_unsafe_binlog.result
      054aa9aa
    • unknown's avatar
      Bug #17340 SHOW CREATE TABLE from second session crashes the server · f7f3d087
      unknown authored
      - no check was made that ndb thd object was allocated
      
      
      sql/ha_ndbcluster.h:
        Bug #17340  	SHOW CREATE TABLE from second session crashes the server
      sql/handler.h:
        Bug #17340  	SHOW CREATE TABLE from second session crashes the server
      sql/sql_show.cc:
        Bug #17340  	SHOW CREATE TABLE from second session crashes the server
      f7f3d087
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 64e6c3b5
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.1-new
      
      64e6c3b5
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · f7a62a95
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      f7a62a95
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 8ca0aee5
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      8ca0aee5
    • unknown's avatar
      Bug #17179 schema creation fails · 9dcc8714
      unknown authored
      -flag was set on field intable share instead of table
      
      
      mysql-test/r/ndb_basic.result:
        Bug #17179  	schema creation fails
      mysql-test/t/ndb_basic.test:
        Bug #17179  	schema creation fails
      9dcc8714
    • unknown's avatar
      mysqlimport.c: · 6d54455f
      unknown authored
        Removed C++ comment, changed types for pthread_create() usage
      
      
      client/mysqlimport.c:
        Removed C++ comment, changed types for pthread_create() usage
      6d54455f
    • unknown's avatar
      BUG#17339: Missed line in previous patch · fee46a79
      unknown authored
      
      mysql-test/r/rpl_loaddata_s.result:
        Missed line
      fee46a79
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-5.1-new · e63f8ad3
      unknown authored
      into  mysql.com:/users/lthalmann/bk/mysql-5.1-new-bug17339
      
      e63f8ad3
    • unknown's avatar
      Merge lthalmann@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 2d3f2558
      unknown authored
      into  mysql.com:/users/lthalmann/bkroot/mysql-5.1-new
      
      2d3f2558
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-5.1-new · d3eb3044
      unknown authored
      into  mysql.com:/users/lthalmann/bk/mysql-5.1-new-bug17339
      
      d3eb3044
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new · b9c63fc6
      unknown authored
      into  zim.tangent.org:/home/brian/mysql/cleanup-5.1
      
      b9c63fc6
    • unknown's avatar
      Fix for bad merge. · 41a5f263
      unknown authored
      
      mysql-test/t/disabled.def:
        Removed reference to  failed test.
      sql/ha_archive.cc:
        This fixes the optimize problem introduced in a bad merge.
      41a5f263
    • unknown's avatar
      support-files/mysql.spec.sh : Use "-i" on "make test-force", add missing changelog notes. · 00a765b4
      unknown authored
      
      support-files/mysql.spec.sh:
        - Use "-i" on "make test-force",
        - document other recent changes in the changelog section (where notes were missing).
      00a765b4
    • unknown's avatar
      BUG#17339: Most rpl tests need to execute sync_slave_with_master to ensure... · cd504cda
      unknown authored
      BUG#17339: Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      For this particular bug report it was rpl_loadfile.test that did not make proper cleanup, but the patch
      includes fixes for other tests aswell.
      
      
      mysql-test/r/rpl_loaddata2.result:
        Cleanup
      mysql-test/r/rpl_redirect.result:
        Cleanup
      mysql-test/r/rpl_slave_status.result:
        Cleanup
      mysql-test/t/rpl_LD_INFILE.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_drop_temp.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_ignore_table.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_loaddata2.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_loaddata_m.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_loaddata_s.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_loadfile.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_multi_update4.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_ndb_basic.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_redirect.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_row_func001.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_row_func002.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_row_sp001.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_row_sp005.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_row_sp008.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_row_sp009.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_row_sp010.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_row_sp011.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_row_sp012.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_row_trig001.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_row_trig002.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_skip_error.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_slave_status.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_sp.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      mysql-test/t/rpl_sp004.test:
        Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
      cd504cda
    • unknown's avatar
      Merge lthalmann@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 38482065
      unknown authored
      into  mysql.com:/users/lthalmann/bkroot/mysql-5.1-new
      
      38482065
    • unknown's avatar
      Merge snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0-clone3 · 99546030
      unknown authored
      into  snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.1
      
      
      sql/set_var.cc:
        manual merge.
      99546030
    • unknown's avatar
      Merge snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0 · 2c9e8468
      unknown authored
      into  snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0-clone
      
      2c9e8468
    • unknown's avatar
      set_var.cc: · 30446de6
      unknown authored
        Fix out-of-order system variable.
      
      
      sql/set_var.cc:
        Fix out-of-order system variable.
      30446de6
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0 · 935ba452
      unknown authored
      into mysql.com:/M50/rpmspec-5.0
      
      935ba452