1. 29 Nov, 2006 1 commit
    • unknown's avatar
      fixed compilation failure on hpux · 44af1be3
      unknown authored
      the problem is that client tools are compiled with UNDEF_THREADS_HACK
      flag, and my thread-related additions to the mysqltest.c can't be compiled.
      Easy solution is to disable these in not-embedded case completely.
      
      
      client/mysqltest.c:
        it's used in embedded server only
      44af1be3
  2. 17 Nov, 2006 1 commit
    • unknown's avatar
      ABI fix · d24da25c
      unknown authored
      
      include/mysql_h.ic:
        this one should actually be removed from the ABI
      d24da25c
  3. 16 Nov, 2006 3 commits
    • unknown's avatar
      merging · 5a0cf28a
      unknown authored
      5a0cf28a
    • unknown's avatar
      merging · aa681ccf
      unknown authored
      aa681ccf
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-4.1 · 08ab6848
      unknown authored
      into  mysql.com:/home/hf/work/mysql-4.1-mrg
      
      
      include/mysql.h:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/rename.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/sql_class.h:
        Auto merged
      Makefile.am:
        merging
      client/mysqltest.c:
        merging
      mysql-test/t/mysql_client.test:
        merging
      08ab6848
  4. 15 Nov, 2006 2 commits
  5. 14 Nov, 2006 2 commits
  6. 13 Nov, 2006 3 commits
    • unknown's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-4.1-opt · bf3b563a
      unknown authored
      into  rakia.gmz:/home/kgeorge/mysql/autopush/B19216-4.1-opt
      
      bf3b563a
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-4.1-rpl · 0ce4e107
      unknown authored
      into  mysql.com:/home/bk/MERGE/mysql-4.1-merge
      
      0ce4e107
    • unknown's avatar
      Bug #19216: Client crashes on long SELECT · e04385d8
      unknown authored
       The server sends a number of columns to the client.
       It uses a limited "fast" function for that instead of the
       general one. This fast function cannot send numbers larger 
       than 2 bytes. 
       This causes the client to expect smaller number of columns. 
       The client writes outside of the allocated memory buffer 
       as a result.
       Fixed the server to use the general function to send column
       count.
       Fixed the client to check the column count before writing
       column data. 
      
      
      mysql-test/t/mysql_client.test:
        Bug #19216: Client crashes on long SELECT
         - test case
      sql/protocol.cc:
        Bug #19216: Client crashes on long SELECT
         - renamed the function for bether comprehention
           and made it local
         - used the right (non-local) function to transfer 
           the column count in Protocol::send_fields
      sql/protocol.h:
        Bug #19216: Client crashes on long SELECT
         - made optimized net_store_length local
      sql-common/client.c:
        Bug #19216: Client crashes on long SELECT
         - fixed the client to check for older servers (without the fix).
      e04385d8
  7. 12 Nov, 2006 2 commits
    • unknown's avatar
      bug#19402 SQL close to the size of the max_allowed_packet fails on the slave · fdaef4e7
      unknown authored
      comments are fixed as was suggested in reviews.
      
      
      sql/log_event.h:
        fixing comments
      sql/slave.cc:
        fixing comments
      sql/sql_repl.cc:
        fixing comments
      fdaef4e7
    • unknown's avatar
      Correcting BUG/WL identifier extraction to allow multiple references to auxilary · 34f12b36
      unknown authored
      bugs/wls in cset's comments. The targetted BUG's or WL's identifier must be specified
      the first in the comments. The referred bugs wls can be typed in same as the targeted
      clickable format.
      If the the target of the fix is a WL and there are some references to bugs
      then the first found reference is regarded as "co-target" so that the bug's identifier
      comes up on the subject line along with the WL's and commit mail will update
      the bug page. The latter feature can be disarmed (if there is no need to update
      the referred bug's page) with typing the first a pseudo-bug pattern (bug#0).
      
      This paticular cset will generate subject line containing bug#0 (as it was the first
      referred) whereas the old version would put in the subject line the last referred
      pattern (e.g bug#2147483648).
      
      
      BitKeeper/triggers/post-commit:
        fixing greedyness of old extraction
      34f12b36
  8. 11 Nov, 2006 1 commit
    • unknown's avatar
      mysql-test-run.pl: · c60d8fb1
      unknown authored
        Test for base directory when a RPM install corrected
      
      
      mysql-test/mysql-test-run.pl:
        Test for base directory when a RPM install corrected
      c60d8fb1
  9. 10 Nov, 2006 6 commits
    • unknown's avatar
      Merge trift2.:/MySQL/M41/bug17194-4.1 · a8aba345
      unknown authored
      into  trift2.:/MySQL/M41/push-4.1
      
      a8aba345
    • unknown's avatar
      Merge trift2.:/MySQL/M41/clone-4.1 · 94e45811
      unknown authored
      into  trift2.:/MySQL/M41/push-4.1
      
      
      myisam/sort.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Manual merge.
      94e45811
    • unknown's avatar
      Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8bde499f
      unknown authored
      into  kahlann.erinye.com:/home/df/mysql/build/mtr-4.1
      
      8bde499f
    • unknown's avatar
      add --report-features to mysql-test-run.pl · 92131d1f
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        add --report-features
      mysql-test/include/report-features.test:
        test file showing server features for mysql-test-run.pl --report-features
      92131d1f
    • unknown's avatar
      Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1f34f659
      unknown authored
      into  outpost.site:/home/cps/mysql/trees/4.1-runtime-bug9191
      
      
      configure.in:
        Auto merged
      include/my_time.h:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/r/rename.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/time.cc:
        Auto merged
      mysql-test/t/rename.test:
        choose one of the race problem solutions. It was solved
        differently in -runtime and mainstream
      1f34f659
    • unknown's avatar
      mysql-test-run.sh: · 921746a8
      unknown authored
        Added --force-restart pseudo server argument to shell version as well
      
      
      mysql-test/mysql-test-run.sh:
        Added --force-restart pseudo server argument to shell version as well
      921746a8
  10. 09 Nov, 2006 2 commits
    • unknown's avatar
      mysql-test/install_test_db.sh · df092d70
      unknown authored
          Adapt to the different path of the server program, if installation was by RPM.
          Missing in the first changeset for bug#17194.
      
      
      mysql-test/install_test_db.sh:
        Adapt to the different path of the server program, if installation was by RPM.
        Missing in the first changeset for bug#17194.
      df092d70
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-opt · e323ca5b
      unknown authored
      into  macbook.gmz:/Users/kgeorge/mysql/work/mem-test-4.1-opt
      
      e323ca5b
  11. 08 Nov, 2006 6 commits
  12. 07 Nov, 2006 6 commits
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/lic/my40-lic · 0301312d
      unknown authored
      into  mysql.com:/Users/kent/mysql/bk/lic/my41-lic
      
      
      README:
        Auto merged
      0301312d
    • unknown's avatar
      make_binary_distribution.sh: · e6161758
      unknown authored
        Added LICENSE.mysql, removed LICENSE.doc README.NW.
        Removed obselete section about MySQLEULA.txt and README.NW.
      README:
        Added reference to the EXCEPTIONS-CLIENT file.
        Changed reference to the commercial license file.
        Corrected references into chapters in the manual.
      .del-MySQLEULA.txt~4a1afd9284f9be5a:
        Delete: Docs/MySQLEULA.txt
      
      
      README:
        Added reference to the EXCEPTIONS-CLIENT file.
        Changed reference to the commercial license file.
        Corrected references into chapters in the manual.
      BitKeeper/deleted/.del-MySQLEULA.txt~4a1afd9284f9be5a:
        Delete: Docs/MySQLEULA.txt
      scripts/make_binary_distribution.sh:
        Added LICENSE.mysql, removed LICENSE.doc README.NW.
        Removed obselete section about MySQLEULA.txt and README.NW.
      e6161758
    • unknown's avatar
      Bug #11032: getObject() returns a String for a sub-query of type datetime · 7881866a
      unknown authored
       - When returning metadata for scalar subqueries the actual type of the
         column was calculated based on the value type, which limits the actual
         type of a scalar subselect to the set of (currently) 3 basic types : 
         integer, double precision or string. This is the reason that columns
         of types other then the basic ones (e.g. date/time) are reported as
         being of the corresponding basic type.
         Fixed by storing/returning information for the column type in addition
         to the result type.
      
      
      mysql-test/r/subselect.result:
        Bug #11032: getObject() returns a String for a sub-query of type datetime
         - test case
      mysql-test/t/subselect.test:
        Bug #11032: getObject() returns a String for a sub-query of type datetime
         - test case
      sql/item_subselect.cc:
        Bug #11032: getObject() returns a String for a sub-query of type datetime
         - store and return the field type as well in addition to result type for 
           single row subqueries
      sql/item_subselect.h:
        Bug #11032: getObject() returns a String for a sub-query of type datetime
         - store and return the field type as well in addition to result type for 
           single row subqueries
      7881866a
    • unknown's avatar
      Fix bug#24023: Let "ndb/src/common/portlib/gcc.cpp" export a dummy symbol. · e9a190d1
      unknown authored
      
      ndb/src/common/portlib/gcc.cpp:
        Fix bug#24023:  Make sure this module always exports some symbol, whether used anywhere or not.
      e9a190d1
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-4.1-rpl · b0ed2818
      unknown authored
      into  mysql.com:/users/lthalmann/bk/MERGE/mysql-4.1-merge
      
      b0ed2818
    • unknown's avatar
      Bug#23451 GROUP_CONCAT truncates a multibyte utf8 character · c7085590
      unknown authored
        
        Problem: GROUP_CONCAT on a multi-byte column can truncate
        in the middle of a multibyte character when applying
        group_concat_max_len limit. It produces an invalid
        multi-byte character in the result string.
        
      The second, easier version - reusing old "warning_for_row" flag,
      instead of introducing of "result_is_full" - which was
      added in the previous commit.
      
      
      mysql-test/r/func_gconcat.result:
        Adding test case
      mysql-test/t/func_gconcat.test:
        Adding test case
      sql/item_sum.cc:
        Adding well_formed_len() call not to cut
            in the middle of a multi-byte character.
      c7085590
  13. 05 Nov, 2006 2 commits
  14. 03 Nov, 2006 3 commits
    • unknown's avatar
      Bug #22457: Column alias in ORDER BY works, but not if in an expression · f8ba4f1f
      unknown authored
       The parser is allocating Item_field for references by name in ORDER BY
       expressions. Such expressions however may point not only to Item_field 
       in the select list (or to a table column) but also to an arbitrary Item. 
       This causes Item_field::fix_fields to throw an error about missing 
       column.
       The fix substitutes Item_field for the reference with an Item_ref when 
       not pointing to Item_field.
      
      
      mysql-test/r/order_by.result:
        Bug #22457: Column alias in ORDER BY works, but not if in an expression
         - test case
      mysql-test/t/order_by.test:
        Bug #22457: Column alias in ORDER BY works, but not if in an expression
         - test case
      sql/item.cc:
        Bug #22457: Column alias in ORDER BY works, but not if in an expression
         - transform the Item_field made by the parser into Item_ref if it 
           doesn't point to Item_field and it is in allowed context
      f8ba4f1f
    • unknown's avatar
    • unknown's avatar
      Cleanup: fix race in rename.test. · d4d17711
      unknown authored
      
      mysql-test/r/rename.result:
        Update result.
      mysql-test/t/rename.test:
        Remove the race by replacing sleep with a reap.
      d4d17711