1. 17 Jun, 2004 19 commits
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-3.23 into mysql.com:/home/my/mysql-4.0 · 8764abf2
      unknown authored
      
      libmysql/libmysql.c:
        Auto merged
      8764abf2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 2871477d
      unknown authored
      into mysql.com:/home/my/mysql-4.0
      
      
      2871477d
    • unknown's avatar
      Fixed unlikely bug in the range optimzer when using many IN() queries on... · 209cfe77
      unknown authored
      Fixed unlikely bug in the range optimzer when using many IN() queries on different key parts. (Bug #4157)
      
      
      mysql-test/r/range.result:
        Test of range optimizer bug
      mysql-test/t/range.test:
        Test of range optimizer bug
      sql/opt_range.cc:
        Fixed unlikely bug in the range optimzer when using many IN() queries on
        different key parts. (Bug #4157)
      209cfe77
    • unknown's avatar
      mem0dbg.h, mem0dbg.c: · 6646140f
      unknown authored
        Put back mem_print_info() functions that are used to analyze memory leaks; Marko removed them by accident in his Feb 20th, 2004 patch; these functions are very important for debugging, and should always be kept in the source code base
      
      
      innobase/mem/mem0dbg.c:
        Put back mem_print_info() functions that are used to analyze memory leaks; Marko removed them by accident in his Feb 20th, 2004 patch; these functions are very important for debugging, and should always be kept in the source code base
      innobase/include/mem0dbg.h:
        Put back mem_print_info() functions that are used to analyze memory leaks; Marko removed them by accident in his Feb 20th, 2004 patch; these functions are very important for debugging, and should always be kept in the source code base
      6646140f
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-3.23 · b57fe1e2
      unknown authored
      into mysql.com:/home/mysql_src/mysql-3.23
      
      
      libmysql/libmysql.c:
        Auto merged
      b57fe1e2
    • unknown's avatar
      Fix for BUG#4017 "mysql_real_connect buffer overflow" · 414250c4
      unknown authored
      
      libmysql/libmysql.c:
        safety fix
      414250c4
    • unknown's avatar
      que0que.c, srv0que.c: · 1ebf24b9
      unknown authored
        Put asserts that make sure srv_que_task_enqueue() is never called under MySQL
      
      
      innobase/srv/srv0que.c:
        Put asserts that make sure srv_que_task_enqueu() is never called under MySQL
      innobase/que/que0que.c:
        Put asserts that make sure srv_que_task_enqueu() is never called under MySQL
      1ebf24b9
    • unknown's avatar
      log0recv.c: · 3774abe3
      unknown authored
        Revert the patch that put log debug code behind UNIV_LOG_DEBUG
      
      
      innobase/log/log0recv.c:
        Revert the patch that put log debug code behind UNIV_LOG_DEBUG
      3774abe3
    • unknown's avatar
      log0log.h: · e08b4cbf
      unknown authored
        Revert the patch that put log debug code behind UNIV_LOG_DEBUG
      log0log.ic, log0recv.c, log0log.c, log0log.h:
        Revert 1.1730.18.1 about UNIV_LOG_DEBUG: debug code is often needed in debugging the production version
      
      
      innobase/log/log0log.c:
        Revert 1.1730.18.1 about UNIV_LOG_DEBUG: debug code is often needed in debugging the production version
      innobase/log/log0recv.c:
        Revert 1.1730.18.1 about UNIV_LOG_DEBUG: debug code is often needed in debugging the production version
      innobase/include/log0log.ic:
        Revert 1.1730.18.1 about UNIV_LOG_DEBUG: debug code is often needed in debugging the production version
      innobase/include/log0log.h:
        Revert the patch that put log debug code behind UNIV_LOG_DEBUG
      e08b4cbf
    • unknown's avatar
      Cset exclude: marko@hundin.mysql.fi|ChangeSet|20040316101802|63386 · 2c259f0e
      unknown authored
      
      innobase/include/que0que.h:
        Exclude
      innobase/include/que0que.ic:
        Exclude
      innobase/que/que0que.c:
        Exclude
      2c259f0e
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · 04bddf75
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      
      04bddf75
    • unknown's avatar
    • unknown's avatar
      Cset exclude: marko@hundin.mysql.fi|ChangeSet|20040311211202|05613 · a7139dd2
      unknown authored
      
      innobase/trx/trx0sys.c:
        Remove #ifdef UNIV_HOT_BACKUP: best to keep the codebase as uniform as possible
      innobase/dict/dict0dict.c:
        Exclude
      innobase/dict/dict0mem.c:
        Exclude
      innobase/ha/hash0hash.c:
        Exclude
      innobase/include/data0data.h:
        Exclude
      innobase/include/dict0mem.h:
        Exclude
      innobase/include/hash0hash.h:
        Exclude
      innobase/include/hash0hash.ic:
        Exclude
      innobase/include/mtr0mtr.h:
        Exclude
      innobase/include/row0ins.h:
        Exclude
      innobase/include/row0upd.h:
        Exclude
      innobase/row/row0ins.c:
        Exclude
      innobase/row/row0upd.c:
        Exclude
      innobase/thr/thr0loc.c:
        Exclude
      a7139dd2
    • unknown's avatar
      Cset exclude: marko@hundin.mysql.fi|ChangeSet|20040526164114|35829 · 3414f674
      unknown authored
      
      innobase/que/que0que.c:
        Exclude
      3414f674
    • unknown's avatar
      srv0que.c: · beb80a37
      unknown authored
        Revert Marko's untested changeset 1.1844.1.6 to the stable 4.0 version; stable 4.0 must NOT BE modified except in case of bugs
      srv0que.c, srv0que.h:
        new file
      
      
      innobase/srv/srv0que.c:
        Revert Marko's untested changeset 1.1844.1.6 to the stable 4.0 version; stable 4.0 must NOT BE modified except in case of bugs
      beb80a37
    • unknown's avatar
      Cset exclude: marko@hundin.mysql.fi|ChangeSet|20040525171209|56870 · a00824b5
      unknown authored
      
      BitKeeper/deleted/.del-srv0que.c~d1feebb77b5a9b96:
        Exclude
      BitKeeper/deleted/.del-srv0que.h~f12ecb4b5afe203e:
        Exclude
      innobase/include/que0que.h:
        Exclude
      innobase/include/trx0roll.h:
        Exclude
      innobase/include/trx0trx.h:
        Exclude
      innobase/include/usr0sess.h:
        Exclude
      innobase/que/que0que.c:
        Exclude
      innobase/srv/Makefile.am:
        Exclude
      innobase/include/Makefile.am:
        Exclude
      innobase/srv/srv0srv.c:
        Exclude
      innobase/trx/trx0purge.c:
        Exclude
      innobase/trx/trx0roll.c:
        Exclude
      innobase/trx/trx0trx.c:
        Exclude
      innobase/usr/usr0sess.c:
        Exclude
      a00824b5
    • unknown's avatar
      No commit message · 6a99971f
      unknown authored
      No commit message
      6a99971f
    • unknown's avatar
      Cset exclude: heikki@hundin.mysql.fi|ChangeSet|20040617084849|64488 · c1ef1bea
      unknown authored
      
      sql/sql_parse.cc:
        Exclude
      c1ef1bea
    • unknown's avatar
      Cset exclude: guilhem@mysql.com|ChangeSet|20040609132715|17355 · 1696521e
      unknown authored
      
      sql/sql_parse.cc:
        Exclude
      1696521e
  2. 16 Jun, 2004 6 commits
    • unknown's avatar
      ut0mem.c: · c0edb2e0
      unknown authored
        Remove printf's that were accidentally pushed in the last push
      
      
      innobase/ut/ut0mem.c:
        Remove printf's that were accidentally pushed in the last push
      c0edb2e0
    • unknown's avatar
      ut0mem.h, ut0mem.c: · ce4973d6
      unknown authored
        Implement ut_realloc
      lexyy.c, pars0lex.l:
        Start using ut_malloc, ut_free, ut_realloc in pars0lex.l and lexyy.c; mem_realloc was broken; eliminate possible memcpy(NULL, ..., 0) from string_append()
      
      
      innobase/pars/pars0lex.l:
        Start using ut_malloc, ut_free, ut_realloc in pars0lex.l and lexyy.c; mem_realloc was broken; eliminate possible memcpy(NULL, ..., 0) from string_append()
      innobase/pars/lexyy.c:
        Start using ut_malloc, ut_free, ut_realloc in pars0lex.l and lexyy.c; mem_realloc was broken; eliminate possible memcpy(NULL, ..., 0) from string_append()
      innobase/ut/ut0mem.c:
        Implement ut_realloc
      innobase/include/ut0mem.h:
        Implement ut_realloc
      ce4973d6
    • unknown's avatar
      mem0mem.ic, mem0mem.h: · fce76a76
      unknown authored
        Remove broken mem_realloc(); a patch to remove its uses in pars0lex.l and fil0fil.c will soon follow
      
      
      innobase/include/mem0mem.h:
        Remove broken mem_realloc(); a patch to remove its uses in pars0lex.l and fil0fil.c will soon follow
      innobase/include/mem0mem.ic:
        Remove broken mem_realloc(); a patch to remove its uses in pars0lex.l and fil0fil.c will soon follow
      fce76a76
    • unknown's avatar
      InnoDB bug fix: mem_realloc() didn't preserve the block contents · a09ecb25
      unknown authored
      
      innobase/include/mem0mem.ic:
        mem_realloc(): preserve the old buffer contents
      a09ecb25
    • unknown's avatar
      InnoDB: Revert most of ChangeSet@1.1772, as the debug functions may · d587a36a
      unknown authored
      be needed when testing production releases
      
      
      innobase/btr/btr0btr.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/buf/buf0buf.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/buf/buf0flu.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/buf/buf0lru.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/buf/buf0rea.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/data/data0type.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/dict/dict0dict.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/fsp/fsp0fsp.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/fut/fut0lst.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/ibuf/ibuf0ibuf.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/btr0btr.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/buf0buf.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/buf0buf.ic:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/buf0flu.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/buf0lru.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/data0type.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/dict0dict.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/fsp0fsp.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/fut0lst.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/lock0lock.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/mem0dbg.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/mem0dbg.ic:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/mem0pool.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/mtr0mtr.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/pars0opt.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/sync0rw.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/include/sync0sync.h:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/lock/lock0lock.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/mem/mem0dbg.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/mem/mem0pool.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/mtr/mtr0mtr.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/pars/pars0opt.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/srv/srv0start.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/sync/sync0rw.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/sync/sync0sync.c:
        Remove #ifdef UNIV_DEBUG around debug code
      innobase/trx/trx0roll.c:
        Remove #ifdef UNIV_DEBUG around debug code
      d587a36a
    • unknown's avatar
      mysql-copyright: · e4042c25
      unknown authored
        * added 'local $/' to keep from undef-ing $/ (the newline setting) for the whole script
        * removed the target dir removal (target dir is not a temp dir!)
        * use split to create filelist (cleaner way than using chomp!)
        * removed use of chomp because it caused some file names to be mangled
        * print out which file is being processed if verbose
      mysql-copyright-2:
        * added cpp to list of files to be processed (for windows archives)
      
      
      Build-tools/mysql-copyright-2:
        * added cpp to list of files to be processed (for windows archives)
      Build-tools/mysql-copyright:
        * added 'local $/' to keep from undef-ing $/ (the newline setting) for the whole script
        * removed the target dir removal (target dir is not a temp dir!)
        * use split to create filelist (cleaner way than using chomp!)
        * removed use of chomp because it caused some file names to be mangled
        * print out which file is being processed if verbose
      e4042c25
  3. 15 Jun, 2004 2 commits
    • unknown's avatar
      InnoDB bug fix (row0mysql.c): make reserved table names innodb_* special again · 518c9236
      unknown authored
      
      innobase/row/row0mysql.c:
        row_create_table_for_mysql(), row_drop_table_for_mysql():
         Make InnoDB recognize the special table names innodb_* again.
      518c9236
    • unknown's avatar
      mysql-copyright -> more fixes to deal with problems in removing temporary tar... · 1fed7026
      unknown authored
      mysql-copyright -> more fixes to deal with problems in removing temporary tar directory. Had to use `cd $WD` vs chdir($WD).
      Servers.fgl -> made sure all charset files were accounted for (cp 1256 was missing)
      
      
      Build-tools/mysql-copyright:
        more fixes to deal with problems in removing temporary tar directory. Had to use `cd $WD` vs chdir($WD).
      VC++Files/InstallShield/4.0.XX-classic/File Groups/Servers.fgl:
        made sure all charset files were accounted for (cp 1256 was missing)
      VC++Files/InstallShield/4.0.XX-gpl/File Groups/Servers.fgl:
        made sure all charset files were accounted for (cp 1256 was missing)
      VC++Files/InstallShield/4.0.XX-pro/File Groups/Servers.fgl:
        made sure all charset files were accounted for (cp 1256 was missing)
      1fed7026
  4. 11 Jun, 2004 3 commits
  5. 10 Jun, 2004 7 commits
  6. 09 Jun, 2004 3 commits
    • unknown's avatar
      Fixed issue with compilation MySQL with OpenSSL · 85803ddf
      unknown authored
      if OpenSSL is installed in non-statndart directory
      ('openssl/opensslv.h: No such file or directory')
      
      
      include/my_global.h:
        Fixed issue with compilation MySQL with OpenSSL 
        if OpenSSL is installed in non-statndart directory
      include/violite.h:
        Fixed issue with compilation MySQL with OpenSSL 
        if OpenSSL is installed in non-statndart directory
      85803ddf
    • unknown's avatar
      Fix for BUG#4038 "rpm postinstall script leaves files as owned by root": · 7a00d199
      unknown authored
      the rpm postinstall script must call mysql_install_db with --user=mysql,
      and mysql_install_db must then pass this to mysqld. Otherwise, mysqld
      runs as root, and if you have --log-bin=somewhere_out_of_var_lib_mysql
      it creates binlog files owned by root in this dir, and this dir is not
      fixed by the 'chmod mysql', so files remain owned by root, and later mysqld
      (running as 'mysql') can't read them.
      I'm hardcoding 'mysql' in the postinstall script, but it's already hardcoded
      there in many places (see the useradd and chown) so it's ok.
      
      
      scripts/mysql_install_db.sh:
        Pass --user to mysqld
      support-files/mysql.spec.sh:
        in postinstall, call mysql_install_db with --user=mysql, so that mysqld (which installs the grant tables)
        is started with --user=mysql.
      7a00d199
    • unknown's avatar
      complement to previous fix (which was for SQLCOM_DROP_DB), for COM_DROP_DB. · 57ae9ed0
      unknown authored
      
      sql/sql_parse.cc:
        Making COM_DROP_DB honour lower_case_table_names. Plus coding-style fixes.
      57ae9ed0