1. 06 Jun, 2005 28 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 064ff6b4
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      064ff6b4
    • unknown's avatar
      Ensure that we reset auto-increment cache if we have to do an UPDATE becasue of REPLACE · 88e2a779
      unknown authored
      This fixes bug #11080: Multi-row REPLACE fails on a duplicate key error
      
      
      mysql-test/r/auto_increment.result:
        New tests for auto-increment and replace
      mysql-test/r/innodb.result:
        New tests for auto-increment and replace
      mysql-test/t/auto_increment.test:
        New tests for auto-increment and replace
      mysql-test/t/innodb.test:
        New tests for auto-increment and replace
      mysys/my_alloc.c:
        More comments
      88e2a779
    • unknown's avatar
      Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-5.0 · 33438ed0
      unknown authored
      into monster.:D:/Work/mysql5.0
      
      33438ed0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 7824e00d
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      sql/item_func.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      7824e00d
    • unknown's avatar
      fixes for compiler warnings from VC6 · dd00eae5
      unknown authored
      
      client/mysqltest.c:
        undef popen prior to redefining it to avoid compiler warning
        cast len argument to replace_dynstr_append_mem to int.  This should be ok because the 
        replace_dynstr_append method uses strlen to accomplish the same thing.
      myisam/mi_create.c:
        cast myisam_block_size down to uint16 to match the struct element block_length
      mysys/default.c:
        add (char*) cast to make compiler happy
      mysys/my_handler.c:
        add (my_bool) cast to make compiler happy
      dd00eae5
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-5.0 · c9fb4fe5
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      
      sql/sql_select.cc:
        Auto merged
      c9fb4fe5
    • unknown's avatar
      A logger patch for Netware. · 8624fa14
      unknown authored
      8624fa14
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 5296d46f
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      5296d46f
    • unknown's avatar
      A fix for Metrowerks compiler. · 34181337
      unknown authored
      
      netware/BUILD/mwenv:
        A fix for Metrowerks compiler, compiler option to change enum size
        from 2 bytes to 4 bytes.
      34181337
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · c7329936
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      sql/sql_select.cc:
        Auto merged
      c7329936
    • unknown's avatar
      Some fixes for Netware. · f511c20d
      unknown authored
      
      include/my_sys.h:
        Metrowerks compiler has _alloca() nowadays.
        Netware does not have mmap()
      netware/mysql_test_run.c:
        A fix for netware mysql_test_run client.
      f511c20d
    • unknown's avatar
      Some fixes for Netware builds. · ef10fe6d
      unknown authored
      
      
      netware/BUILD/compile-linux-tools:
        A patch for Netware builds. This fixes problem with missing mysql_version.h during Linux
        tools building.
      netware/BUILD/compile-netware-END:
        A fix for Netware builds.
      netware/BUILD/mwenv:
        A fix for Netware builds, environment variables setup script.
      ef10fe6d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · ae96bf1a
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      sql/mysql_priv.h:
        Auto merged
      ae96bf1a
    • unknown's avatar
      Some Windows compile improvements: · 885176d3
      unknown authored
       - removed some unreferenced variables
       - fixed the libmysql project file by removing a duplicate file reference (merge error)
      
      
      sql/item_func.cc:
        - removed unused variable "Field" from Item_func_sp::sp_result_field
      sql/sql_select.cc:
        - removed unreferenced variable "filename" from create_tmp_table
      sql/unireg.cc:
        - removed unused variable "firstpos" from make_empty_rec
      VC++Files/libmysql/libmysql.dsp:
        - after-merge fix: removed duplicate file ctype-cp932.c
      885176d3
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 4039f58c
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      sql/sql_select.cc:
        Auto merged
      4039f58c
    • unknown's avatar
      sp.test, sp.result: · d9cb08b5
      unknown authored
        Added a test case for bug #6866.
      sql_select.cc:
        Fixed bug #6866.
        Bug was due to the fact that on_expr was not backed up
        for the second execution of the stored procedure.
      
      
      sql/sql_select.cc:
        Fixed bug #6866.
        Bug was due to the fact that on_expr was not backed up
        for the second execution of the stored procedure.
      mysql-test/r/sp.result:
        Added a test case for bug #6866.
      mysql-test/t/sp.test:
        Added a test case for bug #6866.
      d9cb08b5
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 617b2e65
      unknown authored
      into mysql.com:/usr/home/bar/mysql-5.0.turk
      
      617b2e65
    • unknown's avatar
      Bug#8610: The ucs2_turkish_ci collation fails with upper('i') · 403a6cf9
      unknown authored
        UPPER/LOWER now can return a string with different length.
      
      mi_test1.c:
        Adding new arguments.
      Many files:
        Changeing caseup/casedn to return a result with different
        length than argument.
      sql_string.h:
        Removing unused method,
      mysql_priv.h:
        Removing unused method
      
      
      strings/ctype-big5.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-bin.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-cp932.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-czech.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-euc_kr.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-extra.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-eucjpms.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-gb2312.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-gbk.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-latin1.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-mb.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-simple.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-sjis.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-tis620.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-uca.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-ucs2.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-ujis.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-utf8.c:
        Changeing caseup/casedn to return a result with different length than argument.
      strings/ctype-win1250ch.c:
        Changeing caseup/casedn to return a result with different length than argument.
      sql/item_strfunc.cc:
        Changeing caseup/casedn to return a result with different length than argument.
      sql/item_strfunc.h:
        Changeing caseup/casedn to return a result with different length than argument.
      sql/mysql_priv.h:
        Removing unused method
      sql/sql_string.h:
        Removing unused method,
      client/sql_string.h:
        Changeing caseup/casedn to return a result with different length than argument.
      include/m_ctype.h:
        Changeing caseup/casedn to return a result with different length than argument.
      myisam/mi_test1.c:
        Adding new arguments.
      mysql-test/r/ctype_uca.result:
        UPPER/LOWER now can return a string with different length.
      mysql-test/t/ctype_uca.test:
        UPPER/LOWER now can return a string with different length.
      403a6cf9
    • unknown's avatar
      Portability fix, mySTL on Sun Forte 5.4. · e9d65468
      unknown authored
      
      extra/yassl/mySTL/memory.hpp:
        Portability fix, mySTL on Sun Forte 5.4: default template arguments that
        are based on previous template argument don't work, just remove
        the fancy syntax (non-default second argument is not used anywhere
        anyway).
      e9d65468
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · ab2090ca
      unknown authored
      into mysql.com:/home/my/mysql-5.0
      
      
      sql/sp_head.cc:
        Auto merged
      sql/sp_rcontext.cc:
        Auto merged
      ab2090ca
    • unknown's avatar
      Fixed wrong key length when using MIN() optimization (non fatal, but caused... · bd9f5a1f
      unknown authored
      Fixed wrong key length when using MIN() optimization (non fatal, but caused InnoDB to write warnings to the log file)
      This fixed bug #11039: InnoDB: Warning: using a partial-field key prefix in search
      
      
      mysql-test/r/innodb.result:
        Added extra test for bug #11039: InnoDB: Warning: using a partial-field key prefix in search
      mysql-test/t/innodb.test:
        Added extra test for bug #11039: InnoDB: Warning: using a partial-field key prefix in search
      sql/opt_sum.cc:
        Fixed wrong key length when using MIN() optimization
      bd9f5a1f
    • unknown's avatar
      Futher fixes for aCC. · 71dde11c
      unknown authored
      
      extra/yassl/src/handshake.cpp:
        Further fixes for aCC: rewrite c-tor invocation to not require any
        optimization from the compiler.
      71dde11c
    • unknown's avatar
      Futher yaSSL portability fixes: hp3750 (HP aCC + HPUX). · 5f1f9fcf
      unknown authored
      
      extra/yassl/taocrypt/src/misc.cpp:
        Futher yaSSL portability fixes: hp3750 (HP aCC + HPUX):
        we can remove these 2 ifdefed statements, as new handlers are not used
        anymore (yaSSL new doesn't throw exceptions and does not
        calls/resets new handlers as prescribed in the standard), but let's
        leave it to Todd, now just #ifdef the problematic code.
      5f1f9fcf
    • unknown's avatar
      08546fa2
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · c8b6dc37
      unknown authored
      into mysql.com:/usr/home/ram/work/5.0.b10539
      
      c8b6dc37
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7467b6b4
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      7467b6b4
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 391123b0
      unknown authored
      into mysql.com:/usr/home/ram/work/5.0.b10539
      
      
      sql/field.cc:
        Auto merged
      391123b0
    • unknown's avatar
      Merge · 73ad8c29
      unknown authored
      
      sql/item_timefunc.cc:
        Auto merged
      mysql-test/r/func_time.result:
        SCCS merged
      mysql-test/t/func_time.test:
        SCCS merged
      73ad8c29
  2. 05 Jun, 2005 4 commits
    • unknown's avatar
      3a435103
    • unknown's avatar
      sp_rcontext.cc, sp_pcontext.cc, sp_head.cc, sp_cache.cc, ha_federated.cc: · 8b0030db
      unknown authored
        Include "mysql_priv.h" before testing USE_PRAGMA_IMPLEMENTATION
      
      
      sql/ha_federated.cc:
        Include "mysql_priv.h" before testing USE_PRAGMA_IMPLEMENTATION
      sql/sp_cache.cc:
        Include "mysql_priv.h" before testing USE_PRAGMA_IMPLEMENTATION
      sql/sp_head.cc:
        Include "mysql_priv.h" before testing USE_PRAGMA_IMPLEMENTATION
      sql/sp_pcontext.cc:
        Include "mysql_priv.h" before testing USE_PRAGMA_IMPLEMENTATION
      sql/sp_rcontext.cc:
        Include "mysql_priv.h" before testing USE_PRAGMA_IMPLEMENTATION
      8b0030db
    • unknown's avatar
      merge · a3873bbb
      unknown authored
      
      client/mysql.cc:
        Auto merged
      libmysql/libmysql.c:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_bitmap.h:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      a3873bbb
    • unknown's avatar
      Cleanup during review · 72ad8b15
      unknown authored
      Simple optimization for 2 argument usage to function of variable arguments
      Fix stack overrun when using 1+1+1+1+1+1+1+....
      Update crash-me results for 5.0
      Don't call post_open if pre_open() fails (optimization)
      
      
      
      sql-bench/limits/mysql-4.1.cfg:
        Rename: sql-bench/limits/mysql.cfg -> sql-bench/limits/mysql-4.1.cfg
      libmysql/libmysql.c:
        More portable define
      mysql-test/mysql-test-run.sh:
        Write also InnoDB warnings to warnings.log
      mysql-test/t/type_newdecimal.test:
        Don't get errors if innodb is not defined
      mysys/my_alloc.c:
        Cleanup comments
      mysys/thr_lock.c:
        Cleanup comments
      sql/item.h:
        Remove not needed initializer
      sql/item_func.cc:
        Simple optimization for 2 argument usage to function of variable arguments
      sql/mysql_priv.h:
        We use more stackspace with the introduction of int_op() etc.
        This change ensures we don't run out of stack when doing 1+1+1+1...
        (Tested on x86, 32 bit)
      sql/sp_head.cc:
        Don't call post_open if pre_open() fails
      sql/sp_rcontext.cc:
        More comments
        Change so that post_open() doesn't have to be called if pre_open() fails
      sql/sql_parse.cc:
        Fold long lines
      sql/sql_select.cc:
        Simple reorganization to reduce number of if's
        Ensure that table_map is updated for where clause (fixed warning from valgrind)
      72ad8b15
  3. 04 Jun, 2005 3 commits
  4. 03 Jun, 2005 5 commits