1. 22 Jun, 2005 30 commits
    • unknown's avatar
      mysql-test-run.pl: · 77c74a89
      unknown authored
        Bug#11481, set charset directory to mysqlbinlog
      
      
      mysql-test/mysql-test-run.pl:
        Bug#11481, set charset directory to mysqlbinlog
      77c74a89
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · ce8b40dd
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      ce8b40dd
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 884d2844
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug8441
      
      884d2844
    • unknown's avatar
      Fix for bug #10886 merge · b14043a0
      unknown authored
      
      mysql-test/r/insert_select.result:
        Auto merged
      mysql-test/t/insert_select.test:
        Auto merged
      b14043a0
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7cda1ddf
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug8441
      
      7cda1ddf
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7ff07e66
      unknown authored
      into mysql.com:/mnt/archive/svoj/mysql/mysql-5.0
      
      7ff07e66
    • unknown's avatar
      Better AR guessing. · 8790b00c
      unknown authored
      
      configure.in:
        Move AR guessing to misc.m4.
      8790b00c
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-5.0 · ab26dd54
      unknown authored
      into hundin.mysql.fi:/home/marko/mysql-5.0-current
      
      ab26dd54
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 1e743ba9
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-10736-new
      
      
      sql/sql_class.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      1e743ba9
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6bd6b0db
      unknown authored
      into mysql.com:/home/svoj/devel/mysql/yassl-mysql-5.0
      
      6bd6b0db
    • unknown's avatar
      Better comment. · b84e9245
      unknown authored
      
      configure.in:
        Post-review fix: better comment.
      b84e9245
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 7752c8c3
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-10736-new
      
      
      sql/sp_head.cc:
        Auto merged
      7752c8c3
    • unknown's avatar
      InnoDB: Remove compilation warnings and errors on SGI IRIX. · eca1108e
      unknown authored
      
      innobase/row/row0ins.c:
        Remove compilation warnings and errors on SGI IRIX.
      eca1108e
    • unknown's avatar
      InnoDB: Replace for loops with memset() where possible. · 25436b69
      unknown authored
      
      innobase/btr/btr0cur.c:
        Replace for loop with memset()
      innobase/buf/buf0buf.c:
        buf_print(): Remove for loop for initializing counts[].
        Similar to index_ids[], the elements of this array will
        be initialized when they are allocated, i.e., counts[n_found++] = 1.
      innobase/os/os0file.c:
        Replace for loop with memset()
      innobase/page/page0page.c:
        Replace for loop with memset()
      innobase/trx/trx0rec.c:
        Replace for loop with memset()
      25436b69
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-5.0 · e4346cae
      unknown authored
      into hundin.mysql.fi:/home/marko/mysql-5.0-current
      
      e4346cae
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0ea65775
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      0ea65775
    • unknown's avatar
    • unknown's avatar
      Made upgrade compatibility in 4.1 range to latest build version · 2348d600
      unknown authored
      
      ndb/src/common/util/version.c:
        Maybe upgrade compatibility in 4.1 range to latest build version
      2348d600
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 72d58845
      unknown authored
      into mysql.com:/home/svoj/devel/mysql/yassl-mysql-5.0
      
      
      sql/item.cc:
        Auto merged
      sql/item_buff.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      72d58845
    • unknown's avatar
      WL#2286 - Compile MySQL w/YASSL support · 1e2ffbf0
      unknown authored
      Fix GCC 4.0 link failure.
      Better CXX_VERSION guessing.
      
      
      config/ac-macros/misc.m4:
        Better CXX_VERSION guessing.
      configure.in:
        CXX_VERSION guessing moved to misc.m4.
        HAVE_EXPLICIT_TEMPLATE_INSTANTIATION moved to config.h.
        Use compiler AR with MIPSpro and Forte instead of instantiating templates explicitly.
      extra/yassl/src/crypto_wrapper.cpp:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      extra/yassl/src/template_instnt.cpp:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      extra/yassl/src/yassl_int.cpp:
        GCC 4.0 link fix. This file needs __cxa_pure_virtual.
      extra/yassl/taocrypt/include/runtime.hpp:
        Fix GCC 4.0 link failure. Instruct compiler to always emit __cxa_pure_virtual even if
        it seems to be never used.
      extra/yassl/taocrypt/include/types.hpp:
        Include config.h.
      extra/yassl/taocrypt/src/algebra.cpp:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      extra/yassl/taocrypt/src/dh.cpp:
        GCC 4.0 link fix. This file needs __cxa_pure_virtual.
      extra/yassl/taocrypt/src/dsa.cpp:
        GCC 4.0 link fix. This file needs __cxa_pure_virtual.
      extra/yassl/taocrypt/src/integer.cpp:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      extra/yassl/taocrypt/src/rsa.cpp:
        GCC 4.0 link fix. This file needs __cxa_pure_virtual.
      extra/yassl/taocrypt/src/template_instnt.cpp:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/field.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/item.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/item_buff.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/mysqld.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/opt_range.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/set_var.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/slave.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/sql_acl.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/sql_class.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/sql_insert.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/sql_map.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/sql_select.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/sql_show.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      sql/table.cc:
        EXPLICIT_TEMPLATE_INSTANTIATION renamed to HAVE_EXPLICIT_TEMPLAE_INSTANTIATION.
      1e2ffbf0
    • unknown's avatar
      InnoDB: Correct a function comment. · 9b0559f1
      unknown authored
      
      innobase/include/rem0rec.h:
        rec_get_nth_field(): Correct the comment.
      innobase/include/rem0rec.ic:
        rec_get_nth_field(): Correct the comment.
      9b0559f1
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 093faea6
      unknown authored
      into mysql.com:/home/cps/mysql/trees/mysql-5.0
      
      093faea6
    • unknown's avatar
      Adjust to the changed Query_arena constructor: · 8d256fa9
      unknown authored
      main_mem_root is moved out of class Query_arena.
      
      
      sql/sp_head.cc:
        Adjust to the changed Query_arena constructor. 
        main_mem_root is moved out of class Query_arena.
      sql/sp_head.h:
        main_mem_root is moved out of class Query_arena: add it to class sp_head.
      sql/sql_class.cc:
        main_mem_root is moved out of class Query_arena: remove
        constructors no longer relevant, remove dead code.
      sql/sql_class.h:
        main_mem_root is moved out of class Query_arena.
      sql/sql_prepare.cc:
        It's better to not use main_mem_root anywhere: logically, it's not
        a public member (can't fix sp_head::make_field and Item_subselect::exec
        to make it protected)
      sql/sql_select.cc:
        New Cursor constructor, which avoids unneeded memory allocation
        when initializign main_mem_root.
      sql/sql_select.h:
        main_mem_root is moved out of class Query_arena.
      8d256fa9
    • unknown's avatar
      test made independent · 18242cfc
      unknown authored
      18242cfc
    • unknown's avatar
      merge · be3c589f
      unknown authored
      be3c589f
    • unknown's avatar
      make test result repeatable · 88587ce2
      unknown authored
      88587ce2
    • unknown's avatar
      Add a missing statement, add licensing info and correct coding style · b09aecd8
      unknown authored
      
      mysys/default_modify.c:
        Add forgotten opt_applied= 1 statement. Because of this adding new options to sections didn't work.
        Extended function comment, addded licencing info and fixed coding style. With current patch only
        the first occurence of the option in a section is changed. According to monty, all options should be changed
        instead. This change is to appear in the next patch.
      b09aecd8
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 6a753563
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0
      
      6a753563
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · e9e84690
      unknown authored
      into  moonbone.local:/work/mysql-5.0-bug-11298
      
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      mysql-test/r/view.result:
        SCCS merged
      mysql-test/t/view.test:
        SCCS merged
      e9e84690
    • unknown's avatar
      Fix bug#11298 insert into select from VIEW produces incorrect result · 29613e39
      unknown authored
        when using ORDER BY
      
      Insert were inserting data from last record fetched instead of inserting from 
      temporary table.
      
      Make Item_ref to save data from result_field if it's available rather then
      from *ref on save_in_field() call.
      
      
      
      sql/item.h:
         Fix bug#11298 insert into select from VIEW produces incorrect result when using ORDER BY
      sql/item.cc:
        Fix bug#11298 insert into select from VIEW produces incorrect result when using ORDER BY
      mysql-test/r/view.result:
        Test case for bug#11298 insert into select from VIEW produces incorrect result when using ORDER BY
      mysql-test/t/view.test:
        Test case for bug#11298 insert into select from VIEW produces incorrect result when using ORDER BY
      29613e39
  2. 21 Jun, 2005 10 commits
    • unknown's avatar
      fixed items cleunup for SP (BUG#10136) · 4ada994f
      unknown authored
      
      mysql-test/r/sp.result:
        test commented until bug#11394 fix
        test for bug#10136
      mysql-test/t/sp.test:
        test commented until bug#11394 fix
        bug10136
      sql/sp_head.cc:
        fixed items cleunup for SP
      4ada994f
    • unknown's avatar
      mysql-test-run.pl: · ed883c17
      unknown authored
        Added optional paths for finding mysqld on Windows
        Added language/charset options to embedded mysql_client_test
      
      
      mysql-test/mysql-test-run.pl:
        Added optional paths for finding mysqld on Windows
        Added language/charset options to embedded mysql_client_test
      ed883c17
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · e210017d
      unknown authored
      into  moonbone.local:/work/mysql-4.1-bug-10886
      
      
      sql/sql_insert.cc:
        Auto merged
      e210017d
    • unknown's avatar
      Fix bug #10886 - INSERT ... SELECT ... ON DUPLICATE KEY UPDATE produces bad results · 47133461
      unknown authored
      Temporary field wasn't restored to default values after ON DUPLICATE KEY
       UPDATE event, which results in wrong data being inserted in new record.
      
      
      sql/sql_insert.cc:
        Fix bug #10886 - INSERT ... SELECT ... ON DUPLICATE KEY UPDATE produces bad results
      mysql-test/t/insert_select.test:
        Test case for bug #10886 - INSERT ... SELECT ... ON DUPLICATE KEY 
        UPDATE produces bad results
      mysql-test/r/insert_select.result:
        Test case for bug #10886 - INSERT ... SELECT ... ON DUPLICATE KEY UPDATE 
        produces bad results
      47133461
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · a3a95619
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      a3a95619
    • unknown's avatar
      fixed view fields names check and generation (changed after Trudy review:... · 24b2ed72
      unknown authored
      fixed view fields names check and generation (changed after Trudy review: underlying field names treat as user set ones) (BUG#7448)
      
      
      mysql-test/r/view.result:
        test of view field names generation
      mysql-test/t/view.test:
        test of view field names generation
      sql/item.cc:
        add a flag that indicates that the name of the item was an auto-generated one and so can be changed in a view
      sql/item.h:
        add a flag that indicates that the name of the item was an auto-generated one and so can be changed in a view
        layout fixed
      sql/item_func.cc:
        line made less then 80 columns
      sql/sql_view.cc:
        fixed checking of duplicates of view fields:
        1) case-insensitive system charset/collation is used now to compare view filds
        2) in case if the duplicate field name was of an auto-generated one, we create another unique name for it
      sql/sql_yacc.yy:
        add a flag that indicates that the name of the item was an auto-generated one and so can be changed in a view
      24b2ed72
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 · c3fb3635
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-5.0
      
      c3fb3635
    • unknown's avatar
      A preparatory patch to help adding JOIN::transform() and move one-time · 17c3f159
      unknown authored
      query transformations to the PREPARE stage (prepared statements).
      
      
      sql/item.h:
        Remove an unused friend declaration.
      sql/mysql_priv.h:
        Change signature of insert_fields()
      sql/sp_head.cc:
        Make is_stmt_prepare_or_first_sp_execute really work: reset SP state
        to EXECUTED after execution.
      sql/sql_base.cc:
        allocate_view_names flag of insert_fields is removed.
        The purpose of this variable was to amend the case when a view
        is replaced with a base table between subsequent executions of a prepared
        statement: in that case the new table theoretically can be used instead
        of the view. If allocate_view_names was set,
        all the references to the view expressions were replaced with Item_field's
        which in turn could have been resolved by their names.
        But this approach doesn't work for other reasons, so let's not try
        to help what must be solved by TDC.
      sql/sql_class.h:
        Add is_first_sp_execute() helper method.
      sql/sql_handler.cc:
        insert_fields signature changed.
      sql/sql_lex.h:
        Add a comment for variable 'first_execution'.
      17c3f159
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4aecd91f
      unknown authored
      into  moonbone.local:/work/mysql-5.0-bug-7422
      
      
      mysql-test/r/view.result:
        SCCS merged
      mysql-test/t/view.test:
        SCCS merged
      4aecd91f
    • unknown's avatar
      Fix bug #7422 "order by" doesn't work · ce28e749
      unknown authored
      Field with wrong buffer was used to make sort key, which results in producing
      same sort key for all records.
      
      
      
      sql/filesort.cc:
        Fix bug#7422 "order by" doesn't work
      mysql-test/t/view.test:
        Test case for bug#7422 "order by" doesn't work
      mysql-test/r/view.result:
        Test case for bug#7422 "order by" doesn't work
      ce28e749