1. 18 Mar, 2004 14 commits
    • unknown's avatar
      Fix for BUG#3214 "mysqlbinlog --read-from-remote-server --position prints wrong positions" · 1450ee3a
      unknown authored
      I am fixing it here in 4.1, not in 4.0, as it goes with another change
      which I did in 4.1 (fix for BUG#3204
      ""mysqlbinlog --read-from-remote-server this_binlog.001" prints all binlogs").
      
      
      client/mysqlbinlog.cc:
        correcting code to compute the position right when we are reading
        a remote binlog.
      1450ee3a
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · a068b4a7
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      
      client/mysqlbinlog.cc:
        Auto merged
      mysql-test/r/mysqlbinlog.result:
        Auto merged
      a068b4a7
    • unknown's avatar
      Fix for BUG#3204 ""mysqlbinlog --read-from-remote-server this_binlog.001" prints all binlogs": · 83e696e6
      unknown authored
      we now detect that the server is sending us a log which we did not request
      by testing the info in the fake Rotate event.
      I also changed code to not print the fake Rotate which describes the
      log we asked for (it's always the first received event but old masters
      may not send it).
      
      
      client/mysqlbinlog.cc:
        Detect when the master is sending us a binlog which we have not requested,
        then stop.
        Skip the fake Rotate event if there is one (there may be none if
        the server to which we connect is < 4.0.14).
      mysql-test/r/mysqlbinlog.result:
        result update: master-bin.000002 is not printed anymore (as mysqlbinlog
        stops at the end of the requested log, master-bin.000001).
      mysql-test/t/mysqlbinlog.test:
        comment is wrong now
      83e696e6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · bffc3339
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      bffc3339
    • unknown's avatar
      trx0undo.h, trx0undo.c, trx0trx.c: · 3caab0f3
      unknown authored
        Update an obsolete comment about trx commit: we can no longer call trx_undo_update_cleanup_by_discard(), and actually, the idea to call it was erroneous, it cannot work
      
      
      innobase/trx/trx0trx.c:
        Update an obsolete comment about trx commit: we can no longer call trx_undo_update_cleanup_by_discard(), and actually, the idea to call it was erroneous, it cannot work
      innobase/trx/trx0undo.c:
        Update an obsolete comment about trx commit: we can no longer call trx_undo_update_cleanup_by_discard(), and actually, the idea to call it was erroneous, it cannot work
      innobase/include/trx0undo.h:
        Update an obsolete comment about trx commit: we can no longer call trx_undo_update_cleanup_by_discard(), and actually, the idea to call it was erroneous, it cannot work
      3caab0f3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · cabf9829
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      cabf9829
    • unknown's avatar
      Removed compiler warning · 5b624042
      unknown authored
      Changed _XXX to _MY_XXX to solve conflict problem on Mac OS X
      
      
      include/m_ctype.h:
        Changed _XXX to _MY_XXX to solve conflict problem on Mac OS X
      include/mysql.h:
        Removed compiler warning
      libmysqld/lib_sql.cc:
        Removed compiler warning
      mysys/charset2html.c:
        Changed _XXX to _MY_XXX to solve conflict problem on Mac OS X
      regex/regcomp.c:
        Changed _XXX to _MY_XXX to solve conflict problem on Mac OS X
      sql-common/client.c:
        Indentation fix
      5b624042
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.1 · 27d20141
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      
      27d20141
    • unknown's avatar
      - Use AC_CONFIG_SUBDIRS to invoke the InnoDB and BDB configure scripts · 91c01dd9
      unknown authored
         instead of calling them directly (WL#1521) - this also fixed a compile
         error with libtool-1.5.2 on FreeBSD (error: tag name "CXX" already 
         exists)
      
      
      91c01dd9
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · b349ef1c
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.clear
      
      
      b349ef1c
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · ee63578f
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/sql_db.cc:
        Auto merged
      ee63578f
    • unknown's avatar
    • unknown's avatar
      os0file.c: · 93ca1bfa
      unknown authored
        Remove includes of sys/types.h and sys/stat.h because these are already included through univ.i
      
      
      innobase/os/os0file.c:
        Remove includes of sys/types.h and sys/stat.h because these are already included through univ.i
      93ca1bfa
  2. 17 Mar, 2004 20 commits
    • unknown's avatar
      Don't change server suffix if given to configure · f107cb70
      unknown authored
      Portability fixes
      
      
      client/mysqltest.c:
        Fixed output of 'affected rows'
      innobase/os/os0file.c:
        Portability fix (for AIX)
      mysql-test/r/rpl_trunc_binlog.result:
        Update results after merge
      sql/mysqld.cc:
        Don't change server suffix if given to configure
      f107cb70
    • unknown's avatar
      merge fixes (use old code) · 24148f04
      unknown authored
      
      client/mysqladmin.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      innobase/dict/dict0dict.c:
        Auto merged
      innobase/include/os0file.h:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      24148f04
    • unknown's avatar
      after merge fixes · 022c5241
      unknown authored
      
      include/my_tree.h:
        After merge fixes
      mysql-test/r/create.result:
        After merge fixes
      mysql-test/r/insert.result:
        After merge fixes
      mysql-test/r/multi_update.result:
        After merge fixes
      mysql-test/r/query_cache.result:
        After merge fixes
      mysql-test/r/rpl_error_ignored_table.result:
        After merge fixes
      mysql-test/r/rpl_optimize.result:
        After merge fixes
      mysql-test/r/show_check.result:
        After merge fixes
      mysql-test/t/insert.test:
        After merge fixes (Remove columns with space last)
      mysql-test/t/multi_update.test:
        After merge fixes
      mysql-test/t/show_check.test:
        After merge fixes
      sql/field.cc:
        Remove compiler warnings
      sql/sql_base.cc:
        Fix bug when table was refreshed
      022c5241
    • unknown's avatar
      ha_innodb.cc: · 7395d54d
      unknown authored
        Add a comment that InnoDB always retrieves the row id, if the clustered index was internally generated by InnoDB. Then we know the 'ref' to the row.
      
      
      sql/ha_innodb.cc:
        Add a comment that InnoDB always retrieves the row id, if the clustered index was internally generated by InnoDB. Then we know the 'ref' to the row.
      7395d54d
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · fd2b1a58
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      
      fd2b1a58
    • unknown's avatar
      Fix typo. · 6d35642f
      unknown authored
      6d35642f
    • unknown's avatar
      Many files: · 68273f0f
      unknown authored
        Fix Bug #1942: do not retrieve all columns in a table if we only need the 'ref' of the row (usually, the PRIMARY KEY) to calculate an ORDER BY
      
      
      innobase/dict/dict0dict.c:
        Fix Bug #1942: do not retrieve all columns in a table if we only need the 'ref' of the row (usually, the PRIMARY KEY) to calculate an ORDER BY
      innobase/include/dict0dict.h:
        Fix Bug #1942: do not retrieve all columns in a table if we only need the 'ref' of the row (usually, the PRIMARY KEY) to calculate an ORDER BY
      innobase/include/row0mysql.h:
        Fix Bug #1942: do not retrieve all columns in a table if we only need the 'ref' of the row (usually, the PRIMARY KEY) to calculate an ORDER BY
      sql/ha_innodb.cc:
        Fix Bug #1942: do not retrieve all columns in a table if we only need the 'ref' of the row (usually, the PRIMARY KEY) to calculate an ORDER BY
      sql/sql_select.cc:
        Fix Bug #1942: do not retrieve all columns in a table if we only need the 'ref' of the row (usually, the PRIMARY KEY) to calculate an ORDER BY
      include/my_base.h:
        Fix Bug #1942: do not retrieve all columns in a table if we only need the 'ref' of the row (usually, the PRIMARY KEY) to calculate an ORDER BY
      68273f0f
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 88fb419f
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      
      88fb419f
    • unknown's avatar
      merge · 8bdbfee9
      unknown authored
      
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/r/subselect.result:
        resolving conflicts
      mysql-test/t/subselect.test:
        resolving conflicts
      8bdbfee9
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8f705fbc
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      
      8f705fbc
    • unknown's avatar
      Added test case for the bug #3155: strange results with index (x, y) ... WHERE... · 47f561de
      unknown authored
      Added test case for the bug #3155: strange results with index (x, y) ... WHERE x=val_1 AND y>=val_2 ORDER BY pk;
      (thankee Monty)
      
      
      mysql-test/r/order_by.result:
        Added test case for the bug #3155: strange results with index (x, y) ... WHERE x=val_1 AND y>=val_2 ORDER BY pk;
      mysql-test/t/order_by.test:
        Added test case for the bug #3155: strange results with index (x, y) ... WHERE x=val_1 AND y>=val_2 ORDER BY pk;
      47f561de
    • unknown's avatar
      Code cleanup: · 6ff6a5ea
      unknown authored
      - added unsigned_flag= 1; to Item_uint constructors
      - removed Item_uint::fix_fields()
      - added a comment about fix_fields() call
      
      
      sql/item.h:
        added unsigned_flag= 1; to Item_uint constructors
        removed Item_uint::fix_fields()
      sql/item_func.cc:
        added a comment about fix_fields() call.
      6ff6a5ea
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0de92f82
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.clear
      
      
      0de92f82
    • unknown's avatar
      ca0ece13
    • unknown's avatar
      Fix for the bug #3155: strange results with index (x, y) ... WHERE x=val_1 AND... · 3d13c402
      unknown authored
      Fix for the bug #3155: strange results with index (x, y) ... WHERE x=val_1 AND y>=val_2 ORDER BY pk;
      (test case is too big to be included, take a look at the bug database)
      
      
      
      3d13c402
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 48121583
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.233
      
      
      sql/field.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      48121583
    • unknown's avatar
      Fix for #233 · e308d66a
      unknown authored
      test for IGNORE added
      
      
      mysql-test/r/gis.result:
        test result for IGNORE added
      mysql-test/t/gis.test:
        test for IGNORE added
      e308d66a
    • unknown's avatar
      merge with 4.0 · 219bbd52
      unknown authored
      
      innobase/btr/btr0cur.c:
        Auto merged
      innobase/btr/btr0sea.c:
        Auto merged
      innobase/include/log0log.h:
        Auto merged
      innobase/include/log0log.ic:
        Auto merged
      innobase/log/log0recv.c:
        Auto merged
      innobase/page/page0cur.c:
        Auto merged
      innobase/que/que0que.c:
        Auto merged
      myisam/myisam_ftdump.c:
        Auto merged
      mysql-test/r/func_if.result:
        Auto merged
      mysql-test/t/func_if.test:
        Auto merged
      219bbd52
    • unknown's avatar
      After merge fixes · b5238021
      unknown authored
      b5238021
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · b5469837
      unknown authored
      into mysql.com:/home/my/mysql-4.0
      
      
      b5469837
  3. 16 Mar, 2004 6 commits
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5ffb903e
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      
      5ffb903e
    • unknown's avatar
      merge with 4.0 · a8aacf87
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      VC++Files/innobase/innobase.dsp:
        Auto merged
      VC++Files/libmysql/libmysql.dsp:
        Auto merged
      acinclude.m4:
        Auto merged
      configure.in:
        Auto merged
      BitKeeper/deleted/.del-com0shm.c~6a16f0c3d81de1f:
        Auto merged
      BitKeeper/deleted/.del-mysql_fix_privilege_tables.sql:
        Auto merged
      extra/replace.c:
        Auto merged
      include/my_sys.h:
        Auto merged
      innobase/btr/btr0btr.c:
        Auto merged
      innobase/btr/btr0cur.c:
        Auto merged
      innobase/btr/btr0pcur.c:
        Auto merged
      innobase/btr/btr0sea.c:
        Auto merged
      innobase/configure.in:
        Auto merged
      innobase/data/data0data.c:
        Auto merged
      innobase/dict/dict0boot.c:
        Auto merged
      innobase/dict/dict0crea.c:
        Auto merged
      innobase/dict/dict0dict.c:
        Auto merged
      innobase/dict/dict0load.c:
        Auto merged
      innobase/dict/dict0mem.c:
        Auto merged
      innobase/ha/ha0ha.c:
        Auto merged
      innobase/ha/hash0hash.c:
        Auto merged
      innobase/include/btr0btr.ic:
        Auto merged
      innobase/include/data0type.ic:
        Auto merged
      innobase/include/dict0mem.h:
        Auto merged
      innobase/include/log0log.ic:
        Auto merged
      innobase/include/mach0data.ic:
        Auto merged
      innobase/include/mtr0log.h:
        Auto merged
      innobase/include/mtr0mtr.h:
        Auto merged
      innobase/include/os0file.h:
        Auto merged
      innobase/include/row0upd.ic:
        Auto merged
      innobase/include/srv0srv.h:
        Auto merged
      innobase/include/sync0sync.h:
        Auto merged
      innobase/include/trx0rseg.ic:
        Auto merged
      innobase/lock/lock0lock.c:
        Auto merged
      innobase/log/log0recv.c:
        Auto merged
      innobase/mem/mem0dbg.c:
        Auto merged
      innobase/mtr/mtr0log.c:
        Auto merged
      innobase/mtr/mtr0mtr.c:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      innobase/page/page0cur.c:
        Auto merged
      innobase/page/page0page.c:
        Auto merged
      innobase/pars/lexyy.c:
        Auto merged
      innobase/read/read0read.c:
        Auto merged
      innobase/rem/rem0cmp.c:
        Auto merged
      innobase/rem/rem0rec.c:
        Auto merged
      innobase/row/row0ins.c:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      innobase/row/row0purge.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      innobase/row/row0undo.c:
        Auto merged
      innobase/row/row0upd.c:
        Auto merged
      innobase/srv/srv0srv.c:
        Auto merged
      innobase/srv/srv0start.c:
        Auto merged
      innobase/sync/sync0rw.c:
        Auto merged
      innobase/thr/thr0loc.c:
        Auto merged
      innobase/trx/trx0purge.c:
        Auto merged
      innobase/trx/trx0rec.c:
        Auto merged
      innobase/trx/trx0roll.c:
        Auto merged
      innobase/trx/trx0trx.c:
        Auto merged
      innobase/trx/trx0undo.c:
        Auto merged
      myisam/mi_check.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      mysql-test/r/multi_update.result:
        Auto merged
      mysql-test/r/mysqlbinlog.result:
        Auto merged
      mysql-test/r/rpl_error_ignored_table.result:
        Auto merged
      mysql-test/t/multi_update.test:
        Auto merged
      mysql-test/t/rpl_error_ignored_table.test:
        Auto merged
      mysys/mf_iocache.c:
        Auto merged
      mysys/mf_pack.c:
        Auto merged
      mysys/my_getopt.c:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_cache.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_handler.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_list.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      tests/thread_test.c:
        Auto merged
      client/mysqldump.c:
        Keep original indentation
      mysql-test/r/merge.result:
        keep old file
      scripts/mysql_fix_privilege_tables.sh:
        Keep old structure in merge with 4.0
      sql/table.cc:
        merge with 4.0 + simple optimizations
      a8aacf87
    • unknown's avatar
      Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0c73b6e8
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
      
      
      0c73b6e8
    • unknown's avatar
      accidentaly removed empty line added · 663109a4
      unknown authored
      663109a4
    • unknown's avatar
      Merge miguel@bk-internal.mysql.com:/home/bk/mysql-4.1 · 80057de5
      unknown authored
      into hegel.local:/home/miguel/bk/mysql-4.1
      
      
      sql/log_event.cc:
        Auto merged
      80057de5
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · f2f9b653
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-rand-4.1
      
      
      sql/item_func.cc:
        Auto merged
      f2f9b653