1. 28 Apr, 2005 1 commit
    • unknown's avatar
      if outer refernce (identifier) was resolved with help of cache all subqueries... · 90eada08
      unknown authored
      if outer refernce (identifier) was resolved with help of cache all subqueries and resolved item itseld have to be correctly marked as dependent
      (BUG#10041)
      
      
      sql/item.cc:
        depended_from shoudl be cleaned
        layout fixed
        function to mark range of SELECTs as dependent (used if item was resolved with PS cache of resolving identifiers)
      sql/item.h:
        function to mark range of SELECTs as dependent (used if item was resolved with PS cache of resolving identifiers)
      sql/item_subselect.h:
        function to mark range of SELECTs as dependent (used if item was resolved with PS cache of resolving identifiers)
      sql/sql_base.cc:
        if outer refernce (identifier) was resolved with help of cache all subqueries and resolved item itseld have to be correctly marked as dependent
      90eada08
  2. 17 Apr, 2005 5 commits
  3. 16 Apr, 2005 19 commits
    • unknown's avatar
      Post-merge fixes · 4a79aeb2
      unknown authored
      
      sql/opt_range.cc:
        Auto merged
      4a79aeb2
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1e52909a
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-look-range
      
      1e52909a
    • unknown's avatar
      Fix for BUG#9348: when computing union of two intervals set lower bound to · 5ae92297
      unknown authored
      minimum of lower bounds of two joined intervals.
      
      
      mysql-test/r/range.result:
        Testcase for BUG#9348
      mysql-test/t/range.test:
        Testcase for BUG#9348
      5ae92297
    • unknown's avatar
      Fix for BUG#9439: · e08b1b4c
      unknown authored
      Changed type of "Sub_part" column in SHOW KEYS from TINYINT to SMALLINT (as MAX_KEY_LENGTH=1024)
      (this is the final cset with proper tests)
      
      
      mysql-test/r/show_check.result:
        Testcase for BUG#9439
      mysql-test/t/show_check.test:
        Testcase for BUG#9439
      sql/sql_show.cc:
        Fix for BUG#9439:
        Changed type of "Sub_part" column in SHOW KEYS from TINYINT to SMALLINT (as MAX_KEY_LENGTH=1024)
      e08b1b4c
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1-bug9188 · 4417d0ed
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-bug9188
      
      
      myisam/myisampack.c:
        Auto merged
      4417d0ed
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1-bug9487 · 9491afd8
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-bug9188
      
      9491afd8
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · f5e94d8d
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-bug9487
      
      f5e94d8d
    • unknown's avatar
      Merge · 8545b3d3
      unknown authored
      
      myisam/mi_search.c:
        Auto merged
      myisam/mi_write.c:
        Auto merged
      mysql-test/r/innodb.result:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/r/myisam.result:
        SCCS merged
      mysql-test/t/myisam.test:
        SCCS merged
      8545b3d3
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · b38c965c
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-bug9188
      
      b38c965c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 5894d1db
      unknown authored
      into mishka.local:/home/my/mysql-5.0
      
      5894d1db
    • unknown's avatar
      Set bindir, datadir & others if --basedir is given. This ensures that one only... · 87fbac42
      unknown authored
      Set bindir, datadir & others if --basedir is given. This ensures that one only has to set basedir in [mysqld] group when moving a binary installation to a not default polace
      Use for now safe_mysqld by default. (unless use-manager is set in the [mysql.server] option in my.cnf)
      Search first for defaults files in basedir and then in datadir (like mysqld_safe)
      
      
      support-files/mysql.server.sh:
        Set bindir, datadir & others if --basedir is given. This ensures that one only has to set basedir in [mysqld] group when moving a binary installation to a not default polace
        Use for now safe_mysqld by default. (unless use-manager is set in the [mysql.server] option in my.cnf)
        Search first for defaults files in basedir and then in datadir (like mysqld_safe)
        I removed the test for localstatedir as default.c doesn't anymore read defaults files from localstatedir
      87fbac42
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · 49acc72f
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      49acc72f
    • unknown's avatar
      Added more rows to test to get predictable results · 5a8996c2
      unknown authored
      
      mysql-test/t/range.test:
        Added more rows to test to get predictable results
        (if it still fails, we need to add even more rows)
      scripts/make_binary_distribution.sh:
        Apply Jims patch for  mysql.server
      support-files/mysql.server.sh:
        Apply Jims patch to support mysqld_safe
      5a8996c2
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 6ef2394f
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      sql/item.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      6ef2394f
    • unknown's avatar
      subselect.result, subselect.test: · 444673bd
      unknown authored
        Added a test case for bug #9516.
      item_subselect.h:
        Fixed bug #9516.
        The bug was due to that fact that the class Item_subselect
        inherited the generic implementation of the function
        not_null_tables that was not valid for the objects
        of this class. As a result evaluation of the
        not_null_tables attribute was not correct for subqueries.
        This caused invalid transformations of outer joins into
        inner joins.
      
      
      sql/item_subselect.h:
        Fixed bug #9516.
        The bug was due to that fact that the class Item_subselect
        inherited the generic implementation of the function
        not_null_tables that was not valid for the objects
        of this class. As a result evaluation of the
        not_null_tables attribute was not correct for subqueries.
        This caused invalid transformations of outer joins into
        inner joins.
      mysql-test/t/subselect.test:
        Added a test case for bug #9516.
      mysql-test/r/subselect.result:
        Added a test case for bug #9516.
      444673bd
    • unknown's avatar
      subselect.result, subselect.test: · 620cf752
      unknown authored
        Added a test case for bug #9338.
      sql_select.cc:
        Fixed bug #9338.
        When an occurence of a field reference has to be replaced
        by another field reference the whole Item_field must be
        replaced.
      item.cc:
        Fixed bug #9338.
        The method Item_field::replace_equal_field_processor was
        replaced by Item_field::replace_equal_field. The new method
        is used to replace the occurences of Item_field objects.
      item.h:
        Fixed bug #9338.
        The virtual function replace_equal_field_processor was replaced
        by replace_equal_field. The latter is supposed to be used as a
        callback function in calls of the method transform.
      
      
      sql/item.h:
        Fixed bug #9338.
        The virtual function replace_equal_field_processor was replaced
        by replace_equal_field. The latter is supposed to be used as a
        callback function in calls of the method transform.
      sql/item.cc:
        The method Item_field::replace_equal_field_processor was
        replaced by Item_field::replace_equal_field The new method
        is used to replace the occurences of Item_field objects.
      sql/sql_select.cc:
        Fixed bug #9338.
        When an occurence of a field reference has to be replaced
        by another field reference the whole Item_field must be
        replaced.
      mysql-test/t/subselect.test:
        Added a test case for bug #9338.
      mysql-test/r/subselect.result:
        Added a test case for bug #9338.
      620cf752
    • unknown's avatar
      Merge with 4.1 · 4b7bfcfd
      unknown authored
      
      scripts/mysql_create_system_tables.sh:
        Auto merged
      scripts/mysql_fix_privilege_tables.sql:
        Auto merged
      sql/set_var.cc:
        Auto merged
      support-files/mysql.server.sh:
        Auto merged
      sql/ha_ndbcluster.cc:
        Merge
      sql/handler.cc:
        Merge
      sql/handler.h:
        Merge
      sql/mysqld.cc:
        Merge
      4b7bfcfd
    • unknown's avatar
      7c495c1a
    • unknown's avatar
      Fixed core dump with long timezone names · 1bde86a0
      unknown authored
      Don't abort on bootstrap if a wrong --default-storage-engine is specified
      
      
      sql/handler.cc:
        Combined code
      sql/mysqld.cc:
        Fixed core dump with long timezone names
        Don't abort on bootstrap if a wrong --default-storage-engine is specified
        Don't print strange messages if one sends 'kill' to a mysqld --bootstrap
      sql/set_var.cc:
        Indentaion change
      1bde86a0
  4. 15 Apr, 2005 15 commits