1. 24 Mar, 2007 7 commits
  2. 23 Mar, 2007 19 commits
    • unknown's avatar
    • unknown's avatar
      Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-marvel · d9a56f91
      unknown authored
      into  sin.intern.azundris.com:/home/tnurnberg/26817/50-26817
      
      
      sql/sql_view.cc:
        Auto merged
      d9a56f91
    • unknown's avatar
      Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.1 · 1e92dcae
      unknown authored
      into  sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.0-build
      
      
      mysys/thr_alarm.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      1e92dcae
    • unknown's avatar
      reverted linuxthreads thr_client_alarm fix (not future-proof) · d89329c6
      unknown authored
      fixed differently: wake up select_thread with THR_SERVER_ALARM instead
      
      
      mysys/thr_alarm.c:
        reverted linuxthreads thr_client_alarm fix (not future-proof)
      d89329c6
    • unknown's avatar
      Bug #26817: mysqldump fails to backup database containing view with invalid definer · b765a8af
      unknown authored
      give some leeway on required permissions for SHOW FIELDS on views so
      an unknonwn DEFINER will no longer break mysqldump
      
      
      client/client_priv.h:
        Bug #26817: mysqldump fails to backup database containing view with invalid definer
        
        New option for mysqldump: redirect stderr to file ("2> for Windows")
      client/mysqldump.c:
        Bug #26817: mysqldump fails to backup database containing view with invalid definer
        
        New option for mysqldump: redirect stderr to file ("2> for Windows")
      mysql-test/r/information_schema_db.result:
        Bug #26817: mysqldump fails to backup database containing view with invalid definer
        
        New option for mysqldump: redirect stderr to file ("2> for Windows")
      mysql-test/t/information_schema_db.test:
        Bug #26817: mysqldump fails to backup database containing view with invalid definer
        
        New option for mysqldump: redirect stderr to file ("2> for Windows")
      sql/sql_base.cc:
        Bug #26817: mysqldump fails to backup database containing view with invalid definer
        
        be a little more lenient for SHOW FIELDS FROM
      sql/sql_parse.cc:
        Bug #26817: mysqldump fails to backup database containing view with invalid definer
        
        be a little more lenient for SHOW FIELDS FROM on views on views
      sql/sql_view.cc:
        Bug #26817: mysqldump fails to backup database containing view with invalid definer
        
        give SHOW FIELDS the same perks as SHOW CREATE
      sql/table.cc:
        Bug #26817: mysqldump fails to backup database containing view with invalid definer
        
        give SHOW FIELDS the same perks as SHOW CREATE
      b765a8af
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0-marvel · 119087fb
      unknown authored
      into  andrepl.(none):/home/elkin/MySQL/MAIN/5.0-marvel-bug23333_sf_side_eff_binlog
      
      
      119087fb
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.0-marvel · 10d2528a
      unknown authored
      into  andrepl.(none):/home/elkin/MySQL/MAIN/mysql-5.0-marvel
      
      
      10d2528a
    • unknown's avatar
      Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.0-build · 48d4d50c
      unknown authored
      into  sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.0
      
      
      client/mysqlbinlog.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      mysql-test/r/view_grant.result:
        merged
      mysql-test/t/view_grant.test:
        merged
      48d4d50c
    • unknown's avatar
      Bug #27395 OPTION_STATUS_NO_TRANS_UPDATE is not preserved at the end of SF() · 4a76ac5f
      unknown authored
      thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit was not restored at the end of SF() invocation, where
      SF() modified non-ta table.
      As the result of this artifact it was not possible to detect whether there were any side-effects when
      top-level query ends. 
      If the top level query table was not modified and the bit is lost there would be no binlogging.
      
      Fixed with preserving the bit inside of thd->no_trans_update struct. The struct agregates two bool flags
      telling whether the current query and the current transaction modified any non-ta table.
      The flags stmt, all are dropped at the end of the query and the transaction.
      
      
      mysql-test/r/sp_trans.result:
        results will be changed once again after bug#23333 will be fixed.
      mysql-test/t/sp_trans.test:
        regression test added
      sql/ha_ndbcluster.cc:
        replacing thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit and bool thd->no_trans_update
        with thd->no_trans_update as struct
      sql/handler.cc:
        replacing operations with thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit
        with the member thd->no_trans_update.all;
        converting thd->no_trans_update into struct of bools.
      sql/log.cc:
        replacing operations with thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit
        with the member thd->no_trans_update.all;
        converting thd->no_trans_update into struct of bools.
      sql/set_var.cc:
        replacing operations with thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit
        with the member thd->no_trans_update.all;
        converting thd->no_trans_update into struct of bools.
      sql/sp_head.cc:
        replacing operations with thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit
        with the member thd->no_trans_update.all;
        converting thd->no_trans_update into struct of bools.
      sql/sql_class.h:
        replacing operations with thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit
        with the member thd->no_trans_update.all;
        converting thd->no_trans_update into struct of bools.
      sql/sql_delete.cc:
        replacing operations with thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit
        with the member thd->no_trans_update.all;
        converting thd->no_trans_update into struct of bools.
      sql/sql_insert.cc:
        replacing operations with thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit
        with the member thd->no_trans_update.all;
        converting thd->no_trans_update into struct of bools.
      sql/sql_load.cc:
        replacing operations with thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit
        with the member thd->no_trans_update.all;
        converting thd->no_trans_update into struct of bools.
      sql/sql_parse.cc:
        replacing operations with thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit
        with the member thd->no_trans_update.all;
        converting thd->no_trans_update into struct of bools.
      sql/sql_table.cc:
        replacing operations with thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit
        with the member thd->no_trans_update.all;
        converting thd->no_trans_update into struct of bools.
      sql/sql_update.cc:
        replacing operations with thd->options' OPTION_STATUS_NO_TRANS_UPDATE bit
        with the member thd->no_trans_update.all;
        converting thd->no_trans_update into struct of bools.
      4a76ac5f
    • unknown's avatar
      Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.1 · c62c0d9d
      unknown authored
      into  sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.0-build
      
      
      mysys/thr_alarm.c:
        Auto merged
      sql/mysqld.cc:
        SCCS merged
      c62c0d9d
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 29bf3ad4
      unknown authored
      into  sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.0-build
      
      
      29bf3ad4
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-marvel · ddb23beb
      unknown authored
      into  sergbook.mysql.com:/usr/home/serg/Abk/mysql-5.0
      
      
      client/mysqlbinlog.cc:
        Auto merged
      ddb23beb
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-build · cc72a835
      unknown authored
      into  sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.1
      
      
      cc72a835
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9a4b2e90
      unknown authored
      into  sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.1
      
      
      mysys/thr_alarm.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      9a4b2e90
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c80ac29e
      unknown authored
      into  sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/mysqld.cc:
        merged
      c80ac29e
    • unknown's avatar
      move thr_client_alarm initialization to mysqld.cc · 6e1f446a
      unknown authored
      (in thr_alarm.cc it happened too late).
      
      
      mysys/thr_alarm.c:
        move thr_client_alarm initialization to mysqld.cc
        (here it happened too late)
      sql/mysqld.cc:
        move thr_client_alarm initialization to mysqld.cc
        (in thr_alarm.cc it happened too late).
        moved thr_kill_signal initialization to init_signals()
      6e1f446a
    • unknown's avatar
      Fix for BUG#9504: Stored procedures: execute privilege doesn't · bd49d8de
      unknown authored
      make 'use database' okay.
      
      The problem was that we didn't check stored-routine privileges
      in check_grant_db().
      
      The patch adds this check.
      
      
      mysql-test/r/grant.result:
        Update result file.
      mysql-test/r/sp-security.result:
        Update result fil.
      mysql-test/t/grant.test:
        Added test case for BUG#9504.
      mysql-test/t/sp-security.test:
        Update test.
      sql/sql_acl.cc:
        Check stored routines privileges.
      bd49d8de
    • unknown's avatar
      Merge trift2.:/MySQL/M50/clone-5.0 · 8e1d4f72
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      sql/sql_class.cc:
        Auto merged
      8e1d4f72
    • unknown's avatar
      Merge trift2.:/MySQL/M50/mysql-5.0 · b2bbfcee
      unknown authored
      into  trift2.:/MySQL/M50/push-5.0
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      b2bbfcee
  3. 22 Mar, 2007 14 commits
    • unknown's avatar
      Merge obarnir@bk-internal.mysql.com:/home/bk/mysql-5.0-build · bbcc4bb0
      unknown authored
      into  linux.site:/home/omer/source/bld50_0321
      
      
      bbcc4bb0
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 3e6787d3
      unknown authored
      into  moonbone.local:/mnt/gentoo64/work/26813-bug-5.0-opt-mysql
      
      
      3e6787d3
    • unknown's avatar
      sql_view.cc: · 842eaa44
      unknown authored
        Post-fix for bug#26813.
      
      
      sql/sql_view.cc:
        Post-fix for bug#26813.
      842eaa44
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 3206447b
      unknown authored
      into  mysql.com:/home/hf/work/mrg/mysql-5.0-opt
      
      
      3206447b
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0-opt · b8c101df
      unknown authored
      into  mysql.com:/home/hf/work/mrg/mysql-5.0-opt
      
      
      b8c101df
    • unknown's avatar
      Merge mysql.com:/home/hf/work/mrg/mysql-4.1-opt · 45b55666
      unknown authored
      into  mysql.com:/home/hf/work/mrg/mysql-5.0-opt
      
      
      45b55666
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0 · 96793a96
      unknown authored
      into  mysql.com:/home/hf/work/mrg/mysql-5.0-opt
      
      
      sql/item_cmpfunc.cc:
        Auto merged
      96793a96
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-4.1 · 55f991c2
      unknown authored
      into  mysql.com:/home/hf/work/mrg/mysql-4.1-opt
      
      
      55f991c2
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · 9558c66c
      unknown authored
      into  moonbone.local:/mnt/gentoo64/work/26813-bug-5.0-opt-mysql
      
      
      9558c66c
    • unknown's avatar
      Bug#26813: The SUPER privilege is wrongly required to alter a view created by · 9b774e8f
      unknown authored
      another user.
      
      When the DEFINER clause isn't specified in the ALTER statement then it's loaded
      from the view definition. If the definer differs from the current user then
      the error is thrown because only a super-user can set other users as a definers.
      
      Now if the DEFINER clause is omitted in the ALTER VIEW statement then the
      definer from the original view is used without check.
      
      
      mysql-test/t/view_grant.test:
        Added a test case for the bug#27006: The SUPER privilege is wrongly required
        to alter a view created by another user.
      mysql-test/r/view_grant.result:
        Added a test case for the bug#27006: The SUPER privilege is wrongly required
        to alter a view created by another user.
      sql/sql_view.cc:
        Bug#26813: The SUPER privilege is wrongly required to alter a view created by
        another user.
        Now if the DEFINER clause is omitted in the ALTER VIEW statement then the
        definer from the original view is used without check.
      9b774e8f
    • unknown's avatar
      Bug#27171 mysqlbinlog produces different output depends from option -R · e2e06e3a
      unknown authored
      Server starts any binlog dump from Format_description_log_event,
      this shifted all offset calculations in mysqlbinlog and made it
      to stop the dump earlier than --stop-position. Now mysqlbinlog
      takes Format_description_log_event into account
      
      
      mysql-test/r/mysqlbinlog2.result:
        Bug#27171 mysqlbinlog produces different output depends from option -R
      mysql-test/t/mysqlbinlog2.test:
        Bug#27171 mysqlbinlog produces different output depends from option -R
      e2e06e3a
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp/mysql-4.1-build · 716d23a7
      unknown authored
      into  mysql.com:/home/kent/bk/tmp/mysql-5.0-build
      
      
      BitKeeper/deleted/.del-fill_func_tables.sh:
        Auto merged
      BitKeeper/deleted/.del-fill_help_tables.sh:
        Auto merged
      716d23a7
    • unknown's avatar
      .del-fill_func_tables.sh: · 4b4700f3
      unknown authored
        Delete: scripts/fill_func_tables.sh
      .del-fill_help_tables.sh:
        Delete: scripts/fill_help_tables.sh
      .del-internals.texi:
        Delete: Docs/internals.texi
      
      
      BitKeeper/deleted/.del-internals.texi:
        Delete: Docs/internals.texi
      BitKeeper/deleted/.del-fill_func_tables.sh:
        Delete: scripts/fill_func_tables.sh
      BitKeeper/deleted/.del-fill_help_tables.sh:
        Delete: scripts/fill_help_tables.sh
      4b4700f3
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp/mysql-4.1-build · 693f66bd
      unknown authored
      into  mysql.com:/home/kent/bk/tmp/mysql-5.0-build
      
      
      BitKeeper/deleted/.del-colspec-fix.pl:
        Auto merged
      BitKeeper/deleted/.del-docbook-fixup.pl:
        Auto merged
      BitKeeper/deleted/.del-docbook-prefix.pl:
        Auto merged
      BitKeeper/deleted/.del-docbook-split:
        Auto merged
      BitKeeper/deleted/.del-make-docbook:
        Auto merged
      BitKeeper/deleted/.del-make-makefile:
        Auto merged
      BitKeeper/deleted/.del-test-make-manual-de:
        Auto merged
      BitKeeper/deleted/.del-test-make-manual:
        Auto merged
      BitKeeper/deleted/.del-xwf:
        Auto merged
      693f66bd