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 · 3bf3bb20
      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
      3bf3bb20
    • unknown's avatar
      Fix for bug #12198 "Temporary table aliasing does not work inside stored · c12a3dfe
      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.
      c12a3dfe
    • unknown's avatar
      Fixed a bug in merge. · 0f4962c3
      unknown authored
      0f4962c3
    • unknown's avatar
      Fix for Netware build. · 5c28e9c8
      unknown authored
      5c28e9c8
    • unknown's avatar
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1 · a48380cd
      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.
      a48380cd
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 26252fa2
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      26252fa2
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/wl2930_fixup/my50-wl2930_fixup · 9e49c77c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      9e49c77c
    • unknown's avatar
      7b77b4c7
    • unknown's avatar
      Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.0 · 1665d237
      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
      1665d237
    • unknown's avatar
      NetWare specific change to increase thread stack size. · 2946f9a6
      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.
      2946f9a6
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 0fa2fdb9
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      
      0fa2fdb9
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 35d46cee
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      35d46cee
    • unknown's avatar
      sql_show.cc: · 46fdcba4
      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
        ,
      46fdcba4
    • unknown's avatar
      ctype_utf8.result: · cd1f75e9
      unknown authored
        After merge fix:
        fixing order of results.
      
      
      mysql-test/r/ctype_utf8.result:
        After merge fix:
        fixing order of results.
      cd1f75e9
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 29505f38
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug16166-r2
      
      
      29505f38
    • unknown's avatar
      Fix typo bug in previous cset · 9878a35a
      unknown authored
      9878a35a
    • unknown's avatar
      BUG#16166, "Can't use index_merge with FORCE INDEX": adjust the heurstics check to take into · 8d9ffc6a
      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)
        {
          ...
      8d9ffc6a
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1.b15581 · b49ea12f
      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.
      b49ea12f
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · f00e5b36
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b15581
      
      
      f00e5b36
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 4eb2b162
      unknown authored
      into  mysql.com:/home/alik/MySQL/devel/5.0-bug15103
      
      
      4eb2b162
    • unknown's avatar
      Fix for BUG#15103: SHOW TRIGGERS: small output alignment problem. · f315b0b8
      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.
      f315b0b8
  3. 11 Jan, 2006 8 commits
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7c215273
      unknown authored
      into  linux.site:/home/reggie/work/mysql-5.0
      
      
      7c215273
    • unknown's avatar
      simple Windows compile fixes. · 65bffb0f
      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.
      65bffb0f
    • unknown's avatar
      Fixed bug #15538: unchecked table absence caused server crash. · 4e2e0c6d
      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.
      4e2e0c6d
    • unknown's avatar
      Fixed bug #15633: Evaluation of Item_equal for non-const table caused wrong · 593bed0d
      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().
      593bed0d
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-root · c6993d67
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-root
      
      
      sql/item_strfunc.cc:
        Auto merged
      sql/password.c:
        Manual merge
      c6993d67
    • unknown's avatar
      A fix for Bug#13944 "libmysqlclient exporting sha1_result function": · 31ff9e9a
      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_*
      31ff9e9a
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · aa6d8dcc
      unknown authored
      into  mysql.com:/usr/local/mysql/tmpbuild
      
      
      aa6d8dcc
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/wl2930_fixup/my50-wl2930_fixup · cea02f8c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      cea02f8c