1. 30 Jun, 2004 1 commit
    • unknown's avatar
      Fix for BUG#4326 "Replicated LOAD DATA INFILE show nothing in · 62a6733e
      unknown authored
      processlist on slave":
      we now report in SHOW PROCESSLIST that we are writing to the temp
      files or loading the table. When we are writing to the tmp file:
      | 3  | system user |                 |    | Connect | 6    | Making temp file /tmp/SQL_LOAD-2-1-2.data | 
      and when we are actually loading the .data temp file into the table:
      | 3  | system user |                 | test | Connect | 2    | | LOAD DATA INFILE '/tmp/SQL_LOAD-2-1-2.data' INTO TABLE `t` <...> |
      
      
      sql/log_event.cc:
        Replication of LOAD DATA INFILE:
        we now report in SHOW PROCESSLIST that we are creating
        the temp files or loading the table.
        Plus removing a line which had a comment "should not be needed"
        and a guarding assertion which we have never heard fail (and logic
        says it should not fail).
      62a6733e
  2. 17 Jun, 2004 1 commit
  3. 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
  4. 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
  5. 11 Jun, 2004 3 commits
  6. 10 Jun, 2004 7 commits
  7. 09 Jun, 2004 4 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
    • unknown's avatar
      Fix for BUG#4066 "DROP DATABASE case sensitive even if lower-case-table-names > 0" · 87c200d1
      unknown authored
      
      sql/sql_parse.cc:
        honour lower_case_table_names in DROP DATABASE (like we already do in CREATE DATABASE)
      87c200d1
  8. 08 Jun, 2004 5 commits
  9. 07 Jun, 2004 3 commits
  10. 03 Jun, 2004 1 commit
  11. 02 Jun, 2004 3 commits
  12. 01 Jun, 2004 4 commits