1. 08 Jun, 2004 1 commit
    • unknown's avatar
      Fixed proper restoring of current db on errors. · 65fb2f30
      unknown authored
      This fixes part of BUG#3229: Stored procedure comment causes packets out of order.
      
      
      sql/sp.cc:
        Fixed proper restoring of current db on errors.
      sql/sp.h:
        Fixed proper restoring of current db on errors.
      sql/sp_head.cc:
        Fixed proper restoring of current db on errors.
      65fb2f30
  2. 07 Jun, 2004 2 commits
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 6c084ecb
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0-merge
      
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      6c084ecb
    • unknown's avatar
      Post-merge fixes. · e9a937a9
      unknown authored
      
      mysql-test/r/index_merge.result:
        Post-merge update of results. (Ok according to Sanja)
      sql/opt_range.cc:
        Post-merge fix provided by Sergey Petrunia.
      sql/sql_select.cc:
        Post-merge fix provided by Sergey Petrunia.
      e9a937a9
  3. 03 Jun, 2004 1 commit
    • unknown's avatar
      Post-merge fixes. · 6ece8b20
      unknown authored
      Not finished, will not be pushed until additional fixes have been made.
      
      
      client/mysqlbinlog.cc:
        Post-merge fixes.
      mysql-test/r/func_time.result:
        Post-merge fixes.
      sql/opt_range.cc:
        Post-merge fixes.
      sql/sql_select.cc:
        Post-merge fixes.
      6ece8b20
  4. 28 May, 2004 2 commits
    • unknown's avatar
      Fixed BUG#2460: Crash wih Stored Procedure and UNION. · 8612f98d
      unknown authored
      
      mysql-test/r/sp.result:
        Added test case for BUG#2460.
      mysql-test/t/sp.test:
        Added test case for BUG#2460.
      sql/sql_union.cc:
        When called from stored procedures, tabs might be reset already.
      8612f98d
    • unknown's avatar
      Added test cases for the following bugs that have been fixed by recent changes: · eb40c17f
      unknown authored
       BUG#1863: CREATE TABLE in Stored Procedure sometimes crashes on repeated calls.
       BUG#2656: select with join in stored procedure: erroneous result on 2nd call.
       BUG#3426: IF x IS NULL in stored procedure fails on second call within connection.
       BUG#3448: Stored Procedures with inner joins possible bug.
       BUG#3734: Stored procedure returns wrong rows with fulltext parameter.
       BUG#3863: Stored procedure crash when incrementing variable in a loop.
      
      (And corrected the row count output to the client after CALL)
      
      
      mysql-test/r/sp.result:
        New test case results for fixed bugs.
      mysql-test/t/sp.test:
        New test cases for fixed bugs.
      sql/sql_parse.cc:
        Corrected the row_count output to the client.
      eb40c17f
  5. 26 May, 2004 4 commits
    • unknown's avatar
      Merging 4.1 to 5.0. · b6ac966d
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      client/mysqltest.c:
        Auto merged
      configure.in:
        Auto merged
      include/my_sys.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      libmysqld/Makefile.am:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      mysql-test/r/func_group.result:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/r/null.result:
        Auto merged
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/r/rpl_server_id2.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/rpl000015.test:
        Auto merged
      mysql-test/t/rpl_error_ignored_table.test:
        Auto merged
      mysql-test/t/rpl_log.test:
        Auto merged
      mysql-test/t/rpl_log_pos.test:
        Auto merged
      mysql-test/t/rpl_max_relay_size.test:
        Auto merged
      mysql-test/t/rpl_relayrotate.test:
        Auto merged
      mysql-test/t/rpl_rotate_logs.test:
        Auto merged
      mysql-test/t/rpl_server_id2.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      netware/BUILD/compile-netware-all:
        Auto merged
      netware/BUILD/compile-netware-standard:
        Auto merged
      netware/BUILD/mwenv:
        Auto merged
      netware/Makefile.am:
        Auto merged
      netware/my_manage.c:
        Auto merged
      netware/my_manage.h:
        Auto merged
      netware/mysql_test_run.c:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_berkeley.h:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/protocol.cc:
        Auto merged
      sql/protocol.h:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_string.cc:
        Auto merged
      sql/sql_string.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      tests/client_test.c:
        Auto merged
      b6ac966d
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · ed93129b
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-sp2_bak-5.0
      
      
      mysql-test/t/sp.test:
        Auto merged
      ed93129b
    • unknown's avatar
      cleunup items of instruction after every instruction execution · dd733cc5
      unknown authored
      
      sql/sp_head.h:
        removed blanks at line end
        cleunup items of instruction after every instruction execution
      dd733cc5
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 128c85cf
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0-merge
      
      128c85cf
  6. 25 May, 2004 27 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 72136530
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      72136530
    • unknown's avatar
      Bug#3882 · a4a2a415
      unknown authored
      a4a2a415
    • unknown's avatar
      merge with 4.0 to get Netware patches and fixes for libmysqld.dll · d4594eb7
      unknown authored
      
      configure.in:
        Auto merged
      Build-tools/Do-compile:
        Auto merged
      client/mysql.cc:
        Auto merged
      client/mysqladmin.c:
        Auto merged
      client/mysqlcheck.c:
        Auto merged
      client/mysqldump.c:
        Auto merged
      client/mysqlimport.c:
        Auto merged
      client/mysqlshow.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      include/my_global.h:
        Auto merged
      include/thr_alarm.h:
        Auto merged
      innobase/include/trx0roll.h:
        Auto merged
      innobase/include/trx0trx.h:
        Auto merged
      innobase/que/que0que.c:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      innobase/trx/trx0purge.c:
        Auto merged
      innobase/trx/trx0roll.c:
        Auto merged
      innobase/trx/trx0trx.c:
        Auto merged
      innobase/usr/usr0sess.c:
        Auto merged
      isam/isamchk.c:
        Auto merged
      myisam/myisam_ftdump.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisampack.c:
        Auto merged
      mysys/default.c:
        Auto merged
      mysys/my_getopt.c:
        Auto merged
      mysys/my_init.c:
        Auto merged
      mysys/my_pthread.c:
        Auto merged
      netware/Makefile.am:
        Auto merged
      netware/init_db.sql:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      tools/mysqlmanager.c:
        Auto merged
      VC++Files/dbug/dbug.dsp:
        Auto merged
      VC++Files/heap/heap.dsp:
        Auto merged
      VC++Files/isam/isam.dsp:
        Auto merged
      VC++Files/libmysql/libmysql.dsp:
        Auto merged
      VC++Files/myisam/myisam.dsp:
        Auto merged
      VC++Files/myisammrg/myisammrg.dsp:
        Auto merged
      VC++Files/mysys/mysys.dsp:
        Auto merged
      VC++Files/libmysqld/libmysqld.dsp:
        merge
      client/mysqlbinlog.cc:
        merge
      extra/perror.c:
        merge
      include/mysql_com.h:
        merge
      libmysqld/Makefile.am:
        merge
      netware/BUILD/mwenv:
        merge
      sql/mysqld.cc:
        merge
      d4594eb7
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 42fe046c
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-sp2-5.0
      
      
      sql/sql_class.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      42fe046c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · bc60ead2
      unknown authored
      into mysql.com:/tmp/skr99/mysql-4.0
      
      bc60ead2
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0 · 4d181927
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.0
      
      4d181927
    • unknown's avatar
      Proposed fix for bug #3818 (libmysqld.dll leads to program's crash) · f85e1443
      unknown authored
      configurations added to build the libraries with USE_TLS flag to be
      used for libmysqld
      
      
      VC++Files/dbug/dbug.dsp:
        TLS_DEBUG configuration added
      VC++Files/heap/heap.dsp:
        TLS and TLS_DEBUG configurations added
      VC++Files/isam/isam.dsp:
        TLS and TLS_DEBUG configurations added
      VC++Files/libmysql/libmysql.dsp:
        MYSQL_CLIENT define enabled
      VC++Files/libmysqld/libmysqld.dsp:
        using of _tls libraries added
      VC++Files/myisam/myisam.dsp:
        TLS and TLS_DEBUG configurations added
      VC++Files/myisammrg/myisammrg.dsp:
        TLS and TLS_DEBUG configurations added
      VC++Files/mysys/mysys.dsp:
        TLS and TLS_DEBUG configurations added
      include/mysql_com.h:
        __declspec(dllimport) seems to be necessary when one uses .dll
        on Windows
      f85e1443
    • unknown's avatar
      Remove not needed sql_olap.cc from Makefile.am · 2b06f51b
      unknown authored
      
      VC++Files/comp_err/comp_err.dsp:
        removed not needed library
      libmysqld/Makefile.am:
        Remove not needed sql_olap.cc
      2b06f51b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 81a07004
      unknown authored
      into mysql.com:/tmp/skr99/mysql-4.0
      
      
      client/mysqltest.c:
        Auto merged
      configure.in:
        Auto merged
      include/my_global.h:
        Auto merged
      myisam/myisam_ftdump.c:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      81a07004
    • unknown's avatar
      Added patches from Novell · a37fc4bb
      unknown authored
      
      Build-tools/Do-compile:
        Fixed indentation
      configure.in:
        Added patches from Novell
        Added C_EXTRA_FLAGS as an easy way to pass flags to both CFLAGS and CXXFLAGS
      extra/perror.c:
        Fixed error number reporting to not report 'Unknown error'
      include/my_global.h:
        Defines to make NETWARE patches cleaner
      include/thr_alarm.h:
        Fixed wrong macro
      netware/mysql_install_db.c:
        Indentation fix
      a37fc4bb
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 0b9d5a56
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0-merge
      
      0b9d5a56
    • unknown's avatar
      Merge mysql.com:/usr/local/bk/mysql-5.0 · 97935065
      unknown authored
      into mysql.com:/home/pem/work/mysql-5.0
      
      97935065
    • unknown's avatar
      a0f81ddc
    • unknown's avatar
      InnoDB cleanup and possible bug-fix: Remove srv0que · 8983aac4
      unknown authored
      
      BitKeeper/deleted/.del-srv0que.c~d1feebb77b5a9b96:
        Delete: innobase/srv/srv0que.c
      innobase/srv/Makefile.am:
        Remove srv0que.c
      BitKeeper/deleted/.del-srv0que.h~f12ecb4b5afe203e:
        Delete: innobase/include/srv0que.h
      innobase/include/Makefile.am:
        Remove srv0que.c
      innobase/include/que0que.h:
        Remove unnecessary function que_fork_error_handle()
        que_thr_end_wait(): Remove output parameter next_thr; return it
      innobase/include/trx0roll.h:
        trx_rollback(), trx_finish_rollback_off_kernel():
        Remove output parameter next_thr; return it instead
      innobase/include/trx0trx.h:
        trx_sig_send(), trx_sig_reply(), trx_sig_start_handle():
        Remove output parameter next_thr; return it instead
      innobase/include/usr0sess.h:
        Remove sess->state and its literals SESS_ACTIVE and SESS_ERROR
      innobase/que/que0que.c:
        Remove unnecessary function que_fork_error_handle()
        que_thr_end_wait(): Remove output parameter next_thr; return it
        Remove references to srv0que.c
      innobase/srv/srv0srv.c:
        Remove unnecessary #include "srv0que.h"
      innobase/trx/trx0purge.c:
        Remove unneeded references to srv0que.c
      innobase/trx/trx0roll.c:
        Many functions: Remove output parameter next_thr; return it instead
        Remove references to srv0que.c
      innobase/trx/trx0trx.c:
        Many functions: Remove output parameter next_thr; return it instead
        Remove references to srv0que.c
        Remove references to SESS_ERROR
      innobase/usr/usr0sess.c:
        Remove sess->state
      8983aac4
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c33f9572
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      c33f9572
    • unknown's avatar
    • unknown's avatar
      changed comment for LONG_DATA_COMMAND · 7b89afd3
      unknown authored
      7b89afd3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 93e27bfe
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      93e27bfe
    • unknown's avatar
      Merge with 4.0 to get fixes for project files · cf26c504
      unknown authored
      cf26c504
    • unknown's avatar
      Fixed VC++ project files · dd62a2ed
      unknown authored
      
      VC++Files/copy_mysql_files.bat:
        Added /Y to avoid questions
        Fixed wrong path for copying data files
      VC++Files/sql/mysqld.dsp:
        Added missing compiler option
      dd62a2ed
    • unknown's avatar
      Preparation for user-defined Unicode collations: · 105dde3c
      unknown authored
      weights data now comes from a static variables
      but from the charset structure. 
      
      105dde3c
    • unknown's avatar
      sql_string.h: · 520cad8d
      unknown authored
        Not used code.
        ,
      sql_string.cc:
        Not used code.
      
      
      sql/sql_string.cc:
        Not used code.
      sql/sql_string.h:
        Not used code.
        ,
      520cad8d
    • unknown's avatar
      1. Some optimization when conversion is not needed. · 58747e20
      unknown authored
      2. One now must pass length argument into append(const char *str, uint length),
      length is not calculated internally anymore.
      
      58747e20
    • unknown's avatar
      Removed references to BDB and InnoDB from 'classic' release · 745510b6
      unknown authored
      
      VC++Files/mysqldemb/mysqldemb.dsp:
        Removed references to BDB and InnoDB from 'classic'
      VC++Files/sql/mysqld.dsp:
        Removed references to BDB and InnoDB from 'classic'
      745510b6
    • unknown's avatar
      fixed typos · d672bf8c
      unknown authored
      d672bf8c
    • unknown's avatar
      Merge · c492c23c
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      Build-tools/Do-compile:
        SCCS merged
      c492c23c
    • unknown's avatar
      logging_ok: · 252f3130
      unknown authored
        Logging to logging@openlogging.org accepted
      Do-compile:
        1. Option to ensure that logs are moved and then backed up on each host prior to a build
        2. Option to run build with flag "--without-ndbcluster"
      
      
      Build-tools/Do-compile:
        1. Option to ensure that logs are moved and then backed up on each host prior to a build
        2. Option to run build with flag "--without-ndbcluster"
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      252f3130
  7. 24 May, 2004 3 commits
    • unknown's avatar
      Merge with 4.0 to get typo-fix · 5734edcd
      unknown authored
      
      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/isamchk/isamchk.dsp:
        Auto merged
      VC++Files/my_print_defaults/my_print_defaults.dsp:
        Auto merged
      VC++Files/myisamchk/myisamchk.dsp:
        Auto merged
      VC++Files/myisamlog/myisamlog.dsp:
        Auto merged
      VC++Files/myisampack/myisampack.dsp:
        Auto merged
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        Auto merged
      VC++Files/mysqlcheck/mysqlcheck.dsp:
        Auto merged
      VC++Files/pack_isam/pack_isam.dsp:
        Auto merged
      VC++Files/perror/perror.dsp:
        Auto merged
      VC++Files/replace/replace.dsp:
        Auto merged
      VC++Files/sql/mysqld.dsp:
        Auto merged
      VC++Files/libmysqld/libmysqld.dsp:
        Merge
      5734edcd
    • unknown's avatar
      Fixed typo · bd8c505b
      unknown authored
      bd8c505b
    • unknown's avatar
      Merge with 4.0 to get fixes for Windows project files · 54a32091
      unknown authored
      
      VC++Files/client/mysql.dsp:
        Auto merged
      VC++Files/client/mysqladmin.dsp:
        Auto merged
      VC++Files/client/mysqldump.dsp:
        Auto merged
      VC++Files/mysql.dsw:
        Auto merged
      VC++Files/client/mysqlimport.dsp:
        Auto merged
      VC++Files/client/mysqlshow.dsp:
        Auto merged
      VC++Files/isamchk/isamchk.dsp:
        Auto merged
      VC++Files/libmysql/libmysql.dsp:
        Auto merged
      VC++Files/my_print_defaults/my_print_defaults.dsp:
        Auto merged
      VC++Files/myisamchk/myisamchk.dsp:
        Auto merged
      VC++Files/myisamlog/myisamlog.dsp:
        Auto merged
      VC++Files/myisampack/myisampack.dsp:
        Auto merged
      VC++Files/mysqlbinlog/mysqlbinlog.dsp:
        Auto merged
      VC++Files/mysqlcheck/mysqlcheck.dsp:
        Auto merged
      VC++Files/mysqlmanager/mysqlmanager.dsp:
        Auto merged
      VC++Files/mysys/mysys.dsp:
        Auto merged
      VC++Files/pack_isam/pack_isam.dsp:
        Auto merged
      VC++Files/perror/perror.dsp:
        Auto merged
      VC++Files/replace/replace.dsp:
        Auto merged
      include/my_global.h:
        Auto merged
      include/mysql_version.h.in:
        Auto merged
      innobase/eval/eval0eval.c:
        Auto merged
      innobase/sync/sync0arr.c:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      sql-bench/crash-me.sh:
        Auto merged
      sql-bench/limits/mysql-4.0.cfg:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      54a32091