1. 10 Aug, 2004 5 commits
  2. 09 Aug, 2004 3 commits
  3. 06 Aug, 2004 2 commits
    • unknown's avatar
      InnoDB: Add option for disabling innodb_status.<pid> files. · fc4364e3
      unknown authored
      InnoDB: Implement tmpfile() differently on Windows (Bug #3998)
      
      
      innobase/dict/dict0dict.c:
        Check the return value of os_file_create_tmpfile(),
        as it can now return NULL
      innobase/include/os0file.h:
        Note that os_file_create_tmpfile() can now return NULL
      innobase/include/srv0srv.h:
        Add a new server flag (srv_innodb_status) to disable
        the creation of innodb_status.<pid> files
      innobase/lock/lock0lock.c:
        Check the return value of os_file_create_tmpfile(),
        as it can now return NULL
      innobase/os/os0file.c:
        os_file_create_tmpfile(): separate implementation for Win32;
        errors will be reported but will not cause assertion failure
      innobase/srv/srv0srv.c:
        Add a new server flag (srv_innodb_status) to disable
        the creation of innodb_status.<pid> files
      innobase/srv/srv0start.c:
        innobase_start_or_create_for_mysql(): create srv_monitor_file
        with tmpfile() or with a visible name "innodb_status.<pid>",
        depending on the setting of the flag srv_innodb_status.
      sql/ha_innodb.cc:
        innobase_init(): initialize srv_innodb_status
        update_table_comment(), get_foreign_key_create_info(): replace
        tmpfile() with os_file_create_tmpfile()
      sql/ha_innodb.h:
        Add new Boolean flag, innobase_create_status_file.
      sql/mysqld.cc:
        Add new Boolean flag, innodb_status_file
      fc4364e3
    • unknown's avatar
      Fix for bug #4491 "timestamp(19) doesn't work". · 3a00469e
      unknown authored
      We should allow 19 as length of newly created TIMESTAMP fields.
      
      
      mysql-test/r/type_timestamp.result:
        Added test of TIMESTAMP(19) support.
      mysql-test/t/type_timestamp.test:
        Added test of TIMESTAMP(19) support.
      sql/sql_parse.cc:
        add_field_to_list(): TIMESTAMP columns should also support 19 as length since it is
        length of 4.1 compatible representation.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      3a00469e
  4. 05 Aug, 2004 4 commits
    • unknown's avatar
      - rename: EXCEPTIONS->EXCEPTIONS-CLIENT · 06cd2efc
      unknown authored
      06cd2efc
    • unknown's avatar
      74e86ee3
    • unknown's avatar
      - Fixed libmysql license texts: added reference to the FLOSS · 7b614774
      unknown authored
         EXCEPTIONS file and amended the GPL text as requested by Zak
      
      
      libmysql/Makefile.am:
         - Fixed license text, added reference to the EXCEPTIONS file
      libmysql/Makefile.shared:
         - Fixed license text, added reference to the EXCEPTIONS file
      libmysql/conf_to_src.c:
         - Fixed license text, added reference to the EXCEPTIONS file
      libmysql/dll.c:
         - Fixed license text, added reference to the EXCEPTIONS file
      libmysql/errmsg.c:
         - Fixed license text, added reference to the EXCEPTIONS file
      libmysql/get_password.c:
         - Fixed license text, added reference to the EXCEPTIONS file
      libmysql/libmysql.c:
         - Fixed license text, added reference to the EXCEPTIONS file
      libmysql/manager.c:
         - Fixed license text, added reference to the EXCEPTIONS file
      libmysql_r/Makefile.am:
         - Fixed license text, added reference to the EXCEPTIONS file
      7b614774
    • unknown's avatar
      - More changes to include the FLOSS License Exception in the · dc82282e
      unknown authored
         various distributions
      
      
      Docs/Makefile.am:
         - Honoured node name change in manual.texi FOSS->FLOSS
      Makefile.am:
         - actually add EXCEPTIONS to the source distribution
      scripts/make_win_src_distribution.sh:
         - add EXCEPTIONS to the Windows source distribution, too
      dc82282e
  5. 04 Aug, 2004 4 commits
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0 · d3095410
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      d3095410
    • unknown's avatar
      - applied the required changes to create the FOSS License exception · d62dff22
      unknown authored
         file "EXCEPTIONS" and include it in the source and binary 
         distributions
      
      
      Build-tools/mysql-copyright:
         - remove COPYING and EXCEPTIONS from the commercial packages
      Docs/Makefile.am:
         - create the EXCEPTIONS file that includes the FOSS License exception
      scripts/make_binary_distribution.sh:
         - include EXCEPTIONS in the binary distribution, too.
      support-files/mysql.spec.sh:
         - add EXCEPTIONS to the server RPM
      d62dff22
    • unknown's avatar
    • unknown's avatar
      Print MYSQL_COMPILATION_COMMENT after ER_READY on server startup · 03daa16a
      unknown authored
      
      sql/share/czech/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/danish/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/dutch/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/english/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/estonian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/french/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/german/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/greek/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/hungarian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/japanese/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/korean/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/norwegian-ny/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/norwegian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/polish/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/portuguese/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/romanian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/russian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/slovak/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/spanish/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/swedish/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      sql/share/ukrainian/errmsg.txt:
        Remove trailing \n from ER_READY (it is now printed in mysqld.cc)
      03daa16a
  6. 03 Aug, 2004 1 commit
  7. 02 Aug, 2004 1 commit
    • unknown's avatar
      dyn0dyn.h: · b525356a
      unknown authored
        dyn_array_open(): mention the size limit
      mtr0log.ic, mtr0log.h:
        mlog_open(): mention the size limit
      
      
      innobase/include/mtr0log.h:
        mlog_open(): mention the size limit
      innobase/include/mtr0log.ic:
        mlog_open(): mention the size limit
      innobase/include/dyn0dyn.h:
        dyn_array_open(): mention the size limit
      b525356a
  8. 01 Aug, 2004 2 commits
  9. 31 Jul, 2004 5 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 69789688
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      69789688
    • unknown's avatar
      BUG#4393, BUG#4356 - incorrect decimals in fix_length_and_dec() in some functions · 9ca47d04
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        report failed test name
      mysql-test/r/func_math.result:
        test results fixed
      9ca47d04
    • unknown's avatar
      Fix for: · 00e7ec42
      unknown authored
      Bug #4810 "deadlock with KILL when the victim was in a wait state"
      (I included mutex unlock into exit_cond() for future safety)
      and BUG#4827 "KILL while START SLAVE may lead to replication slave crash"
      
      
      sql/lock.cc:
        we did exit_cond() before unlock(LOCK_open), which led to deadlocks with THD::awake(). Fixing this.
      sql/log.cc:
        mutex unlock is now included in exit_cond()
      sql/repl_failsafe.cc:
        we did exit_cond() before unlock(LOCK_rpl_status), which led to deadlocks with THD::awake(). Fixing this.
      sql/slave.cc:
        we did exit_cond() before unlock(cond_lock), which led to deadlocks with THD::awake(). Fixing this.
        Fixing also that if killed while waiting for slave thread to start, we don't release the mutex
        (that caused a double release of the mutex => crash).
      sql/sql_class.h:
        comments about exit_cond()/enter_cond().
        Mutex unlock is now included in exit_cond() so that it's always done in the good order.
      sql/sql_table.cc:
        unlock is now included in exit_cond().
      00e7ec42
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 42ed0103
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      42ed0103
    • unknown's avatar
      removing assertion (will be moved to 4.1) for non-debug to compile · 6ce5da27
      unknown authored
      
      sql/sql_class.h:
        removing the assertion as I don't want to include assert.h (inclusion of assert.h has already been
        reworked in 4.1, so I'll move the assertion to 4.1). Assertion makes compilation fail if non-debug.
      6ce5da27
  10. 30 Jul, 2004 8 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 27138257
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      27138257
    • unknown's avatar
      install-sh: copy not move like any reasonably modern install does · c5e1e154
      unknown authored
      
      install-sh:
        copy not move like any reasonably modern install does
      c5e1e154
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.0 · aa755c86
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.0
      
      
      aa755c86
    • unknown's avatar
      row0sel.c, page0page.ic: · 5055d66b
      unknown authored
        Add still more diagnostic code to track buffer pool corruption in one AMD64/Linux computer
      
      
      innobase/include/page0page.ic:
        Add still more diagnostic code to track buffer pool corruption in one AMD64/Linux computer
      innobase/row/row0sel.c:
        Add still more diagnostic code to track buffer pool corruption in one AMD64/Linux computer
      5055d66b
    • unknown's avatar
      dict0crea.c: · 4c939a79
      unknown authored
        Restore accidentally deleted comment to dict_create_sys_tables_tuple()
      
      
      innobase/dict/dict0crea.c:
        Restore accidentally deleted comment to dict_create_sys_tables_tuple()
      4c939a79
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0 · 3974f1cf
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      3974f1cf
    • unknown's avatar
      - make sure the Windows "-classic" server binaries actually include · a036c5c7
      unknown authored
         "-classic" in the version string
      
      
      a036c5c7
    • unknown's avatar
      sql_class.h: · 5dbde191
      unknown authored
        removing safe_mutex_assert_owner, as it would require an include,
        and Konstantin already has cleaned up things with assert.h in 4.1;
        so I'll put the safe_mutex_assert_owner in 4.1 instead.
      
      
      sql/sql_class.h:
        removing safe_mutex_assert_owner, as it would require an include,
        and Konstantin already has cleaned up things with assert.h in 4.1;
        so I'll put the safe_mutex_assert_owner in 4.1 instead.
      5dbde191
  11. 29 Jul, 2004 5 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 4b202233
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      4b202233
    • unknown's avatar
      Reverting a line I had just added to slave.cc (mutex is already locked · 1adf793d
      unknown authored
      when we come at this place).
      
      
      sql/slave.cc:
        stupid me; this line is a mistake
      1adf793d
    • unknown's avatar
      Avoiding a theoretically possible crash (pthread_mutex_lock(0)) which could... · d475643d
      unknown authored
      Avoiding a theoretically possible crash (pthread_mutex_lock(0)) which could (at least in POSIX Threads books)
      happen on SMP machines, when a thread is going to wait on a condition and it is KILLed at the
      same time.
      Cleaning code a bit by adding a test in enter_cond() that we have the mutex (was already the case in all places
      where it's called except one which is fixed here).
      
      
      sql/log.cc:
        safe_mutex_assert_owner() is now in THD::enter_cond()
      sql/slave.cc:
        lock mutex before waiting on condition.
      sql/sql_class.cc:
        THD::awake(): before locking the mutex, let's test it's not zero;
        in theory indeed, the killer thread may see current_cond non-zero and current_mutex zero
        (order of assignments is not guaranteed by POSIX).
        A comment noting that there is still a small chance a KILL does not work and needs
        being re-issued.
      sql/sql_class.h:
        Assert in enter_cond() that we have the mutex.
        It is already the case in all places where we call enter_cond(), so better ensure it there.
      d475643d
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 7936ec52
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      7936ec52
    • unknown's avatar
      language fix · 3a72d735
      unknown authored
      3a72d735