1. 24 Jan, 2005 3 commits
    • unknown's avatar
      fixed way of forward reference detection to support literal constant (BUG#8025) · 38e664cf
      unknown authored
      
      mysql-test/r/subselect.result:
        Forward reference detection
      mysql-test/t/subselect.test:
        Forward reference detection
      sql/item.cc:
        now forward reference is detected via ref_pointer_array, because some literal constants are 'fixed' just after creation
      sql/sql_base.cc:
        fill ref_pointer_array with zerows for forward reference detection.
      38e664cf
    • unknown's avatar
      check that row elements have the same dimention that SELECT list elements in... · 91827869
      unknown authored
      check that row elements have the same dimention that SELECT list elements in comporison between rows and subqueries added (BUG#8022)
      
      
      mysql-test/r/subselect.result:
        Comparison subquery and row with nested rows
      mysql-test/t/subselect.test:
        Comparison subquery and row with nested rows
      sql/item_subselect.cc:
        check that row elements have the same dimention that SELECT list elements
      91827869
    • unknown's avatar
      fixed column number fetchinmg for subqueries. (BUG#8020) · d514a06a
      unknown authored
      fixed cols() method call (it have to be called only after fix_fields())
      
      
      mysql-test/r/subselect.result:
        Comparison subquery with * and row
      mysql-test/t/subselect.test:
        Comparison subquery with * and row
      sql/item_cmpfunc.h:
        initialization allowed_arg_cols for autodetection
      sql/item_func.cc:
        support of allowed_arg_cols autodetection by first argument
      sql/item_func.h:
        commant
      sql/item_subselect.cc:
        correct column number fetching for subqueries
      sql/sql_lex.h:
        method to check that UNION is prepared
      d514a06a
  2. 23 Jan, 2005 2 commits
  3. 22 Jan, 2005 3 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/dev/mysql-4.0-0 · d3db70de
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      mysql-test/r/select_found.result:
        Auto merged
      mysql-test/t/select_found.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      d3db70de
    • unknown's avatar
      select_found.result, select_found.test: · 25c2d1ad
      unknown authored
        Added a test case for bug #7945.
      sql_select.cc:
        Fixed bug #7945. If DISTINCT is used only with constants
        in a query with GROUP BY, we can apply an optimization
        that set LIMIT to 1 only in the case when there is 
        no SQL_CALC_FOUND_ROWS.
      
      
      sql/sql_select.cc:
        Fixed bug #7945. If DISTINCT is used only with constants
        in a query with GROUP BY, we can apply an optimization
        that set LIMIT to 1 only in the case when there is 
        no SQL_CALC_FOUND_ROWS.
      mysql-test/t/select_found.test:
        Added a test case for bug #7945.
      mysql-test/r/select_found.result:
        Added a test case for bug #7945.
      25c2d1ad
    • unknown's avatar
      fil0fil.c: · c695ccd2
      unknown authored
        Fix a race condition that could cause the assertion space->n_pending_flushes == 0 to fail in fil0fil.c, in fil_space_free(), in DROP TABLE or in ALTER TABLE
      
      
      innobase/fil/fil0fil.c:
        Fix a race condition that could cause the assertion space->n_pending_flushes == 0 to fail in fil0fil.c, in fil_space_free()
      c695ccd2
  4. 21 Jan, 2005 11 commits
  5. 20 Jan, 2005 15 commits
  6. 19 Jan, 2005 6 commits