1. 13 Jan, 2006 11 commits
  2. 12 Jan, 2006 21 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 57a2516e
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-bg12198-2
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      57a2516e
    • unknown's avatar
      Fix for bug #12198 "Temporary table aliasing does not work inside stored · 24fe8535
      unknown authored
      functions".
      
      We should ignore alias when we check if table was already marked as temporary
      when we calculate set of tables to be prelocked. Otherwise we will erroneously
      treat tables which are used in same routine and have same name but different
      alias as non-temporary.
      
      
      mysql-test/r/sp.result:
        Added test for bug #12198 "Temporary table aliasing does not work inside stored
        functions" and other tests which cover handling of temporary tables in prelocked
        mode.
      mysql-test/t/sp.test:
        Added test for bug #12198 "Temporary table aliasing does not work inside stored
        functions" and other tests which cover handling of temporary tables in prelocked
        mode.
      sql/sp_head.cc:
        sp_head::merge_table_list():
          We should ignore alias when we check if table was already marked as temporary
          when we calculate set of tables to be prelocked. Otherwise we will erroneously
          treat tables which are used in same routine and have same name but different
          alias as non-temporary.
      24fe8535
    • unknown's avatar
      Fixed a bug in merge. · 3cfda33b
      unknown authored
      3cfda33b
    • unknown's avatar
      Fix for Netware build. · c31cb1ed
      unknown authored
      c31cb1ed
    • unknown's avatar
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 · 53e272e3
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
      
      
      client/mysqlimport.c:
        Auto merged
      include/config-netware.h:
        Auto merged
      innobase/os/os0thread.c:
        Auto merged
      netware/mysqld_safe.c:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysqld.cc:
        Merged from 4.1.
      sql/sql_base.cc:
        Merged from 4.1.
      sql/sql_handler.cc:
        Merged from 4.1.
      sql/sql_select.cc:
        Merged from 4.1.
      53e272e3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 99f617e9
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      99f617e9
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/wl2930_fixup/my50-wl2930_fixup · 821e6fba
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      821e6fba
    • unknown's avatar
      8e889525
    • unknown's avatar
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.0 · ab58ea55
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
      
      
      include/config-netware.h:
        Auto merged
      innobase/os/os0thread.c:
        Auto merged
      netware/mysqld_safe.c:
        Merge from 4.0 to 4.1
      sql/mysqld.cc:
        Merge from 4.0 to 4.1
      ab58ea55
    • unknown's avatar
      NetWare specific change to increase thread stack size. · 0aef5e36
      unknown authored
      Changes to Netware specific mysqld_safe.c
      
      
      include/config-netware.h:
        NetWare specific change to increase thread stack size.
      innobase/os/os0thread.c:
        NetWare specific change to increase thread stack size.
      netware/mysqld_safe.c:
        NetWare specific change to make multiple mysqld_safe instances
        work when called through a NCF file.
      sql/mysqld.cc:
        NetWare specific change to increase thread stack size.
      0aef5e36
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · f5f31039
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      f5f31039
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 22536aad
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      22536aad
    • unknown's avatar
      sql_show.cc: · ac2ac086
      unknown authored
        after-merge fix for
        bug#15581 COALESCE function truncates mutli-byte TINYTEXT values
      
      
      sql/sql_show.cc:
        after-merge fix for bug#15581 COALESCE function truncates mutli-byte TINYTEXT values
        ,
      ac2ac086
    • unknown's avatar
      ctype_utf8.result: · b049c1bd
      unknown authored
        After merge fix:
        fixing order of results.
      
      
      mysql-test/r/ctype_utf8.result:
        After merge fix:
        fixing order of results.
      b049c1bd
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6b801a67
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug16166-r2
      
      6b801a67
    • unknown's avatar
      Fix typo bug in previous cset · bd478447
      unknown authored
      bd478447
    • unknown's avatar
      BUG#16166, "Can't use index_merge with FORCE INDEX": adjust the heurstics check to take into · 4ccf6886
      unknown authored
      account that "FORCE INDEX" disables full table scans, and not range/index_merge scans.
      (with post-review fixes)
      
      
      mysql-test/r/index_merge.result:
        Testcase for BUG#16166
      mysql-test/t/index_merge.test:
        Testcase for BUG#16166
      sql/sql_select.cc:
        BUG#16166: "Can't use index_merge with FORCE INDEX": adjust the heuristics check:
        if (force-index-is-used && there-is-possible-ref-access && 
        +    THERE IS NO POSSIBLE RANGE/INDEX_MERGE ACCESS)
        {
          ...
      4ccf6886
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1.b15581 · cd1c3129
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        After-merge fix.
      sql/field.cc:
        After merge fix.
      cd1c3129
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2322b2c2
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b15581
      
      2322b2c2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · add9adf7
      unknown authored
      into  mysql.com:/home/alik/MySQL/devel/5.0-bug15103
      
      add9adf7
    • unknown's avatar
      Fix for BUG#15103: SHOW TRIGGERS: small output alignment problem. · 78eb6fc5
      unknown authored
      
      mysql-test/r/information_schema.result:
        Remove extra spaces from result file.
      mysql-test/r/mysqldump.result:
        Remove extra spaces from result file.
      mysql-test/r/rpl_ddl.result:
        Remove extra spaces from result file.
      mysql-test/r/trigger-compat.result:
        Remove extra spaces from result file.
      mysql-test/r/trigger-grant.result:
        Remove extra spaces from result file.
      mysql-test/r/trigger.result:
        Remove extra spaces from result file.
      sql/sql_yacc.yy:
        Remove leading spaces.
      78eb6fc5
  3. 11 Jan, 2006 8 commits
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0 · 611cadb0
      unknown authored
      into  linux.site:/home/reggie/work/mysql-5.0
      
      611cadb0
    • unknown's avatar
      simple Windows compile fixes. · 89149cc7
      unknown authored
      
      include/config-win.h:
        use the ll and ull postfix codes for create longlong and ulonglong
        symbols.  This allows ULL(a) and LL(a) to be used in more complex
        macro definitions than the previous definitions.  This may work on
        other compilers but we just tested on Visual 7.1 and 8.0
        
        Also, define HAVE_STRNLEN for all windows platforms.  Our own strnlen
        offers no performance improvements over the CRT version.
      89149cc7
    • unknown's avatar
      Fixed bug #15538: unchecked table absence caused server crash. · e2a8eeda
      unknown authored
      Absence of table in left part of LEFT/RIGHT join wasn't checked before
      name resolution which resulted in NULL dereferencing and server crash.
      
      Modified rules: 
      "table_ref LEFT opt_outer JOIN_SYM table_ref" and "table_ref RIGHT opt_outer 
      JOIN_SYM table_ref"
      NULL check is moved before push_new_name_resolution_context()
      
      
      sql/sql_yacc.yy:
        Fixed bug #15538: unchecked table absence caused server crash.
        Modified rules:
        "table_ref LEFT opt_outer JOIN_SYM table_ref" and "table_ref RIGHT opt_outer 
        JOIN_SYM table_ref"
        NULL check is moved before push_new_name_resolution_context()
      mysql-test/r/select.result:
        Added test case for bug #15538: unchecked table absence caused server crash.
      mysql-test/t/select.test:
        Added test case for bug #15538: unchecked table absence caused server crash.
      e2a8eeda
    • unknown's avatar
      Fixed bug #15633: Evaluation of Item_equal for non-const table caused wrong · f107c706
      unknown authored
      select result
      
      Item equal objects are employed only at the optimize phase. Usually they are not
      supposed to be evaluated.  Yet in some cases we call the method val_int() for
      them. Here we have to take care of restricting the predicate such an object
      represents f1=f2= ...=fn to the projection of known fields fi1=...=fik.
      
      Added a check for field's table being const in Item_equal::val_int().
      If the field's table is not const val_int() just skips that field when
      evaluating Item_equal.
      
      
      mysql-test/t/select.test:
        Added test case for bug #15633: Evaluation of Item_equal for non-const table caused wrong select result
      mysql-test/r/select.result:
        Added test case for bug #15633: Evaluation of Item_equal for non-const table caused wrong select result
      mysql-test/r/func_group.result:
        Corrected test result for bug #12882 after fix for bug#15633
      sql/item_cmpfunc.h:
        Fixed bug #15633: Evaluation of Item_equal for non-const table caused wrong select result
        Added comment about fields from non-const tables in class description.
      sql/item_cmpfunc.cc:
        Fixed bug #15633: Evaluation of Item_equal for non-const table caused wrong select result
        Added check for field's table being const in Item_equal::val_int().
      f107c706
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-root · aa3e2d7c
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      sql/item_strfunc.cc:
        Auto merged
      sql/password.c:
        Manual merge
      aa3e2d7c
    • unknown's avatar
      A fix for Bug#13944 "libmysqlclient exporting sha1_result function": · cdd95674
      unknown authored
      rename sha1_* to mysql_sha1_*
      
      
      include/sha1.h:
        rename sha1_* to mysql_sha1_*
      mysys/sha1.c:
        rename sha1_* to mysql_sha1_*
      sql/item_strfunc.cc:
        rename sha1_* to mysql_sha1_*
      sql/password.c:
        rename sha1_* to mysql_sha1_*
      cdd95674
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 227f91a0
      unknown authored
      into  mysql.com:/usr/local/mysql/tmpbuild
      
      227f91a0
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/wl2930_fixup/my50-wl2930_fixup · 537a62e8
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      537a62e8