1. 08 Aug, 2005 1 commit
    • unknown's avatar
      A fix and a test case for Bug#11909 "mysql_stmt_attr_set · 76a280f1
      unknown authored
      CURSOR_TYPE_READ_ONLY nested queries corrupt result"
      
      
      sql/sql_prepare.cc:
        If there is a cursor, use its protocol for fetch: 
        Protocol instances have a state and thd->protocol_prep can't
        be used for multiple cursors.
      sql/sql_select.cc:
        - init Cursor::protocol
      sql/sql_select.h:
        - add Cursor::protocol
      tests/mysql_client_test.c:
        A test case for Bug#11909 "mysql_stmt_attr_set CURSOR_TYPE_READ_ONLY
         nested queries corrupt result"
      76a280f1
  2. 07 Aug, 2005 16 commits
    • unknown's avatar
      Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-5.0 · cfb8abd6
      unknown authored
      into rurik.mysql.com:/home/igor/mysql-5.0
      
      
      cfb8abd6
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1-4100 · 9de04d2e
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-5000
      
      
      mysql-test/r/flush.result:
        Auto merged
      mysql-test/t/flush.test:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      9de04d2e
    • unknown's avatar
      subselect.result: · a217d5c5
      unknown authored
        Correction after manual merge.
      
      
      mysql-test/r/subselect.result:
        Correction after manual merge.
      a217d5c5
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 84051f2a
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-5000
      
      
      84051f2a
    • unknown's avatar
      Manual merge · 89e421cd
      unknown authored
      89e421cd
    • unknown's avatar
      Post-merge fixes · 44b76f17
      unknown authored
      44b76f17
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7ca7da41
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug11869-part3
      
      
      BitKeeper/deleted/.del-not_windows.inc:
        Auto merged
      mysql-test/r/create.result:
        Auto merged
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/r/type_datetime.result:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      mysql-test/t/rpl_flush_tables.test:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      7ca7da41
    • unknown's avatar
      Manual merge · f34d542c
      unknown authored
      
      BitKeeper/deleted/.del-not_windows.inc:
        Delete: mysql-test/include/not_windows.inc
      mysql-test/r/fulltext_order_by.result:
        Auto merged
      mysql-test/r/type_datetime.result:
        Auto merged
      mysql-test/t/fulltext_order_by.test:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      mysql-test/t/rpl_flush_tables.test:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/item_timefunc.h:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      f34d542c
    • unknown's avatar
      BUG#11869:part 2: post-review fixes: merging into 5.0 · d7086c4a
      unknown authored
      We're out of bits in st_select_lex->options so make TMP_TABLE_FORCE_MYISAM ==
      OPTION_FOUND_COMMENT (the latter is not used by create_tmp_table).
      
      
      mysql-test/r/create.result:
        Updated the test result
      mysql-test/r/fulltext_order_by.result:
        Drop all tables this test uses
      mysql-test/t/fulltext_order_by.test:
        Drop all tables this test uses
      d7086c4a
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 25201f23
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-4100
      
      
      25201f23
    • unknown's avatar
      subselect.result: · 84d34d9d
      unknown authored
        Added test case for bug #11867.
        Fixed results for two existing test cases.
      subselect.test:
        Added test case for bug #11867.
      item_subselect.cc:
        Fixed bug #11867.
        Added missing code in Item_in_subselect::row_value_transformer
        that caused problems for queries with
        ROW(elems) IN (SELECT DISTINCT cols FROM ...).
      
      
      sql/item_subselect.cc:
        Fixed bug #11867.
        Added missing code in Item_in_subselect::row_value_transformer
        that caused problems for queries with
        ROW(elems) IN (SELECT DISTINCT cols FROM ...).
      mysql-test/t/subselect.test:
        Added test case for bug #11867.
      mysql-test/r/subselect.result:
        Added test case for bug #11867.
        Fixed results for two existing test cases.
      84d34d9d
    • unknown's avatar
      BUG#11869: part2: post-review fixes: · b9e04cf1
      unknown authored
      In init_prepare_fake_select_lex() don't empty ftfunc_list. UNION's ORDER BY clause may 
      contain MATCH(...), for which fix_index() should be called.
      
      
      mysql-test/r/fulltext_order_by.result:
        BUG#11869 part2 : added another test case
      mysql-test/t/fulltext_order_by.test:
        BUG#11869 part2 : added another test case
      b9e04cf1
    • unknown's avatar
      Bug#10473 - Can't set 'key_buffer_size' system variable to ZERO · 9e5c20f3
      unknown authored
      Give the user a warning if he tries to destroy the default key cache.
      
      
      mysql-test/r/key_cache.result:
        Bug#10473 - Can't set 'key_buffer_size' system variable to ZERO
        The test result.
      mysql-test/t/key_cache.test:
        Bug#10473 - Can't set 'key_buffer_size' system variable to ZERO
        The test case.
      sql/share/errmsg.txt:
        Bug#10473 - Can't set 'key_buffer_size' system variable to ZERO
        The new message string.
      9e5c20f3
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 1ab80cf4
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-4100
      
      
      1ab80cf4
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1b431c42
      unknown authored
      into mysql.com:/home/psergey/mysql-4.1-bug11869-part2
      
      
      1b431c42
    • unknown's avatar
      Manual merge · f3ce475d
      unknown authored
      
      mysql-test/t/fulltext_order_by.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      f3ce475d
  3. 06 Aug, 2005 4 commits
    • unknown's avatar
      BUG#11869 (cont'd, eliminating "table type doesn't support FULLTEXT" error): · 852dcb75
      unknown authored
      When creating temporary table for UNION, pass TMP_TABLE_FORCE_MYISAM flag to 
      create_tmp_table if we will be using fulltext function(s) when reading from the 
      temp. table.
      
      
      mysql-test/r/fulltext_order_by.result:
        Testcase for BUG#11869 (cont'd, eliminating "table type doesn't support FULLTEXT" error)
      mysql-test/t/fulltext_order_by.test:
        Testcase for BUG#11869 (cont'd, eliminating "table type doesn't support FULLTEXT" error)
      sql/mysql_priv.h:
        BUG#11869 (cont'd, eliminating "table type doesn't support FULLTEXT" error):
        Added TMP_TABLE_FORCE_MYISAM flag
      sql/sql_select.cc:
        BUG#11869 (cont'd, eliminating "table type doesn't support FULLTEXT" error):
        In create_tmp_table(), honor the TMP_TABLE_FORCE_MYISAM flag
      852dcb75
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release · 9cd28273
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      9cd28273
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-release · 88b0061e
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
      
      
      88b0061e
    • unknown's avatar
      make_win_src_distribution.sh: · b97c77a0
      unknown authored
        Added missing backslashes
      
      
      scripts/make_win_src_distribution.sh:
        Added missing backslashes
      b97c77a0
  4. 05 Aug, 2005 19 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 7b969ddd
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      7b969ddd
    • unknown's avatar
      mysql_priv.h: · 4811f7bd
      unknown authored
        Fixed bug #12154: a query returned: Column <name> cannot be null.
        The problem was due to a bug in the function setup_table_map:
        the flag maybe_null was set up incorrectly for inner tables of
        nested outer joins.
      join_nested.result, join_nested.test:
        Added a test case for bug #12154.
      
      
      mysql-test/t/join_nested.test:
        Added a test case for bug #12154.
      mysql-test/r/join_nested.result:
        Added a test case for bug #12154.
      sql/mysql_priv.h:
        Fixed bug #12154: a query returned: Column <name> cannot be null.
        The problem was due to a bug in the function setup_table_map:
        the flag maybe_null was set up incorrectly for inner tables of
        nested outer joins.
      4811f7bd
    • unknown's avatar
    • unknown's avatar
      76c06ceb
    • unknown's avatar
      Merge mysqldev@production.mysql.com:/data0/mysqldev/my/mysql-5.0-release · 5615eae1
      unknown authored
      into mysql.com:/M50/clone-5.0
      
      
      5615eae1
    • unknown's avatar
      New "Instance Manager" code: · ba6c1738
      unknown authored
      Rename "port.h" to "portability.h" to avoid conflict with system header file name,
      and include the file in "Makefile.am".
      
      
      server-tools/instance-manager/Makefile.am:
        Ensure that the (recently added) header "portability.h" (renamed from "port.h") gets included in the source packages.
      server-tools/instance-manager/guardian.cc:
        Rename "port.h" to "portability.h" to avoid conflict with system header file name.
      server-tools/instance-manager/instance.cc:
        Rename "port.h" to "portability.h" to avoid conflict with system header file name.
      server-tools/instance-manager/instance_options.h:
        Rename "port.h" to "portability.h" to avoid conflict with system header file name.
      server-tools/instance-manager/listener.cc:
        Rename "port.h" to "portability.h" to avoid conflict with system header file name.
      server-tools/instance-manager/log.cc:
        Rename "port.h" to "portability.h" to avoid conflict with system header file name.
      server-tools/instance-manager/mysqlmanager.vcproj:
        Rename "port.h" to "portability.h" to avoid conflict with system header file name.
      server-tools/instance-manager/options.cc:
        Rename "port.h" to "portability.h" to avoid conflict with system header file name.
      server-tools/instance-manager/parse_output.cc:
        Rename "port.h" to "portability.h" to avoid conflict with system header file name.
      server-tools/instance-manager/portability.h:
        Adapt the protective CPP symbol to the changed file name.
      server-tools/instance-manager/priv.cc:
        Rename "port.h" to "portability.h" to avoid conflict with system header file name.
      server-tools/instance-manager/priv.h:
        Rename "port.h" to "portability.h" to avoid conflict with system header file name.
      ba6c1738
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-release · 4c9ace7e
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
      
      
      client/client_priv.h:
        Auto merged
      4c9ace7e
    • unknown's avatar
      client_priv.h: · cdb240ca
      unknown authored
        Removed ending comma in enum
      Makefile.am:
        config.cpp => ndb_config.cpp, solves link problems on case insensitive OS
      ndb_config.cpp:
        Rename: ndb/tools/config.cpp -> ndb/tools/ndb_config.cpp
      
      
      ndb/tools/ndb_config.cpp:
        Rename: ndb/tools/config.cpp -> ndb/tools/ndb_config.cpp
      ndb/tools/Makefile.am:
        config.cpp => ndb_config.cpp, solves link problems on case insensitive OS
      client/client_priv.h:
        Removed ending comma in enum
      cdb240ca
    • unknown's avatar
      testcase added to fix for bug #12281 (Geometry & trigger crash) · e13fa8eb
      unknown authored
      
      mysql-test/r/gis.result:
        test result fixed
      mysql-test/t/gis.test:
        testcase added
      e13fa8eb
    • unknown's avatar
      Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 61fbf036
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.12281
      
      
      61fbf036
    • unknown's avatar
      Fix for bug #12281 (Geometry: crash in trigger) · be1640e2
      unknown authored
      Field_geom lack size_of method
      
      
      sql/field.h:
        size_of implemented
      be1640e2
    • unknown's avatar
    • unknown's avatar
      post-review fix · 719117b3
      unknown authored
      
      server-tools/instance-manager/listener.cc:
        some more cleanup
      719117b3
    • unknown's avatar
      Bug#9459 - deadlock with flush with lock, and lock table write · 2977a3a4
      unknown authored
      Added a check before taking a global read lock if
      the own thread has a write locked table.
      
      
      mysql-test/r/flush.result:
        Bug#9459 - deadlock with flush with lock, and lock table write
        The test result.
      mysql-test/t/flush.test:
        Bug#9459 - deadlock with flush with lock, and lock table write
        The test case.
      2977a3a4
    • unknown's avatar
      chmod -x new IM files · 69220b00
      unknown authored
      
      server-tools/instance-manager/WindowsService.cpp:
        Change mode to -rw-rw-r--
      server-tools/instance-manager/WindowsService.h:
        Change mode to -rw-rw-r--
      server-tools/instance-manager/port.h:
        Change mode to -rw-rw-r--
      server-tools/instance-manager/mysqlmanager.vcproj:
        Change mode to -rw-rw-r--
      server-tools/instance-manager/IMService.cpp:
        Change mode to -rw-rw-r--
      server-tools/instance-manager/IMService.h:
        Change mode to -rw-rw-r--
      69220b00
    • unknown's avatar
      IM port cleanup · cd3fa684
      unknown authored
      
      server-tools/instance-manager/IMService.cpp:
        coding style fixes: tabs, trailing spaces, offset e.t.c
      server-tools/instance-manager/WindowsService.cpp:
        coding style fixes: tabs, trailing spaces, offset e.t.c
      server-tools/instance-manager/WindowsService.h:
        coding style fixes: tabs, trailing spaces, offset e.t.c
      server-tools/instance-manager/instance.cc:
        cleanup & coding style fixes: tabs, trailing spaces, offset e.t.c
      server-tools/instance-manager/listener.cc:
        coding style fixes: tabs, trailing spaces, offset e.t.c
      server-tools/instance-manager/manager.cc:
        coding style fixes: tabs, trailing spaces, offset e.t.c
      server-tools/instance-manager/options.cc:
        coding style fixes: tabs, trailing spaces, offset e.t.c
      server-tools/instance-manager/user_map.cc:
        simplify password file processing
      cd3fa684
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0 · d976f87f
      unknown authored
      into  mysql.com:/home/cps/mysql/trees/mysql-5.0
      
      
      d976f87f
    • unknown's avatar
      IM port fixes: fix crash on startup, add more error checking, get rid of unnecessary code. · 85834c3b
      unknown authored
      
      server-tools/instance-manager/commands.cc:
        fix memory leak
      server-tools/instance-manager/guardian.cc:
        don't check pthread_mutex_lock/unlock return value, as it never returns error if properly
        used (no self deadlocks) and initialized
      server-tools/instance-manager/guardian.h:
        prototype fixed
      server-tools/instance-manager/instance_map.cc:
        don't check pthread_mutex_lock/unlock status, as it never returns error if
        properly used (no self deadlocks) and initialized
      server-tools/instance-manager/instance_map.h:
        prototype fixed
      server-tools/instance-manager/listener.cc:
        initialize highest-numbered descriptor to 0 for select before setting it with max(n, sockets[i]),
        ifdef unix-specific code
      server-tools/instance-manager/manager.cc:
        remove commented stuff
      server-tools/instance-manager/options.cc:
        fix crash in load_defaults, which happened on all Unix systems due to
        const char *Options::config_file= NULL. Check return value for GetModuleFileName.
        Get rid of obscure default_config_file[FN_REFLEN]= "/etc/my.cnf"; which was never used
      85834c3b
    • unknown's avatar
      fix for bug #12315 - SHOW TABLE STATUS FROM `information_schema`; does not sort tablenames · 7c3f55ec
      unknown authored
      
      mysql-test/r/information_schema.result:
        fix the test case for fix for bug #12315 - SHOW TABLE STATUS FROM `information_schema`; does not sort tablenames
      mysql-test/r/information_schema_db.result:
        fix the test case for fix for bug #12315 - SHOW TABLE STATUS FROM `information_schema`; does not sort tablenames
      sql/sql_show.cc:
        reorder the structure
        fix for bug #12315 - SHOW TABLE STATUS FROM `information_schema`; does not sort tablenames
      sql/table.h:
        reorder the enum
        fix for bug #12315 - SHOW TABLE STATUS FROM `information_schema`; does not sort tablenames
      7c3f55ec