1. 13 Sep, 2005 15 commits
    • unknown's avatar
      Fixed BUG#12712: SET AUTOCOMMIT should fail within SP/functions/triggers · 065a9377
      unknown authored
        Second version after review. Allow 'set autocommit' in procedures, but not
        functions or triggers. Can return error in run-time (when a function calls
        a procedure).
      
      
      mysql-test/r/sp-error.result:
        New test case for BUG#12712.
      mysql-test/t/sp-error.test:
        New test case for BUG#12712.
      sql/set_var.cc:
        Made sys_autocommit external, to allow testing in sql_yacc.yy.
      sql/set_var.h:
        Made sys_autocommit external, to allow testing in sql_yacc.yy.
      sql/share/errmsg.txt:
        New error message for disallowing the setting of autocommit in stored functions and triggers.
      sql/sp_head.h:
        New flag: has 'set autocommit', and testing for this in is_not_allowed_in_function().
      sql/sql_yacc.yy:
        Disallow setting AUTOCOMMIT in stored function and triggers.
      065a9377
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · b5e15568
      unknown authored
      into  mysql.com:/usr/home/pem/mysql-5.0
      
      
      b5e15568
    • unknown's avatar
      Fixed BUG#12379: PROCEDURE with HANDLER calling FUNCTION with error · b6aba9db
      unknown authored
                       get strange result
        according to Monty's suggestions, fixing the SELECT behaviour on errors
        with SP handlers. Note that some warnings from SELECT still shows up when
        the handler has caught - this is an effect of another known bug (BUG#7049).
      
      
      mysql-test/r/sp.result:
        New test cases for BUG#12379.
      mysql-test/t/sp.test:
        New test cases for BUG#12379.
      sql/sql_class.cc:
        Abort selects on errors more graceful with SP handlers.
      sql/sql_class.h:
        Abort selects on errors more graceful with SP handlers.
      b6aba9db
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 20c8bfe7
      unknown authored
      into  mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      20c8bfe7
    • unknown's avatar
      Print a dummy section in order not to interference · d3f0c625
      unknown authored
      with /etc/my.cnf and ~/.my.cnf [client] section.
      
      
      d3f0c625
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · eece59c2
      unknown authored
      into  mysql.com:/usr/home/pem/mysql-5.0
      
      
      eece59c2
    • unknown's avatar
      merge · c53e51af
      unknown authored
      c53e51af
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 32dc0aad
      unknown authored
      into  mysql.com:/usr/home/pem/mysql-5.0
      
      
      32dc0aad
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · 468c357a
      unknown authored
      into  mysql.com:/home/timka/mysql/src/5.0-2486
      
      
      sql/sql_parse.cc:
        Auto merged
      468c357a
    • unknown's avatar
      Fixed BUG#13133: Local variables in stored procedures are not initialized correctly. · 902932a1
      unknown authored
        Have to init. all local variables in their frames, not just once at the beginning
        of invocation.
      
      
      mysql-test/r/sp.result:
        New test case for BUG#13133.
      mysql-test/t/sp.test:
        New test case for BUG#13133.
      sql/sp_head.cc:
        Just init. local variable slots in the fram to NULL. (Real init. will be done
        in each block.)
      sql/sp_pcontext.cc:
        Removed isset flag, since it's not used.
      sql/sp_pcontext.h:
        Removed isset flag, since it's not used.
      sql/sql_yacc.yy:
        Initialize local variables in the block to null, or the default value, given.
        (Untabifed block too.)
      902932a1
    • unknown's avatar
      sql_prepare.cc: · e7b5b5c8
      unknown authored
        VC6 can't handle initializing const in declaration
      
      
      sql/sql_prepare.cc:
        VC6 can't handle initializing const in declaration
      e7b5b5c8
    • unknown's avatar
      minor compile error fix · b51879f1
      unknown authored
      b51879f1
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · b50eb4cd
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      b50eb4cd
    • unknown's avatar
      innochecksum.c: · 276e9f82
      unknown authored
        Changed from C++ comments to C comments
        Did some adaption to MySQL Coding Style
      
      
      extra/innochecksum.c:
        Changed from C++ comments to C comments
        Did some adaption to MySQL Coding Style
      276e9f82
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-clean · 8dc5c95b
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      include/my_global.h:
        Auto merged
      include/my_pthread.h:
        Auto merged
      include/violite.h:
        Auto merged
      mysql-test/r/ndb_autodiscover.result:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/ndbapi/SignalSender.cpp:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/examples/ha_archive.cc:
        Auto merged
      sql/net_serv.cc:
        Auto merged
      vio/vio.c:
        Auto merged
      vio/viosocket.c:
        Auto merged
      vio/viossl.c:
        Auto merged
      configure.in:
        Resolve conflicts
      8dc5c95b
  2. 12 Sep, 2005 25 commits