1. 20 Mar, 2004 2 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 7699bb47
      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
      7699bb47
    • unknown's avatar
      after review changes · f379d7b1
      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
      f379d7b1
  2. 19 Mar, 2004 9 commits
  3. 18 Mar, 2004 20 commits
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · 44452dfa
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      
      44452dfa
    • unknown's avatar
      - reverted use of AC_CONFIG_SUBDIRS for BDB for now (it somehow did · 9081ad12
      unknown authored
         not work as expected) - need to investigate (after 4.1.2 is released)
      
      
      9081ad12
    • 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
      fixed signed numeric literal parsing · 647498e9
      unknown authored
      
      sql/item.h:
        added negation methods for numeric Items
      sql/sql_yacc.yy:
        fixed numeric literal
      647498e9
    • unknown's avatar
      5b540f05
    • unknown's avatar
      merge · 85dddd90
      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
      85dddd90
    • unknown's avatar
      DBUG_ASSERT(fixed == 1); added to val* · 1a81e041
      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
      1a81e041
    • 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
  4. 17 Mar, 2004 9 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