1. 18 Mar, 2004 14 commits
    • unknown's avatar
      Fix for BUG#3214 "mysqlbinlog --read-from-remote-server --position prints wrong positions" · dfca0c04
      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.
      dfca0c04
    • unknown's avatar
      Merge gbichot@213.136.52.20:/home/bk/mysql-4.1 · 4758b336
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1
      
      
      client/mysqlbinlog.cc:
        Auto merged
      mysql-test/r/mysqlbinlog.result:
        Auto merged
      4758b336
    • unknown's avatar
      Fix for BUG#3204 ""mysqlbinlog --read-from-remote-server this_binlog.001" prints all binlogs": · 02a8a3df
      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
      02a8a3df
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · b22ff235
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      b22ff235
    • unknown's avatar
      trx0undo.h, trx0undo.c, trx0trx.c: · 62974a6b
      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
      62974a6b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 3f31f7ca
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      3f31f7ca
    • unknown's avatar
      Removed compiler warning · 4ac22e96
      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
      4ac22e96
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.1 · 54fbb3bd
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      54fbb3bd
    • unknown's avatar
      - Use AC_CONFIG_SUBDIRS to invoke the InnoDB and BDB configure scripts · d6964b33
      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)
      
      d6964b33
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · fa6a3378
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.clear
      
      fa6a3378
    • unknown's avatar
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 8a590357
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/sql_db.cc:
        Auto merged
      8a590357
    • unknown's avatar
    • unknown's avatar
      os0file.c: · b8b4050e
      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
      b8b4050e
  2. 17 Mar, 2004 20 commits
    • unknown's avatar
      Don't change server suffix if given to configure · fe9c442d
      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
      fe9c442d
    • unknown's avatar
      merge fixes (use old code) · 6812763c
      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
      6812763c
    • unknown's avatar
      after merge fixes · 2a760bdf
      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
      2a760bdf
    • unknown's avatar
      ha_innodb.cc: · 87a2ae55
      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.
      87a2ae55
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · c94a8d04
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      c94a8d04
    • unknown's avatar
      Fix typo. · eee47c71
      unknown authored
      eee47c71
    • unknown's avatar
      Many files: · feac7526
      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
      feac7526
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 520af90b
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      520af90b
    • unknown's avatar
      merge · ebb94b59
      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
      ebb94b59
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · 553713ad
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      553713ad
    • unknown's avatar
      Added test case for the bug #3155: strange results with index (x, y) ... WHERE... · c6d993a1
      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;
      c6d993a1
    • unknown's avatar
      Code cleanup: · fd117c4f
      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.
      fd117c4f
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · afc4ce3d
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.clear
      
      afc4ce3d
    • unknown's avatar
      9943e890
    • unknown's avatar
      Fix for the bug #3155: strange results with index (x, y) ... WHERE x=val_1 AND... · 32939aed
      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)
      
      
      32939aed
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2a9c83e6
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.233
      
      
      sql/field.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      2a9c83e6
    • unknown's avatar
      Fix for #233 · b0464da9
      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
      b0464da9
    • unknown's avatar
      merge with 4.0 · 8840bbae
      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
      8840bbae
    • unknown's avatar
      After merge fixes · 1740ff48
      unknown authored
      1740ff48
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 10c4e9ad
      unknown authored
      into mysql.com:/home/my/mysql-4.0
      
      10c4e9ad
  3. 16 Mar, 2004 6 commits
    • unknown's avatar
      Merge paul@bk-internal.mysql.com:/home/bk/mysql-4.1 · b556bd91
      unknown authored
      into teton.kitebird.com:/home/paul/mysql-4.1
      
      b556bd91
    • unknown's avatar
      merge with 4.0 · ef566cfc
      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
      ef566cfc
    • unknown's avatar
      Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 14f0c167
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
      
      14f0c167
    • unknown's avatar
      accidentaly removed empty line added · 8ec0b460
      unknown authored
      8ec0b460
    • unknown's avatar
      Merge miguel@bk-internal.mysql.com:/home/bk/mysql-4.1 · 645091c4
      unknown authored
      into hegel.local:/home/miguel/bk/mysql-4.1
      
      
      sql/log_event.cc:
        Auto merged
      645091c4
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 1b26373f
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-rand-4.1
      
      
      sql/item_func.cc:
        Auto merged
      1b26373f