1. 20 Mar, 2004 2 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 984a531a
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-select_list-4.1
      
      
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      984a531a
    • unknown's avatar
      after review changes · 042b46fc
      unknown authored
      
      sql/item.cc:
        removed double_fix & already_fixed in Item_field
      sql/item.h:
        added quick_fix_field() for cases when we are sure that no need full fix_field processing
        fixed neg() method for numeric constants to have the same logic as constant parser
        Item_null, Item_real, ... are constant which are fixed by creation
      sql/item_cmpfunc.h:
        right fix_fields in and_conds call
      sql/item_func.cc:
        changed Item_field constructor call
        fix_field emulation call
      sql/item_strfunc.cc:
        correct layout
      sql/item_subselect.cc:
        correct layout
        changed Item_field constructor call
      sql/item_sum.cc:
        changed Item_field constructor call
      sql/item_sum.h:
        changed Item_field constructor call
      sql/sql_base.cc:
        fixed layout
        right fix_fields calls
      sql/sql_help.cc:
        changed Item_field constructor call
      sql/sql_load.cc:
        changed Item_field constructor call
      sql/sql_parse.cc:
        constant changed
      sql/sql_select.cc:
        fixed layout
        fix_field emulation insted of real fix_fields call
      sql/sql_show.cc:
        changed Item_field constructor call
      sql/sql_union.cc:
        changed Item_field constructor call
        double_fix removed
      sql/sql_update.cc:
        renamed variable, fixed layout
      sql/sql_yacc.yy:
        typo fixed
        fix_fields emulation calls
        hegation of numbers fixed
      042b46fc
  2. 19 Mar, 2004 9 commits
  3. 18 Mar, 2004 20 commits
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · 94604d4b
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      94604d4b
    • unknown's avatar
      - reverted use of AC_CONFIG_SUBDIRS for BDB for now (it somehow did · 78e05b63
      unknown authored
         not work as expected) - need to investigate (after 4.1.2 is released)
      
      78e05b63
    • 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
      fixed signed numeric literal parsing · adc4aa5a
      unknown authored
      
      sql/item.h:
        added negation methods for numeric Items
      sql/sql_yacc.yy:
        fixed numeric literal
      adc4aa5a
    • unknown's avatar
      ecf5bfc2
    • unknown's avatar
      merge · 41e3170a
      unknown authored
      
      sql/field.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      41e3170a
    • unknown's avatar
      DBUG_ASSERT(fixed == 1); added to val* · ad2c3773
      unknown authored
      small optimisation in signed_literal
      
      
      sql/field.cc:
        layout fixed
      sql/item.cc:
        DBUG_ASSERT(fixed == 1); added to val*
        layout fixed
        fixed= 1; added where it was forgoten in fix_fields
        Item_string can be used without fix_fields
      sql/item.h:
        DBUG_ASSERT(fixed == 1); added to val*
        Item_string can be used without fix_fields
      sql/item_cmpfunc.cc:
        DBUG_ASSERT(fixed == 1); added to val*
      sql/item_cmpfunc.h:
        fixed layout and getting Item statistic
      sql/item_func.cc:
        DBUG_ASSERT(fixed == 1); added to val*
      sql/item_func.h:
        DBUG_ASSERT(fixed == 1); added to val*
      sql/item_geofunc.cc:
        DBUG_ASSERT(fixed == 1); added to val*
      sql/item_strfunc.cc:
        DBUG_ASSERT(fixed == 1); added to val*
        layout fixed
      sql/item_strfunc.h:
        DBUG_ASSERT(fixed == 1); added to val*
      sql/item_subselect.cc:
        DBUG_ASSERT(fixed == 1); added to val*
      sql/item_sum.cc:
        DBUG_ASSERT(fixed == 1); added to val*
      sql/item_sum.h:
        DBUG_ASSERT(fixed == 1); added to val*
      sql/item_timefunc.cc:
        DBUG_ASSERT(fixed == 1); added to val*
      sql/item_timefunc.h:
        DBUG_ASSERT(fixed == 1); added to val*
      sql/item_uniq.h:
        DBUG_ASSERT(fixed == 1); added to val*
      sql/sql_base.cc:
        Item creation revised
      sql/sql_help.cc:
        Item creation revised
      sql/sql_load.cc:
        Item creation revised
      sql/sql_parse.cc:
        fix_field call added
      sql/sql_select.cc:
        Item creation revised
      sql/sql_show.cc:
        Item creation revised
      sql/sql_union.cc:
        Item creation revised
      sql/sql_update.cc:
        Item creation revised
      sql/sql_yacc.yy:
        Item creation revised
        small optimisation in signed_literal
      ad2c3773
    • 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
  4. 17 Mar, 2004 9 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