1. 01 Sep, 2004 1 commit
    • unknown's avatar
      mysqld_safe.sh: · 40ed009d
      unknown authored
        bug #5001, added conditional if to test if port set, then only kill the processes
        for this port, not all processes (in the case of this bug where multiple servers 
        are killed.)
        The change to the 'grep' to make sure mysqld_safe isn't killed was per Serg's
        discovery that mysqld_safe would get killed. 
        In my testing, in killing one of the pids for a running server, the "if test ! -f $pid_file"
        was the case that evaluated as true, so in order to test, I had to comment that block
        out.
      
      
      scripts/mysqld_safe.sh:
        bug #5001, added conditional if to test if port set, then only kill the processes
        for this port, not all processes (in the case of this bug where multiple servers 
        are killed.)
        
        The change to the 'grep' to make sure mysqld_safe isn't killed was per Serg's
        discovery that mysqld_safe would get killed. 
        
        In my testing, in killing one of the pids for a running server, the "if test ! -f $pid_file"
        was the case that evaluated as true, so in order to test, I had to comment that block
        out.
      40ed009d
  2. 25 Jun, 2004 3 commits
  3. 24 Jun, 2004 5 commits
    • unknown's avatar
      bug#3565 - HANDLER and FLUSH TABLE/TABLES deadlock. · b8c85bc6
      unknown authored
      Redesigned the handler close functions so that they are usable
      at different places where waiting for closing tables is done.
      
      
      mysql-test/r/flush_table.result:
        bug#3565 - HANDLER and FLUSH TABLE/TABLES deadlock.
        Added the test results.
      mysql-test/t/flush_table.test:
        bug#3565 - HANDLER and FLUSH TABLE/TABLES deadlock.
        Activated old test case.
        Added new test cases.
      sql/mysql_priv.h:
        bug#3565 - HANDLER and FLUSH TABLE/TABLES deadlock.
        Made mysql_ha_close() more flexible.
        Removed mysql_ha_closeall(), which closed only one table despite its name.
        Added mysql_ha_close_list(), which closes the complete list or all tables and does not lock.
        Removed a duplicate declaration.
      sql/sql_base.cc:
        bug#3565 - HANDLER and FLUSH TABLE/TABLES deadlock.
        Added proper close calls before some wait points to avoid deadlocks
        or infinite loops.
      sql/sql_handler.cc:
        bug#3565 - HANDLER and FLUSH TABLE/TABLES deadlock.
        Redesigned the internal function find_table_ptr_by_name().
        It can now suppress locking and tells if the requested table
        has been flushed by itself.
        Extended mysql_ha_close() so that it can now suppres locking
        and error reporting. That way it can be used at more places and the
        old function mysql_ha_closeall() is now obsolete.
        Added a new function mysql_ha_close_list() which closes a whole list
        of HANDLER tables or all HANDLER tables, if the list is NULL.
        Furthermore is can close all 'old' (marked for flush) HANDLER tables.
      sql/sql_table.cc:
        bug#3565 - HANDLER and FLUSH TABLE/TABLES deadlock.
        Replaced the obsolte mysql_ha_closeall() by the new mysql_ha_close().
      b8c85bc6
    • unknown's avatar
      bug#2686 - index_merge select on BerkeleyDB table with varchar PK causes mysqld to crash. · 4ea8ef98
      unknown authored
      Added put_length() to get_length() and unpack_key() to pack_key().
      Keys were packed with the minimum size of the length field for the key part and 
      unpacked with length size of the base column. 
      For the purpose of optimal key packing we have the method pack_key(), while rows are 
      packed with pack(). Now keys are unpacked with unpack_key() and no longer with 
      unpack() which is used for rows.
      
      
      mysql-test/r/bdb.result:
        bug#2686 - index_merge select on BerkeleyDB table with varchar PK causes mysqld to crash.
        Added the test case results.
      mysql-test/t/bdb.test:
        bug#2686 - index_merge select on BerkeleyDB table with varchar PK causes mysqld to crash.
        Added the test case.
      sql/field.cc:
        bug#2686 - index_merge select on BerkeleyDB table with varchar PK causes mysqld to crash.
        Added put_length() to get_length() and unpack_key() to pack_key().
        Keys were packed with the minimum size of the length field for the key part and 
        unpacked with length size of the base column. 
        For the purpose of optimal key packing we have the method pack_key(), while rows are packed 
        with pack(). Now keys are unpacked with unpack_key() and no longer with unpack() which is 
        used for rows.
      sql/field.h:
        bug#2686 - index_merge select on BerkeleyDB table with varchar PK causes mysqld to crash.
        Added put_length() to get_length() and unpack_key() to pack_key().
        The default implementation simply calls unpack() for those field types that don't need 
        a special key unpacking.
      sql/ha_berkeley.cc:
        bug#2686 - index_merge select on BerkeleyDB table with varchar PK causes mysqld to crash.
        Now keys are unpacked with unpack_key() and no longer with unpack() which is used for rows.
        For most field types, however, this simply calls unpack().
      4ea8ef98
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.0 · 4ccfeb7c
      unknown authored
      into mysql.com:/home/mydev/mysql-4.0-bug2688
      
      4ccfeb7c
    • unknown's avatar
      Development.fgl: · d3aad3c0
      unknown authored
        add typelib.h to filelist
      Clients and Tools.fgl:
        add libmysql.dll to file list
      4.0.XX-gpl.ipr:
        Various fixes to installshield project file (added files)
      
      
      VC++Files/InstallShield/4.0.XX-gpl/4.0.XX-gpl.ipr:
        Various fixes to installshield project file (added files)
      VC++Files/InstallShield/4.0.XX-gpl/File Groups/Clients and Tools.fgl:
        add libmysql.dll to file list
      VC++Files/InstallShield/4.0.XX-gpl/File Groups/Development.fgl:
        add typelib.h to filelist
      d3aad3c0
    • unknown's avatar
      Do-rpm: · db14beb1
      unknown authored
        Small fix to handle the src rpm file correctly (contains '0', release number in spec file)
      
      
      Build-tools/Do-rpm:
        Small fix to handle the src rpm file correctly (contains '0', release number in spec file)
      db14beb1
  4. 23 Jun, 2004 3 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · faf02df7
      unknown authored
      into mysql.com:/home/my/mysql-4.0
      
      faf02df7
    • unknown's avatar
      lower_case_table_names=2 (Keep case for table names) was not honored · ebc73d1a
      unknown authored
      with ALTER TABLE and CREATE/DROP INDEX. (Bug #3109)
      Make net_buffer_length visible for mysql clients (Bug #4206)
      
      
      include/mysql.h:
        Make net_buffer_length visible for mysql clients
      libmysql/libmysql.c:
        Make net_buffer_length visible for mysql clients
      mysql-test/mysql-test-run.sh:
        Don't give warning for some common 'safe' warnings
      mysql-test/r/lowercase_table2.result:
        Test name conversion with ALTER TABLE / CREATE INDEX (Bug #3109)
      mysql-test/t/lowercase_table2.test:
        Test name conversion with ALTER TABLE / CREATE INDEX (Bug #3109)
      scripts/mysql_install_db.sh:
        Removed not used variable
      sql/sql_table.cc:
        lower_case_table_names=2 (Keep case for table names) was not honored
        with ALTER TABLE and CREATE/DROP INDEX. (Bug #3109)
      ebc73d1a
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.0 · 318cdb8a
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.0
      
      318cdb8a
  5. 22 Jun, 2004 10 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 0e4bcd75
      unknown authored
      into here.mwagner.org:/Volumes/BK/mysql-4.0
      
      0e4bcd75
    • unknown's avatar
      Merge here.mwagner.org:/Volumes/BK/mysql-4.0 · da284bc6
      unknown authored
      into here.mwagner.org:/Volumes/BK/mysql-4.0-work
      
      da284bc6
    • unknown's avatar
      my_md5sum: · a3419405
      unknown authored
        Change behaviour to be like the md5sum in GNU coreutils
      
      
      Build-tools/my_md5sum:
        Change behaviour to be like the md5sum in GNU coreutils
      a3419405
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0 · 027a67b7
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      027a67b7
    • unknown's avatar
      - rephrased comment · 9ac81732
      unknown authored
      9ac81732
    • unknown's avatar
      - Applied some portability fixes for SGI IRIX/MipsPro compiler · 5f1cd43e
      unknown authored
         (e.g. a fix for BUG#3507 and some modifications recommended
         by Andrea Suatoni and Joerg Behrens - thank you!)
      
      
      acinclude.m4:
         - OpenSSL libs are installed in /usr/freeware/include and
           /usr/freeware/lib32 on SGI IRIX - expanded search list
      man/mysqlaccess.1.in:
         - cosmetical fix
      man/mysqldump.1.in:
         - cosmetical fix
      mysys/hash.c:
         - portability fix: some compilers can't handle inlining of rec_hashnr
           (BUG#3507)
      vio/test-sslserver.c:
         - portability fix for SGI MipsPro compiler: define client_len as
           "socklen_t" instead of "size_t"
      5f1cd43e
    • unknown's avatar
      bug#2688 - Wrong index_merge query results for BDB table with variable length primary key. · 211043fc
      unknown authored
      dded code to clear the tail of the reference buffer if the actual key length 
      is less than the maximum key length.
      
      
      mysql-test/r/bdb.result:
        bug#2688 - Wrong index_merge query results for BDB table with variable length primary key.
        Added the test case results.
      mysql-test/t/bdb.test:
        bug#2688 - Wrong index_merge query results for BDB table with variable length primary key.
        Added the test case.
      sql/ha_berkeley.cc:
        bug#2688 - Wrong index_merge query results for BDB table with variable length primary key.
        Added code to clear the tail of the reference buffer if the actual key length 
        is less than the maximum key length.
      211043fc
    • unknown's avatar
      lexyy.c, pars0lex.l: · 1deb67cb
      unknown authored
        Document the handling of quoted strings
      
      
      innobase/pars/pars0lex.l:
        Document the handling of quoted strings
      innobase/pars/lexyy.c:
        Document the handling of quoted strings
      1deb67cb
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.0 · 00dd4123
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.0
      
      00dd4123
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.0 · 710ef44b
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-qc-4.0
      
      710ef44b
  6. 21 Jun, 2004 3 commits
  7. 20 Jun, 2004 1 commit
  8. 19 Jun, 2004 1 commit
    • unknown's avatar
      mem0dbg.c: · f46aab6f
      unknown authored
        InnoDB with UNIV_MEM_DEBUG did not compile because a global variable was forgotten when we put back mem_print_info() functions 2 days ago; add that variable
      
      
      innobase/mem/mem0dbg.c:
        InnoDB with UNIV_MEM_DEBUG did not compile because a global variable was forgotten when we put back mem_print_info() functions 2 days ago; add that variable
      f46aab6f
  9. 18 Jun, 2004 8 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 6d0755c1
      unknown authored
      into here.mwagner.org:/Volumes/BK/mysql-4.0-work
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      6d0755c1
    • unknown's avatar
      my_md5sum: · 9c5ba5c7
      unknown authored
        new file, simulates 'md5sum' as a perl script
      
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      9c5ba5c7
    • unknown's avatar
      mach0data.ic, mach0data.h: · 03a342ed
      unknown authored
        Improve documentation of mach_*write_*compressed()
      mtr0log.ic, mtr0log.h:
        Improve documentation of mlog_write_initial_log_record_fast()
      
      
      innobase/include/mtr0log.h:
        Improve documentation of mlog_write_initial_log_record_fast()
      innobase/include/mtr0log.ic:
        Improve documentation of mlog_write_initial_log_record_fast()
      innobase/include/mach0data.h:
        Improve documentation of mach_*write_*compressed()
      innobase/include/mach0data.ic:
        Improve documentation of mach_*write_*compressed()
      03a342ed
    • unknown's avatar
      Merge miguel@bk-internal.mysql.com:/home/bk/mysql-4.0 · 2c94b610
      unknown authored
      into hegel.txg:/home/miguel/bk/mysql-4.0
      
      2c94b610
    • unknown's avatar
      Fix for bug #4182 · 4b80d6fe
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      4b80d6fe
    • unknown's avatar
      ke it possible to use mysys functions in netware/mysql_test_run.c · 150cef15
      unknown authored
      Don't pass --user to mysqld if --user is not used
      
      
      netware/Makefile.am:
        Make it possible to use mysys functions in mysql_test_run.c
      netware/mysql_test_run.c:
        Make it possible to use mysys functions in mysql_test_run.c
      scripts/mysql_install_db.sh:
        Don't pass --user to mysqld if --user is not used
      150cef15
    • unknown's avatar
      Removed not used file sql_olap.cc · 511557c1
      unknown authored
      511557c1
    • unknown's avatar
      Applied patch from Novell (2004-06-03) · 9e336b70
      unknown authored
      9e336b70
  10. 17 Jun, 2004 5 commits
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-3.23 into mysql.com:/home/my/mysql-4.0 · c333cce7
      unknown authored
      
      libmysql/libmysql.c:
        Auto merged
      c333cce7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 58b01814
      unknown authored
      into mysql.com:/home/my/mysql-4.0
      
      58b01814
    • unknown's avatar
      Fixed unlikely bug in the range optimzer when using many IN() queries on... · 91768536
      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)
      91768536
    • unknown's avatar
      mem0dbg.h, mem0dbg.c: · d052e3ab
      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
      d052e3ab
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-3.23 · e9a759b5
      unknown authored
      into mysql.com:/home/mysql_src/mysql-3.23
      
      
      libmysql/libmysql.c:
        Auto merged
      e9a759b5