1. 27 Jul, 2005 11 commits
    • unknown's avatar
      We have also to test 'conds' even if there was no tables. · f60bf7ee
      unknown authored
      (This is because conds may not be a constant)
      This bug caused a failure in the test suite for select.test becasue for prepared statements in one case a 'constant sub query' was not regarded as a constant
      Sanja will as a separate task check if we can fix that the sub query can be recognized as a constant
      Bug #12217
      
      
      sql/sql_select.cc:
        We have also to test 'conds' even if there was no tables.
        (This is because conds may not be a constant)
        This bug caused a failure in the test suite for select.test becasue for prepared statements in one case a 'constant sub query' was not regarded as a constant
        Sanja will as a separate task check if we can fix that the sub query can be recognized as a constant
      f60bf7ee
    • unknown's avatar
      - build the RPM binaries against the bundled zlib, when static linking is requested · 31a12de0
      unknown authored
      
      support-files/mysql.spec.sh:
        - build against the bundled zlib, when linking statically
      31a12de0
    • unknown's avatar
      - applied a security fix to inftrees.h from the bundled zlib to resolve a second · 24d17d01
      unknown authored
        potential zlib security vulnerability (CAN-2005-1849). Fix was taken from the
        official zlib-1.2.3 distribution (no other zlib-1.2.3 changes were applied)
      
      
      zlib/inftrees.h:
        - applied another security fix to resolve CAN-2005-1849, taken from the 1.2.3 zlib
          sources
      24d17d01
    • unknown's avatar
      Moved test for 'show full processlist' to not_embedded_server.test becasue it... · f7edd8b4
      unknown authored
      Moved test for 'show full processlist' to not_embedded_server.test becasue it could fail on a slow computer where previous connections has not yet disconnected
      
      
      mysql-test/r/ps_grant.result:
        Deallocate prepare statements
        Moved test for 'show full processlist' to not_embedded_server.test becasue it's shouldn't be here and it could fail on a slow computer where previous connections has not yet disconnected
      mysql-test/t/ps_grant.test:
        Deallocate prepare statements
        Moved test for 'show full processlist' to not_embedded_server.test becasue it's shouldn't be here and it could fail on a slow computer where previous connections has not yet disconnected
      sql/sql_lex.cc:
        Fixed typo
      mysql-test/r/not_embedded_server.result:
        New BitKeeper file ``mysql-test/r/not_embedded_server.result''
      mysql-test/t/not_embedded_server.test:
        New BitKeeper file ``mysql-test/t/not_embedded_server.test''
      BitKeeper/etc/ignore:
        added ndb/tools/ndb_config
      f7edd8b4
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-4.0 · 5fbfa295
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      
      BitKeeper/etc/ignore:
        auto-union
      include/thr_lock.h:
        Auto merged
      mysys/thr_lock.c:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_base.cc:
        Simple merge
      5fbfa295
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a5a7cc0b
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      a5a7cc0b
    • unknown's avatar
      Review of new code: · eb7dadb0
      unknown authored
      Change argument order to be database, tablename for some functions
      
      
      sql/lock.cc:
        Remove not needed block
      sql/mysql_priv.h:
        Change argument order to be database, tablename (like in most other functions)
      sql/sql_table.cc:
        Change argument order to be database, tablename (like in most other functions)
        Make 'flags' inline
      sql/table.cc:
        Change argument order to be database, tablename (like in most other functions)
      sql/unireg.cc:
        Change argument order to be database, tablename (like in most other functions)
      eb7dadb0
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1 · 0ce9b6fd
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.11329
      
      0ce9b6fd
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1 · 3c9090b3
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.9110
      
      3c9090b3
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1 · ad9844b9
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.10839
      
      ad9844b9
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1 · 7004d7ce
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.6740
      
      7004d7ce
  2. 26 Jul, 2005 11 commits
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · d98177e4
      unknown authored
      into  hundin.mysql.fi:/home/marko/mysql-4.1
      
      d98177e4
    • unknown's avatar
      Fix for bug #11329 (lowercase_table.test fails) · 8239938e
      unknown authored
      
      sql/mysqld.cc:
        code moved to the init_server_variables() so it will work in embedded server
        as well
      8239938e
    • unknown's avatar
      Review fixes: · a5240d7d
      unknown authored
      Fixed portability problem with bool in C programs
      Moved close_thread_tables out from LOCK_thread_count mutex (safety fix)
      my_sleep() -> pthread_cond_timedwait()
      
      
      include/thr_lock.h:
        bool -> my_bool (bool is not portable in C programs)
      mysys/thr_lock.c:
        bool -> my_bool (bool is not portable in C programs)
      sql/lock.cc:
        Added comment
        Don't use | on bool variable
      sql/mysql_priv.h:
        Added comment
      sql/slave.cc:
        Moved close_thread_tables out from LOCK_thread_count mutex (safety fix)
      sql/sql_base.cc:
        Added comments
        my_sleep() -> pthread_cond_timedwait() to get less code and potentitally faster loop
      BitKeeper/etc/ignore:
        added ac_available_languages_fragment
      a5240d7d
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1f0c0f36
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b12109
      
      1f0c0f36
    • unknown's avatar
      ctype-big5.c: · 0ac6408c
      unknown authored
      ctype-cp932.c:
      ctype-gbk.c:
      ctype-mb.c:
      ctype-simple.c:
      ctype-sjis.c:
      ctype-ucs2.c:
      ctype-ujis.c:
      ctype-utf8.c:
      
        Adding explicit cast to return type
        in pointer substructions to avoid
        warnings from some compilers.
      
      
      strings/ctype-big5.c:
        Adding explicit cast to return type
        in pointer substructions to avoid
        warnings from some compilers.
        Adding explicit cast to return type
        in pointer substructions to avoid
        warnings from some compilers.
        Adding explicit cast to return type
        in pointer substructions to avoid
        warnings from some compilers.
      strings/ctype-cp932.c:
        Adding explicit cast to return type
        in pointer substructions to avoid
        warnings from some compilers.
      strings/ctype-gbk.c:
        Adding explicit cast to return type
        in pointer substructions to avoid
        warnings from some compilers.
      strings/ctype-mb.c:
        Adding explicit cast to return type
        in pointer substructions to avoid
        warnings from some compilers.
      strings/ctype-simple.c:
        Adding explicit cast to return type
        in pointer substructions to avoid
        warnings from some compilers.
      strings/ctype-sjis.c:
        Adding explicit cast to return type
        in pointer substructions to avoid
        warnings from some compilers.
      strings/ctype-ucs2.c:
        Adding explicit cast to return type
        in pointer substructions to avoid
        warnings from some compilers.
      strings/ctype-ujis.c:
        Adding explicit cast to return type
        in pointer substructions to avoid
        warnings from some compilers.
      strings/ctype-utf8.c:
        Adding explicit cast to return type
        in pointer substructions to avoid
        warnings from some compilers.
      0ac6408c
    • unknown's avatar
      InnoDB: Do not flush after each write, not even when creating the · 4db445b9
      unknown authored
      data files.  Previously, writes were flushed until the doublewrite
      buffer was created.  That would be too slow on systems where
      os_file_flush() [or fsync(2)] is slow.  (Bug #12125)
      
      
      innobase/include/os0file.h:
        Disable os_do_not_call_flush_at_each_write unless #ifdef UNIV_DO_FLUSH
      innobase/os/os0file.c:
        Disable os_do_not_call_flush_at_each_write unless #ifdef UNIV_DO_FLUSH
      innobase/trx/trx0sys.c:
        Disable os_do_not_call_flush_at_each_write unless #ifdef UNIV_DO_FLUSH
      4db445b9
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6f06cf77
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b10201
      
      6f06cf77
    • unknown's avatar
      func_gconcat.result, func_gconcat.test: · 5ae56c81
      unknown authored
        Adding test
      item_sum.cc:
        Adding a call for collation/charset aggregation,
            to collect attributes from the arguments. The actual bug fix.
      item_func.h, item_func.cc, item.h, item.cc:
        - Removing collation aggrgation functions from Item_func class
            in item.cc, and adding it as non-class functions in item.cc
            to be able to reuse this code for group_concat.
            - Adding replacement for these functions into Item_func class
            as wrappers for moved functions, to minizize patch size,
      
      
      sql/item.cc:
        - Removing collation aggrgation functions from Item_func class
            in item.cc, and adding it as non-class functions in item.cc
            to be able to reuse this code for group_concat.
            - Adding replacement for these functions into Item_func class
            as wrappers for moved functions, to minizize patch size,
      sql/item.h:
        - Removing collation aggrgation functions from Item_func class
            in item.cc, and adding it as non-class functions in item.cc
            to be able to reuse this code for group_concat.
            - Adding replacement for these functions into Item_func class
            as wrappers for moved functions, to minizize patch size,
      sql/item_func.cc:
        - Removing collation aggrgation functions from Item_func class
            in item.cc, and adding it as non-class functions in item.cc
            to be able to reuse this code for group_concat.
            - Adding replacement for these functions into Item_func class
            as wrappers for moved functions, to minizize patch size,
      sql/item_func.h:
        - Removing collation aggrgation functions from Item_func class
            in item.cc, and adding it as non-class functions in item.cc
            to be able to reuse this code for group_concat.
            - Adding replacement for these functions into Item_func class
            as wrappers for moved functions, to minizize patch size,
      sql/item_sum.cc:
        Adding a call for collation/charset aggregation,
            to collect attributes from the arguments. The actual bug fix.
      mysql-test/t/func_gconcat.test:
        Adding test
      mysql-test/r/func_gconcat.result:
        Adding test
      5ae56c81
    • unknown's avatar
      Fix for bug #9110 (Max_join_size error) · b5bec5ee
      unknown authored
      
      libmysqld/lib_sql.cc:
        This should be done during the thread activation
      b5bec5ee
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · de14d1db
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-4.1-push
      
      de14d1db
    • unknown's avatar
      ndb_config test requires ndb · cd074a5a
      unknown authored
      
      mysql-test/t/ndb_config.test:
        test requires ndb
      cd074a5a
  3. 25 Jul, 2005 12 commits
    • unknown's avatar
      charset.c: · 56dc44c4
      unknown authored
        Bug#12109 possible locking bug in init_available_charset
        Recheck charset_initialized inside locked code,
        to garantee two threads are not entering
        consequently.
      
      
      mysys/charset.c:
        Bug#12109 possible locking bug in init_available_charset
        Recheck charset_initialized inside locked code,
        to garantee two threads are not entering
        consequently.
      56dc44c4
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2f068186
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      2f068186
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1-merge · 491f810b
      unknown authored
      into mysql.com:/space/my/mysql-4.1
      
      491f810b
    • unknown's avatar
      - merge from 4.0: updated scripts/Makefile.am to properly create but not install · f52381d9
      unknown authored
        make_binary_distribution, make_sharedlib_distribution and make_win_src_distribution
      - removed make_win_binary_distribution.sh
      
      
      BitKeeper/deleted/.del-make_win_binary_distribution.sh~e0fbb0a75af0dcd3:
        Auto merged
      scripts/Makefile.am:
        - after merge fix: removed the "all" target - these files are now built via
          noinst_SCRIPTS instead.
      f52381d9
    • unknown's avatar
      - Make sure the scripts make_binary_distribution, make_sharedlib_distribution and · ef3e6f22
      unknown authored
        make_win_src_distribution are created, but not installed
      - removed make_win_binary_distribution.sh as it's obsolete and outdated
      
      
      BitKeeper/deleted/.del-make_win_binary_distribution.sh~e0fbb0a75af0dcd3:
        Delete: scripts/make_win_binary_distribution.sh
      scripts/Makefile.am:
        - Make sure the scripts make_binary_distribution, make_sharedlib_distribution and
          make_win_src_distribution are created, but not installed. This is the proper fix
          for what I began in the previous ChangeSet
        - removed make_win_binary_distribution.sh from the distribution, as it's obsolete
          and outdated
      ef3e6f22
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 91003838
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-4.1-push
      
      91003838
    • unknown's avatar
      fix compile error · 65685d63
      unknown authored
      65685d63
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 78670f91
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-4.1-push
      
      78670f91
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 8c171be8
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-4.1-push
      
      
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      ndb/src/mgmsrv/ConfigInfo.hpp:
        Auto merged
      8c171be8
    • unknown's avatar
      ndb - Fix LCP during SR parameters · 3f34de0b
      unknown authored
      
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        Fix LCP during SR parameters
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Fix LCP during SR parameters
      ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        Fix LCP during SR parameters
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Fix LCP during SR parameters
      3f34de0b
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1 · 67f3fa79
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.10839
      
      67f3fa79
    • unknown's avatar
      fix for bug #7924. · f0396c8a
      unknown authored
      added export symbols mysql_server_init and 
      mysql_server_end to allow client to connect to external and embedded
      server using the same code (required for Connector/OO.org). (Backport from 5.0 - cs. 1.35)
      
      f0396c8a
  4. 24 Jul, 2005 1 commit
  5. 23 Jul, 2005 3 commits
  6. 22 Jul, 2005 2 commits