1. 10 Aug, 2005 1 commit
    • unknown's avatar
      Fix for bug #12280 "Triggers: crash if flush tables". · f6fff55e
      unknown authored
      We should not allow FLUSH statement to be executed inside both triggers
      and stored functions.
      
      
      mysql-test/r/sp-error.result:
        Updated test after replacing error, which is thrown when one uses FLUSH
        statement inside of stored function, with more specific.
        Also now we issue more general error when we barking about USE command
        in stored routines.
      mysql-test/r/trigger.result:
        Added test for bug #12280 "Triggers: crash if flush tables"
      mysql-test/t/sp-error.test:
        Updated test after replacing error, which is thrown when one uses FLUSH
        statement inside of stored function, with more specific.
        Also now we issue more general error when we barking about USE command
        in stored routines.
      mysql-test/t/trigger.test:
        Added test for bug #12280 "Triggers: crash if flush tables"
      sql/share/errmsg.txt:
        Removed ER_SP_NO_USE error. Now we use more general ER_SP_BADSTATEMENT in this
        case. Instead added error message for barking about statements which should not
        be allowed inside of stored functions or triggers.
        It is safe to do this since it is highly unprobable that someone will upgrade
        first to the new 5.0 release and then downgrade back to the old one.
      sql/sql_parse.cc:
        reload_acl_and_cache():
          FLUSH TABLES and FLUSH PRIVILEGES should not be allowed if we are inside
          of stored function or trigger.
      sql/sql_yacc.yy:
        We should not allow FLUSH statement inside both triggers and stored
        functions. Replaced error which is thrown in this case with more
        specific.
        Also now we issue more general ER_SP_BADSTATEMENT error when one tries
        to use USE command inside of stored routine.
      f6fff55e
  2. 04 Aug, 2005 27 commits
  3. 03 Aug, 2005 12 commits
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 18b141f7
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      18b141f7
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release · dac07844
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      dac07844
    • unknown's avatar
      alot of formatting changes that came out of JimW's review · 55b4cb00
      unknown authored
      
      server-tools/instance-manager/IMService.cpp:
        fixed tabs and spacing per JimW's review
      server-tools/instance-manager/WindowsService.cpp:
        fixed tabs and spacing per JimW's review
      server-tools/instance-manager/WindowsService.h:
        fixed tabs and spacing per JimW's review
      server-tools/instance-manager/commands.cc:
        fixed tabs and spacing per JimW's review
      server-tools/instance-manager/instance.cc:
        fixed tabs and spacing per JimW's review
      server-tools/instance-manager/instance_map.cc:
        fixed tabs and spacing per JimW's review
      server-tools/instance-manager/listener.cc:
        fixed tabs and spacing per JimW's review
      server-tools/instance-manager/manager.cc:
        fixed tabs and spacing per JimW's review
      server-tools/instance-manager/options.cc:
        fixed tabs and spacing per JimW's review
      server-tools/instance-manager/user_map.cc:
        fixed tabs and spacing per JimW's review
      55b4cb00
    • unknown's avatar
      Merge mysql.com:/Users/emurphy/src/bk-clean/mysql-4.1 · be22eacb
      unknown authored
      into  mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0
      
      
      be22eacb
    • unknown's avatar
      BUG#12330 Adding updated result file which I missed in last changeset. · 357ebcc2
      unknown authored
      Adds --replace_column to make test results deterministic.
      
      
      mysql-test/r/rpl_slave_status.result:
        BUG#12330 updated result file which I missed in last changeset
        This updates the test to use --replace_column to make the test
        deterministic.
      357ebcc2
    • unknown's avatar
      Merge mysql.com:/Users/emurphy/src/bk-clean/mysql-4.1 · 1f018422
      unknown authored
      into  mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0
      
      
      1f018422
    • unknown's avatar
      Merge mysql.com:/Users/emurphy/src/bk-clean/mysql-4.1 · 910733d7
      unknown authored
      into  mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0
      
      
      configure.in:
        Auto merged
      BitKeeper/deleted/.del-acinclude.m4~f4ab416bac5003:
        Auto merged
      BitKeeper/deleted/.del-mysqlmanager.dsp~52d7a8f016396837:
        Auto merged
      BitKeeper/etc/config:
        Auto merged
      VC++Files/client/mysql.dsp:
        Auto merged
      VC++Files/client/mysqladmin.dsp:
        Auto merged
      VC++Files/client/mysqldump.dsp:
        Auto merged
      VC++Files/client/mysqlimport.dsp:
        Auto merged
      VC++Files/client/mysqlshow.dsp:
        Auto merged
      VC++Files/client/mysqltest.dsp:
        Auto merged
      VC++Files/mysql-test/mysql_test_run_new.dsp:
        Auto merged
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        Auto merged
      VC++Files/mysqlcheck/mysqlcheck.dsp:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      910733d7
    • unknown's avatar
      Merge mysql.com:/Users/emurphy/src/bk-clean/mysql-4.1 · 6743d718
      unknown authored
      into  mysql.com:/Users/emurphy/src/work/mysql-4.1-bug12330
      
      
      6743d718
    • unknown's avatar
      BUG#12330 Add --replace_column in order to make test deterministic. · e3036421
      unknown authored
      
      mysql-test/t/rpl_slave_status.test:
        Add --replace-column to make show slave status deterministic
      e3036421
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1764a75f
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      
      1764a75f
    • unknown's avatar
      Manual merge: Current 4.1.14 has precedence over 4.1.10b · d868eaf4
      unknown authored
      
      BitKeeper/etc/config:
        Auto merged
      VC++Files/client/mysql.dsp:
        Auto merged
      VC++Files/client/mysqladmin.dsp:
        Auto merged
      VC++Files/client/mysqlcheck.dsp:
        Auto merged
      VC++Files/client/mysqldump.dsp:
        Auto merged
      VC++Files/client/mysqlimport.dsp:
        Auto merged
      VC++Files/client/mysqlshow.dsp:
        Auto merged
      VC++Files/client/mysqltest.dsp:
        Auto merged
      VC++Files/mysql-test/mysql_test_run_new.dsp:
        Auto merged
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        Auto merged
      VC++Files/mysqlcheck/mysqlcheck.dsp:
        Auto merged
      VC++Files/mysqlmanager/mysqlmanager.dsp:
        Auto merged
      acinclude.m4:
        Auto merged
      zlib/ChangeLog:
        Auto merged
      zlib/FAQ:
        Auto merged
      zlib/INDEX:
        Auto merged
      zlib/README:
        Auto merged
      zlib/crc32.c:
        Auto merged
      zlib/deflate.c:
        Auto merged
      zlib/deflate.h:
        Auto merged
      zlib/gzio.c:
        Auto merged
      zlib/infback.c:
        Auto merged
      zlib/inffast.c:
        Auto merged
      zlib/inflate.c:
        Auto merged
      zlib/inftrees.c:
        Auto merged
      zlib/inftrees.h:
        Auto merged
      zlib/trees.c:
        Auto merged
      zlib/zconf.h:
        Auto merged
      zlib/zlib.3:
        Auto merged
      zlib/zlib.h:
        Auto merged
      zlib/zutil.h:
        Auto merged
      d868eaf4
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1 · bb10cc45
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      
      bb10cc45