1. 23 May, 2005 1 commit
    • unknown's avatar
      BUG# 10687: MERGE Engine fails on Windows · 5d46490f
      unknown authored
      This is a replacement for the original patch given by Ingo.  This one comes
      from Monty.
      The problem is that merge files now use unix style pathnames on all 
      platforms.  The merge file open code was not properly converting those
      pathnames back to non-unix when necessary.
      
      
      myisammrg/myrg_open.c:
        use fn_format to convert pathnames if the files in the merge file have a pathname
      mysys/my_getwd.c:
        add a test for '/' in the code that determines if a string inlucdes a pathname
      5d46490f
  2. 19 May, 2005 6 commits
  3. 18 May, 2005 20 commits
    • unknown's avatar
      merged · 32c5a3fc
      unknown authored
      
      sql/unireg.cc:
        Auto merged
      32c5a3fc
    • unknown's avatar
      Merge book.sanja.is.com.ua:/Users/bell/mysql/bk/mysql-4.1 · b5ca7a75
      unknown authored
      into book.sanja.is.com.ua:/Users/bell/mysql/bk/work-4.1
      
      b5ca7a75
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 75cd72f7
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      75cd72f7
    • unknown's avatar
      udf: when banning paths from soname in CREATE FUNCTION, check for \ on windows. · 644fcab9
      unknown authored
      when reporting an error, use an appropriate buffer for udf->name
      
      644fcab9
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 79ac77e4
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      79ac77e4
    • unknown's avatar
      Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE · 6f0ea859
      unknown authored
      After review version.
      Added a condition for MERGE tables. These do not have unique
      indexes. But every key could be a unique key on the underlying
      MyISAM table. So get the maximum key length for MERGE tables
      instead of the maximum unique key length. This is used for
      buffer allocation in write_record().
      
      
      mysql-test/r/merge.result:
        Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE
        The test result.
      mysql-test/t/merge.test:
        Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE
        The test case does not in all cases show the problem
        without the bugfix. The improper memory allocation
        might get through undetected in many cases.
      sql/ha_myisammrg.h:
        Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE
        Set a table_flag for the MERGE engine telling that any index
        might be unique without being specified as such.
      sql/handler.h:
        Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE
        Added a new table_flag telling that any index
        might be unique without being specified as such.
      sql/sql_insert.cc:
        Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE
        Changed the freeing of the memory to be symmetric to its
        allocation (my_safe_alloc -> my_safe_afree).
        This is not directly related to the bug.
      sql/table.cc:
        Bug#10400 - Improperly-defined MERGE table crashes with INSERT ... ON DUPLICATE KEY UPDATE
        Added a condition for MERGE tables. These do not have unique
        indexes. But every key could be a unique key on the underlying
        MyISAM table. So get the maximum key length for MERGE tables
        instead of the maximum unique key length. This is used for
        buffer allocation in write_record().
      6f0ea859
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · 4ac1a1ce
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      4ac1a1ce
    • unknown's avatar
      Update mysqldump test and results · 99df20b9
      unknown authored
      
      mysql-test/r/mysqldump.result:
        Update results
      mysql-test/t/mysqldump.test:
        Fix test to not include version number in results
      99df20b9
    • unknown's avatar
      Resolve bugfix merge · 3ed3377f
      unknown authored
      
      client/mysqldump.c:
        Merge bug fix
      mysql-test/r/mysqldump.result:
        Update results
      mysql-test/t/mysqldump.test:
        Merge bug fix
      3ed3377f
    • unknown's avatar
      Small optimization to bug fix, from Monty. · 7ee677bf
      unknown authored
      
      client/mysqldump.c:
        Optimize away a call to strend() by using return value of my_snprintf()
      7ee677bf
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · b5cd90dd
      unknown authored
      into mysql.com:/space/pekka/ndb/version/my41
      
      b5cd90dd
    • unknown's avatar
      ndb - allow upgrade 4.1.10->4.1.12 · 5cc9e4be
      unknown authored
      
      ndb/src/common/util/version.c:
        allow upgrade 4.1.10->4.1.12
      5cc9e4be
    • unknown's avatar
      Merge book.sanja.is.com.ua:/Users/bell/mysql/bk/mysql-4.1 · 2f71d1d9
      unknown authored
      into book.sanja.is.com.ua:/Users/bell/mysql/bk/work-4.1
      
      2f71d1d9
    • unknown's avatar
      reduced 1 server reloding during test · 67f08b12
      unknown authored
      
      BitKeeper/deleted/.del-grant_cache-master.opt~1b04b4b1116a7a2:
        Delete: mysql-test/t/grant_cache-master.opt
      mysql-test/r/grant_cache.result:
        query cache management moved inside test
      mysql-test/t/grant_cache.test:
        query cache management moved inside test to privent server reloading during test
      67f08b12
    • unknown's avatar
      olap.result, olap.test: · 19738af4
      unknown authored
        Added test cases for bug #7914.
      sql_select.cc:
        Fixed bug #7914: rollup over expresssions such as sum(a)+1.
      
      
      sql/sql_select.cc:
        Fixed bug #7914: rollup over expresssions such as sum(a)+1.
      mysql-test/t/olap.test:
        Added test cases for bug #7914.
      mysql-test/r/olap.result:
        Added test cases for bug #7914.
      19738af4
    • unknown's avatar
      sql_yacc.yy: · ed35fb0a
      unknown authored
        Added missing ';'.
      
      
      sql/sql_yacc.yy:
        Added missing ';'.
      ed35fb0a
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · e37f0338
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      mysql-test/t/range.test:
        Auto merged
      e37f0338
    • unknown's avatar
      test fixes · f03b27a9
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        always use --no-defaults
      mysql-test/t/range.test:
        range.test does not requires innodb
      f03b27a9
    • unknown's avatar
      ndberror.c: · eb77abdb
      unknown authored
        updated error message for ndb
      
      
      ndb/src/ndbapi/ndberror.c:
        updated error message for ndb
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      eb77abdb
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · 6452ac6d
      unknown authored
      into mysql.com:/data0/mysqldev/my/mysql-4.1-build
      
      
      configure.in:
        Auto merged
      mysql-test/t/range.test:
        Auto merged
      sql/item_strfunc.h:
        Auto merged
      6452ac6d
  4. 17 May, 2005 1 commit
  5. 16 May, 2005 6 commits
  6. 15 May, 2005 6 commits
    • unknown's avatar
      mysqltest.c: · 154862a9
      unknown authored
        To solve bug#8455, call mysql_affected_rows() earlier, before query to find warnings
      
      
      client/mysqltest.c:
        To solve bug#8455, call mysql_affected_rows() earlier, before query to find warnings
      154862a9
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.0 · bb386aaa
      unknown authored
      into mysql.com:/home/psergey/mysql-4.0-bug10095
      
      bb386aaa
    • unknown's avatar
      Fix for BUG#10095: {wrong query results because of incorrect constant propagation} · 53d55034
      unknown authored
      The problem: base_list::remove didn't modify base_list::last when removing 
      the last list element.
      The fix: If we remove the last element, find the element before it (by walking
      from the beginning of the list) and set base_list::last accordingly.
      
      The list gets corrupted in both 4.0 and 4.1. There are no visible problems in 
      current 4.1 because current 4.1 doesn't call where_cond->fix_fields() after 
      constant propagation step.
      
      
      mysql-test/r/select.result:
        Testcase for BUG#10095
      mysql-test/t/select.test:
        Testcase for BUG#10095
      sql/sql_list.h:
        Fix for BUG#10095: {wrong query results because of incorrect constant propagation} 
        The problem: base_list::remove didn't modify base_list::last when removing 
        the last list element.
        The fix: If we remove the last element, find the element before it (by walking
        from the beginning of the list) and set base_list::last accordingly.
      53d55034
    • unknown's avatar
      mysqltest.c: · 86d36569
      unknown authored
        To solve bug#6193, also reset require when using 'eval' for running query
      mysql-test-run.pl:
        In cleanup, remove possible soft link to var directory
      
      
      mysql-test/mysql-test-run.pl:
        In cleanup, remove possible soft link to var directory
      client/mysqltest.c:
        To solve bug#6193, also reset require when using 'eval' for running query
      86d36569
    • unknown's avatar
      mtr_report.pl, mtr_process.pl, mysql-test-run.pl: · f9628329
      unknown authored
        Added option --vardir=<directory> for feature bug#10096
      
      
      mysql-test/mysql-test-run.pl:
        Added option --vardir=<directory> for feature bug#10096
      mysql-test/lib/mtr_process.pl:
        Added option --vardir=<directory> for feature bug#10096
      mysql-test/lib/mtr_report.pl:
        Added option --vardir=<directory> for feature bug#10096
      f9628329
    • unknown's avatar
      mysql-test-run.pl: · eb25cc4a
      unknown authored
        Not to conflict with Windows return code 2 for "not found", use 62 for "skip"
      init_db.sql:
        Initial db updates
      
      
      mysql-test/lib/init_db.sql:
        Initial db updates
      mysql-test/mysql-test-run.pl:
        Not to conflict with Windows return code 2 for "not found", use 62 for "skip"
      eb25cc4a