1. 22 Jun, 2005 40 commits
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 2c14bd9a
      unknown authored
      into radha.local:/Volumes/disk2s1/mysql-5.0
      
      
      2c14bd9a
    • unknown's avatar
      Remove THD::stmt_backup · 60d6b877
      unknown authored
      
      sql/sql_class.cc:
        Statement constructor for the case when it's used for backup only
        was removed.
      sql/sql_class.h:
        Remove THD::stmt_backup and simplify Statement constructors.
      sql/sql_prepare.cc:
        Use an object on stack instead of THD::stmt_backup
      sql/sql_select.cc:
        Use an object on stack instead of THD::stmt_backup
      60d6b877
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · c09ca7d8
      unknown authored
      into radha.local:/Volumes/disk2s1/mysql-5.0
      
      
      c09ca7d8
    • unknown's avatar
      Bug# 9926, This is the same as changeset 1.1934, which was approved by Monty · f837c0ad
      unknown authored
      
      sql/ha_federated.cc:
        Added auto-reconnect to allow foreign server restarts.
      f837c0ad
    • unknown's avatar
      mtr_cases.pl: · 7eaa6dc1
      unknown authored
        Add a slave when running the federated test case
      
      
      mysql-test/lib/mtr_cases.pl:
        Add a slave when running the federated test case
      7eaa6dc1
    • unknown's avatar
      Merge emurphy@bk-internal.mysql.com:/home/bk/mysql-5.0 · bbc02113
      unknown authored
      into  mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      bbc02113
    • unknown's avatar
      Merge emurphy@bk-internal.mysql.com:/home/bk/mysql-5.0 · fbff02d1
      unknown authored
      into  mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      fbff02d1
    • unknown's avatar
      mysql-test-run.pl: · 2520c2c6
      unknown authored
        Bug#11481, set charset directory to mysqlbinlog
      
      
      mysql-test/mysql-test-run.pl:
        Bug#11481, set charset directory to mysqlbinlog
      2520c2c6
    • unknown's avatar
      Merge mysql.com:/Users/emurphy/src/bk-clean/mysql-4.1-merge2 · e89d8219
      unknown authored
      into  mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/sql_parse.cc:
        SCCS merged
      e89d8219
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1 · d9c2a339
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      d9c2a339
    • unknown's avatar
      Merge emurphy@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7ab35a1b
      unknown authored
      into  mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0
      
      
      7ab35a1b
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 309a7e67
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug8441
      
      
      309a7e67
    • unknown's avatar
      Merge mysql.com:/Users/emurphy/src/bk-clean/mysql-4.1-merge · 43498b16
      unknown authored
      into  mysql.com:/Users/emurphy/src/bk-clean/mysql-5.0
      
      
      sql/sql_parse.cc:
        Manual merge
      43498b16
    • unknown's avatar
      Fix for bug #10886 merge · d1211968
      unknown authored
      
      mysql-test/r/insert_select.result:
        Auto merged
      mysql-test/t/insert_select.test:
        Auto merged
      d1211968
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · a311ecde
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug8441
      
      
      a311ecde
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · bf851ae2
      unknown authored
      into mysql.com:/mnt/archive/svoj/mysql/mysql-5.0
      
      
      bf851ae2
    • unknown's avatar
      Better AR guessing. · d608a83a
      unknown authored
      
      configure.in:
        Move AR guessing to misc.m4.
      d608a83a
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-5.0 · 73ea278f
      unknown authored
      into hundin.mysql.fi:/home/marko/mysql-5.0-current
      
      
      73ea278f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · e5245b34
      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
      e5245b34
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8a52ef4a
      unknown authored
      into mysql.com:/home/svoj/devel/mysql/yassl-mysql-5.0
      
      
      8a52ef4a
    • unknown's avatar
      Better comment. · 5f3dbc8b
      unknown authored
      
      configure.in:
        Post-review fix: better comment.
      5f3dbc8b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 9fc275dc
      unknown authored
      into mysql.com:/opt/local/work/mysql-5.0-10736-new
      
      
      sql/sp_head.cc:
        Auto merged
      9fc275dc
    • unknown's avatar
      InnoDB: Remove compilation warnings and errors on SGI IRIX. · b4268440
      unknown authored
      
      innobase/row/row0ins.c:
        Remove compilation warnings and errors on SGI IRIX.
      b4268440
    • unknown's avatar
      InnoDB: Replace for loops with memset() where possible. · 369da8f5
      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()
      369da8f5
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-5.0 · 283d42e5
      unknown authored
      into hundin.mysql.fi:/home/marko/mysql-5.0-current
      
      
      283d42e5
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · 1d692a88
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      
      1d692a88
    • unknown's avatar
    • unknown's avatar
      Made upgrade compatibility in 4.1 range to latest build version · eb7e1d72
      unknown authored
      
      ndb/src/common/util/version.c:
        Maybe upgrade compatibility in 4.1 range to latest build version
      eb7e1d72
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7e12a287
      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
      7e12a287
    • unknown's avatar
      WL#2286 - Compile MySQL w/YASSL support · 80a62132
      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.
      80a62132
    • unknown's avatar
      InnoDB: Correct a function comment. · 4d7bca88
      unknown authored
      
      innobase/include/rem0rec.h:
        rec_get_nth_field(): Correct the comment.
      innobase/include/rem0rec.ic:
        rec_get_nth_field(): Correct the comment.
      4d7bca88
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · cceab6e6
      unknown authored
      into mysql.com:/home/cps/mysql/trees/mysql-5.0
      
      
      cceab6e6
    • unknown's avatar
      Adjust to the changed Query_arena constructor: · 40f0738b
      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.
      40f0738b
    • unknown's avatar
      test made independent · 6487eb81
      unknown authored
      6487eb81
    • unknown's avatar
      merge · 50883340
      unknown authored
      50883340
    • unknown's avatar
      make test result repeatable · da0c9d28
      unknown authored
      da0c9d28
    • unknown's avatar
      Add a missing statement, add licensing info and correct coding style · 300e207a
      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.
      300e207a
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0 · 34ecd80c
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0
      
      
      34ecd80c
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8fc03d97
      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
      8fc03d97
    • unknown's avatar
      Fix bug#11298 insert into select from VIEW produces incorrect result · 401fa3cb
      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
      401fa3cb