1. 08 Nov, 2004 1 commit
    • unknown's avatar
      mysql.h: · 01c80f55
      unknown authored
        Adding a prototype for the new function.
      
      
      include/mysql.h:
        Adding a prototype for the new function.
      01c80f55
  2. 05 Nov, 2004 9 commits
  3. 04 Nov, 2004 6 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 4a56b284
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      4a56b284
    • unknown's avatar
      Fix for BUG##5714 "Insert into MyISAM table and select ... for update]": · e30bd1e4
      unknown authored
      the fact that the transaction log is empty does not mean we're not in a transaction
      (it could be BEGIN; SELECT * FOR UPDATE FROM ibtable: then we don't want to commit now, even if
      the statement is a MyISAM update).
      With a testcase.
      
      
      mysql-test/r/mix_innodb_myisam_binlog.result:
        result update
      mysql-test/t/mix_innodb_myisam_binlog.test:
        test update for a new bug
      sql/log.cc:
        The fact that the transaction log is empty does not mean we're not in a transaction
        (it could be BEGIN; SELECT * FOR UPDATE: then we don't want to commit now).
      e30bd1e4
    • unknown's avatar
      Merge siva.hindu.god:/opt/home/tim/m/40/bk · 6ed9208e
      unknown authored
      into siva.hindu.god:/opt/home/tim/m/40/a
      
      
      configure.in:
        Auto merged
      6ed9208e
    • unknown's avatar
      b80ed3bb
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 1e87c820
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.0-bg6387
      
      
      1e87c820
    • unknown's avatar
      The files stored in "Docs/Images" within the "mysqldocs" BK tree must be included · 0dd1ab1a
      unknown authored
      in the source tar-ball for distribution. This is done by using the "DISTFILES" macro
      in a new "Docs/Images/Makefile". As the source BK tree does not contain these files,
      they are copied from the "mysqldocs" tree at release build time.
      This changeset relies on "bk commit - mysqldoc tree (joerg:1.2276)" of today.
      
      
      Build-tools/Bootstrap:
        Copy the relevant files with "Docs/Images" from the "mysqldocs" BK tree into the
        build tree, ensuring that the "Makefile*" from the source BK tree are removed before.
      Docs/Images/Makefile.am:
        This dummy file is only needed to satisfy the Makefile hierarchy, 
        at release build time it will be replaced by its counterpart from the "mysqldocs" BK tree.
      Docs/Makefile.am:
        Include the new "Docs/Images/Makefile" in the Makefile hierarchy.
      configure.in:
        Ensure that the autotools will handle the new "Docs/Images/Makefile.am".
      0dd1ab1a
  4. 03 Nov, 2004 5 commits
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.0 · 7651674f
      unknown authored
      into mysql.com:/M40/mysql-4.0
      
      
      7651674f
    • unknown's avatar
      Fix for bug #6387 "Queried timestamp values do not match the inserted · d259ba40
      unknown authored
      value if server runs in time zone with leap seconds".
      
      Now in my_gmt_sec() function we take into account difference between
      our target and estimation in seconds part.
      
      
      mysql-test/Makefile.am:
        Added mysql-test/std_data/Moscow_leap reuired by new timezone3.test
        to source distribution.
      sql/time.cc:
        my_gmt_sec():
         When comparing our target broken-down datetime t value and proper 
         representation of our estimation *l_time we should take into account
         that they could differ in second part if we have time zone leap seconds.
         
         Also added comments about some assumptions used in this function.
      d259ba40
    • unknown's avatar
      InnoDB: fix bugs in the FOREIGN KEY parser (Bug #6340) · 0aa8d141
      unknown authored
      
      innobase/dict/dict0dict.c:
        dict_scan_to(): skip quoted strings while scanning for the keyword
        dict_create_foreign_constraints_low(): allow quote immediately after CONSTRAINT
      0aa8d141
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.0 · 1d635090
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.0
      
      
      1d635090
    • unknown's avatar
      Portability fixes to mysqld_safe for non-Linux systems. Fix FIND_PROC · 1d3f4a1a
      unknown authored
      for Solaris test, and fix if @IS_LINUX@ test in mysqld_safe itself.
      
      
      configure.in:
        Portability fix for FIND_PROC setting; on Solaris (and
        probably others), 'ps -p $$' inside a shell script just
        returns 'sh' for command line, even though $0 contains
        the filename.  So, use 'ps -fp $$' in the test (it shows
        the full command line, e.g., 'sh configure').  Leave the
        actual FIND_PROC command as-is, since mysqld itself is
        not a shell script.
      scripts/mysqld_safe.sh:
        Portability fix for mysqld_safe on non-Linux systems.  A bogus use
        of 'if' and 'test' caused non-bash shells to enter a section meant
        to be run only on Linux systems.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      1d3f4a1a
  5. 02 Nov, 2004 1 commit
    • unknown's avatar
      ha_innodb.cc: · 9c06c80d
      unknown authored
        Backport Jan's fix of the LOAD DATA INFILE REPLACE duplicate key error bug (Bug #5835) to 4.0
      
      
      sql/ha_innodb.cc:
        Backport Jan's fix of the LOAD DATA INFILE REPLACE duplicate key error bug (Bug #5835) to 4.0
      9c06c80d
  6. 01 Nov, 2004 2 commits
  7. 31 Oct, 2004 1 commit
    • unknown's avatar
      row0mysql.c, pars0pars.c, eval0eval.c, dict0load.c, dict0dict.c, dict0crea.c: · 61ac8324
      unknown authored
        Fix bug #3478: InnoDB's FOREIGN KEY tables treated table and database names as case-insensitive; RENAME TABLE t to T would hang in an endless loop if t had a foreign key constraint defined on it
      dict0dict.c:
        Fix bug #3478: InnoDB's FOREIGN KEY tables treated table and database names as case-insensitive; RENAME TABLE t to T would hang in an endless loop if t had a foreign key constraint defined on it; fix also a hang that would occur if one tried in ALTER TABLE or RENAME TABLE to create a foreign key constraint name that collided with another existing name
      
      
      innobase/dict/dict0crea.c:
        Fix bug #3478: InnoDB's FOREIGN KEY tables treated table and database names as case-insensitive; RENAME TABLE t to T would hang in an endless loop if t had a foreign key constraint defined on it
      innobase/dict/dict0load.c:
        Fix bug #3478: InnoDB's FOREIGN KEY tables treated table and database names as case-insensitive; RENAME TABLE t to T would hang in an endless loop if t had a foreign key constraint defined on it
      innobase/dict/dict0dict.c:
        Fix bug #3478: InnoDB's FOREIGN KEY tables treated table and database names as case-insensitive; RENAME TABLE t to T would hang in an endless loop if t had a foreign key constraint defined on it; fix also a hang that would occur if one tried in ALTER TABLE or RENAME TABLE to create a foreign key constraint name that collided with another existing name
      innobase/eval/eval0eval.c:
        Fix bug #3478: InnoDB's FOREIGN KEY tables treated table and database names as case-insensitive; RENAME TABLE t to T would hang in an endless loop if t had a foreign key constraint defined on it
      innobase/pars/pars0pars.c:
        Fix bug #3478: InnoDB's FOREIGN KEY tables treated table and database names as case-insensitive; RENAME TABLE t to T would hang in an endless loop if t had a foreign key constraint defined on it
      innobase/row/row0mysql.c:
        Fix bug #3478: InnoDB's FOREIGN KEY tables treated table and database names as case-insensitive; RENAME TABLE t to T would hang in an endless loop if t had a foreign key constraint defined on it
      61ac8324
  8. 29 Oct, 2004 1 commit
  9. 28 Oct, 2004 1 commit
  10. 27 Oct, 2004 7 commits
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.0 · ac7f02c2
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      ac7f02c2
    • unknown's avatar
      - Applied some Windows portability fixes for myisampack.c and sql_handler.cc · 11ff375e
      unknown authored
        (backports from fixes made in 4.1)
      
      
      myisam/myisampack.c:
         - replaced "1ULL" with "((ulonglong)1)" to resolve a compile error on
           Windows
      sql/sql_handler.cc:
         - removed some unused variables
         - added a (byte*) cast to fix a compile error on Windows (backport of a
           fix made in 4.1)
      11ff375e
    • unknown's avatar
      texi2html: · d6065cb4
      unknown authored
        Updated version of texi2html so that 4.0.22 HTML manual doesn't turn out all goofy.
      
      
      Docs/Support/texi2html:
        Updated version of texi2html so that 4.0.22 HTML manual doesn't turn out all goofy.
      d6065cb4
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.0 · 713302b1
      unknown authored
      into mysql.com:/M40/mysql-4.0
      
      
      713302b1
    • unknown's avatar
      Fix when compiling without InnoDB · 3bdd7e77
      unknown authored
      
      BitKeeper/deleted/.del-innodb-lock-master.opt~f76a4a1999728f87:
        Delete: mysql-test/t/innodb-lock-master.opt
      3bdd7e77
    • unknown's avatar
      Change 'Build-tools/mysql-copyright' to ensure the receiving machines will build · d4342115
      unknown authored
      without trying to re-run autotools.
      (Backport from 4.1.7 for 4.0.22)
      
      
      Build-tools/mysql-copyright:
        The top level Makefile will try to re-run the autotools unless the timestamps of the
        relevant files are in truly ascending order. Ensure this order!
        (Backport from 4.1.7 for 4.0.22)
      d4342115
    • unknown's avatar
      Backport innodb_max_purge_lag from 4.1 · 743597ea
      unknown authored
      
      innobase/include/srv0srv.h:
        Add configuration parameter srv_max_purge_lag.
        Add global variable srv_dml_needed_delay.
      innobase/include/trx0sys.h:
        Add trx_sys->rseg_history_len
      innobase/row/row0mysql.c:
        Add row_mysql_delay_if_needed() for delaying INSERTs, UPDATEs and
        DELETEs for srv_dml_needed_delay microseconds.
      innobase/srv/srv0srv.c:
        Define global variable srv_dml_needed_delay.
        Define configuration parameter srv_max_purge_lag.
      innobase/trx/trx0purge.c:
        Update trx_sys->rseg_history_len.
        trx_purge(): Compute srv_dml_needed_delay from srv_max_purge_lag
        and trx_sys->rseg_history_len.
      innobase/trx/trx0rseg.c:
        Initialize trx_sys->rseg_history_len at InnoDB start-up.
      sql/ha_innodb.h:
        Add configuration parameter srv_max_purge_lag.
      sql/mysqld.cc:
        Add startup option innodb_max_purge_lag,
        with default value 0 (meaning infinite, disabling the feature).
      sql/set_var.cc:
        Add global variable innodb_max_purge_lag.
      743597ea
  11. 24 Oct, 2004 1 commit
  12. 22 Oct, 2004 5 commits
    • unknown's avatar
      postreview fixes · 5ab6c5e5
      unknown authored
      
      sql/mysql_priv.h:
        constant definition
      sql/sql_base.cc:
        difine used instead of constant
      sql/sql_cache.cc:
        difine used instead of constant
        typo fixed
      5ab6c5e5
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.0 · a6efe82f
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-qc-4.0
      
      
      a6efe82f
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.0 · b8847967
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-4.0
      
      
      b8847967
    • unknown's avatar
      Part of fix for bug #6081 "Call to deprecated mysql_create_db() function · dd126ba1
      unknown authored
      crashes server"
      
      (in 4.0 we fix only connection stalling in case of error, crash itself is
      fixed in 4.1, the test case for this code is also there).
      
      
      sql/sql_parse.cc:
        Handling of COM_CREATE_DB, COM_DROP_DB:
        We should call send_error() if mysql_create_db or mysql_drop_db
        return error (like we do it for SQL versions of these commands).
      dd126ba1
    • unknown's avatar
      os0file.c: · f18efec5
      unknown authored
        Add typecast from ulint to ssize_t in pread and pwrite, so that the type is according to the Linux man page; this will probably not help to fix the HP-UX 32-bit pwrite failure, since the compiler should do the appropriate typecasts anyway
      
      
      innobase/os/os0file.c:
        Add typecast from ulint to ssize_t in pread and pwrite, so that the type is according to the Linux man page; this will probably not help to fix the HP-UX 32-bit pwrite failure, since the compiler should do the appropriate typecasts anyway
      f18efec5