1. 12 Jan, 2007 1 commit
    • unknown's avatar
      bug #24186 (nested query across partitions returns fewer records) · 94046b73
      unknown authored
      Subselect's engine checks table->status field to determine if the
      record was properly found when we use keyread upon the table.
      Partition engine checks all the partitions for given key
      before return. So if matching record was found in the first
      partition and no matching records were found in the second, 
      we have table->status == NOT_FOUND after the function, what
      makes subselects to skip matching records.
      The patch adds table->status= 0 if we actually found something.
      
      
      mysql-test/r/partition.result:
        result fixed
      mysql-test/t/partition.test:
        testcase
      sql/ha_partition.cc:
        table->status set to 0 if we found something in previous partitions
      94046b73
  2. 10 Jan, 2007 3 commits
  3. 09 Jan, 2007 2 commits
  4. 08 Jan, 2007 2 commits
    • unknown's avatar
      mi_check.c: · 7990ec32
      unknown authored
        added a missing DBUG_RETURN
      
      
      storage/myisam/mi_check.c:
        added a missing DBUG_RETURN
      7990ec32
    • unknown's avatar
      Merge macbook.local:/Users/kgeorge/mysql/work/mysql-5.0-opt · cea66abf
      unknown authored
      into  macbook.local:/Users/kgeorge/mysql/work/merge-5.1-opt
      
      
      mysql-test/r/distinct.result:
        Auto merged
      mysql-test/r/gis-rtree.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/udf.result:
        Auto merged
      mysql-test/t/gis-rtree.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      mysql-test/t/udf.test:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      storage/myisam/mi_check.c:
        Auto merged
      sql/sql_udf.cc:
        SCCS merged
      cea66abf
  5. 06 Jan, 2007 2 commits
  6. 05 Jan, 2007 1 commit
    • unknown's avatar
      Bug #15881: cast problems · 42e31f7a
      unknown authored
        The optimizer removes expressions from GROUP BY/DISTINCT
        if they happen to participate in a <expression> = <const>
        predicates of the WHERE clause (the idea being that if
        it's always equal to a constant it can't have multiple 
        values).
        However for predicates where the expression and the 
        constant item are of different result type this is not
        valid (e.g. a string column compared to 0).
        Fixed by additional check of the result types of the 
        expression and the constant and if they differ the 
        expression don't get removed from the group by list.
      
      
      mysql-test/r/distinct.result:
        Bug #15881: cast problems
          - test case
      mysql-test/t/distinct.test:
        Bug #15881: cast problems
          - test case
      sql/sql_select.cc:
        Bug #15881: cast problems
          - can't use <expr>=<const> to remove GROUP BY/DISTINCT cols
            if they're not of the same type.
      42e31f7a
  7. 04 Jan, 2007 4 commits
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch · c56c14f5
      unknown authored
      into  zim.(none):/home/brian/mysql/merge-5.1
      
      
      c56c14f5
    • unknown's avatar
      The CSV format has always relied on numbers being quoted, which doesn't always... · 8bd11441
      unknown authored
      The CSV format has always relied on numbers being quoted, which doesn't always happen. This fixes that so that numbers can now be unquoted (and the output does this as well so that the log takes up less space). 
      
      
      mysql-test/r/csv.result:
        Fixed test case for format change. Added new test for floating point numbers.
      mysql-test/t/csv.test:
        Fixed test for format change. Added test case for floating point numbers.
      storage/csv/ha_tina.cc:
        Updated code to handle numbers as raw unquotes types in CSV
      8bd11441
    • unknown's avatar
      Merge bk-internal.mysql.com:/data0/bk/mysql-5.1 · 967b38a4
      unknown authored
      into  bk-internal.mysql.com:/data0/bk/mysql-5.1-arch
      
      
      storage/csv/CMakeLists.txt:
        Auto merged
      storage/csv/Makefile.am:
        Auto merged
      967b38a4
    • unknown's avatar
      Split out the hidden class from the ha_tina file (probably should have just... · 20f0c7a6
      unknown authored
      Split out the hidden class from the ha_tina file (probably should have just deleted it...) but this is a bit better. 
      
      
      storage/csv/transparent_file.cc:
        BitKeeper file /home/brian/mysql/merge-5.1/storage/csv/transparent_file.cc
      storage/csv/transparent_file.h:
        BitKeeper file /home/brian/mysql/merge-5.1/storage/csv/transparent_file.h
      storage/csv/CMakeLists.txt:
        Updated for windows
      storage/csv/Makefile.am:
        Updated to add new class
      storage/csv/ha_tina.cc:
        Removed hidden class
      storage/csv/ha_tina.h:
        Remove hidden class
      20f0c7a6
  8. 03 Jan, 2007 3 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-opt · 5df7d39e
      unknown authored
      into  rakia.gmz:/home/kgeorge/mysql/work/B15439-5.0-opt
      
      
      sql/sql_udf.cc:
        Auto merged
      5df7d39e
    • unknown's avatar
      sql_udf.cc: · ea5557aa
      unknown authored
        Addendum to the fix for bug#15439 : valgrind pb failed
      
      
      sql/sql_udf.cc:
        Addendum to the fix for bug#15439 : valgrind pb failed
      ea5557aa
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · 6a4fbf09
      unknown authored
      into  mysql.com:/d2/hf/opt/my50-opt
      
      
      myisam/mi_check.c:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/item_subselect.h:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_udf.cc:
        Auto merged
      6a4fbf09
  9. 02 Jan, 2007 19 commits
  10. 31 Dec, 2006 3 commits
    • unknown's avatar
      Merge mysql.com:/d2/hf/clean/my51-clean · cbff25d0
      unknown authored
      into  mysql.com:/d2/hf/common/my51-common
      
      
      libmysqld/Makefile.am:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      BitKeeper/deleted/.del-ps_not_windows.test:
        Auto merged
      storage/myisam/ha_myisam.cc:
        Auto merged
      cbff25d0
    • unknown's avatar
      Merge mysql.com:/d2/hf/clean/my50-clean · 84d0cda4
      unknown authored
      into  mysql.com:/d2/hf/common/my50-common
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      84d0cda4
    • unknown's avatar
      Merge mysql.com:/d2/hf/clean/my41-clean · 62576974
      unknown authored
      into  mysql.com:/d2/hf/common/my41-common
      
      
      sql/item_func.cc:
        Auto merged
      62576974