1. 12 Jul, 2006 1 commit
    • unknown's avatar
      Fix for bug #19370: DateTime datatype in MySQL has two bugs in it · 97a3d526
      unknown authored
      
      mysql-test/r/date_formats.result:
        Fix for bug #19370: DateTime datatype in MySQL has two bugs in it
          - results adjusted
      mysql-test/r/strict.result:
        Fix for bug #19370: DateTime datatype in MySQL has two bugs in it
          - results adjusted
      mysql-test/r/type_datetime.result:
        Fix for bug #19370: DateTime datatype in MySQL has two bugs in it
          - results adjusted
      mysql-test/t/strict.test:
        Fix for bug #19370: DateTime datatype in MySQL has two bugs in it
          - tests adjusted
      sql-common/my_time.c:
        Fix for bug #19370: DateTime datatype in MySQL has two bugs in it
          - Regardless of the title of the bug the only real bug is that it
            doesn't make sense to have only some invalid parts in a date.
            E.g. a valid day among invalid years or months is totally ambiguous 
            and we should refuse to guess what it means.
        
            To fix it, we add a check that both the year is zero and either day
            or month are zero (year and (day or month)), and if they are then  we
            reject such dates. Doing so should adequately fix the reported problem.
      97a3d526
  2. 05 Jul, 2006 3 commits
  3. 04 Jul, 2006 9 commits
  4. 03 Jul, 2006 7 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 06af76d2
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-main
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      06af76d2
    • unknown's avatar
      Bug#20783: Valgrind uninitialised warning in test case ctype_uca · c3ef0267
      unknown authored
        
      Two functions have different ideas of what a string should look like;
      one of them reads memory it assumes the other one may have written.
      And "if you assume ..."
        
      We now use a more defensive variety of the assuming function, this fixes
      a warning thrown by the valgrind tool.
      
      
      sql/item_cmpfunc.cc:
        c_ptr() makes incorrect assumptions about the string we get from
        out of args[0]->val_str(&tmp); c_str_safe() is more defensive.
      c3ef0267
    • unknown's avatar
      client.c: · e34b9cfb
      unknown authored
        Define 'mysql_get_ssl_cipher' even if no SSL built in, it is referenced in libmysql.def
      
      
      sql-common/client.c:
        Define 'mysql_get_ssl_cipher' even if no SSL built in, it is referenced in libmysql.def
      e34b9cfb
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-release · 3702ae2d
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
      
      
      3702ae2d
    • unknown's avatar
      mwldnlm, mwccnlm, mwasmnlm: · 9ecc01a9
      unknown authored
        Use Perl for filtering, do more filtering
      
      
      netware/BUILD/mwasmnlm:
        Use Perl for filtering, do more filtering
      netware/BUILD/mwccnlm:
        Use Perl for filtering, do more filtering
      netware/BUILD/mwldnlm:
        Use Perl for filtering, do more filtering
      9ecc01a9
    • unknown's avatar
      Makefile.am: · 97c21888
      unknown authored
        Avoid duplicate symbol errors on Netware
      mwldnlm, mwccnlm, mwasmnlm:
        Filter garbage characters from output
      
      
      netware/BUILD/mwasmnlm:
        Filter garbage characters from output
      netware/BUILD/mwccnlm:
        Filter garbage characters from output
      netware/BUILD/mwldnlm:
        Filter garbage characters from output
      tests/Makefile.am:
        Avoid duplicate symbol errors on Netware
      97c21888
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3e085bd8
      unknown authored
      into mysql.com:/home/gluh/MySQL/Merge/5.0-kt
      
      
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      3e085bd8
  5. 01 Jul, 2006 5 commits
    • unknown's avatar
      mysqld.vcproj: · 84e72c2b
      unknown authored
        Don't define __NT__ for 'Max' target
      
      
      VC++Files/sql/mysqld.vcproj:
        Don't define __NT__ for 'Max' target
      84e72c2b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 4c2db1be
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-runtime
      
      
      mysql-test/r/func_sapdb.result:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/func_sapdb.test:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      4c2db1be
    • unknown's avatar
      my_sys.h: · 805e8554
      unknown authored
        Added missing parameter type change for _my_strdup_with_length()
      
      
      include/my_sys.h:
        Added missing parameter type change for _my_strdup_with_length()
      805e8554
    • unknown's avatar
      Post-merge fix · 047e2be2
      unknown authored
      047e2be2
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 87d04015
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.0-bug16168-merge
      
      
      87d04015
  6. 30 Jun, 2006 15 commits
    • unknown's avatar
      Merge mysql.com:/home/psergey/mysql-4.1-bug16168-push · c1fa66c3
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.0-bug16168-merge
      
      
      mysql-test/t/range.test:
        Auto merged
      mysql-test/r/range.result:
        SCCS merged
      sql/opt_range.cc:
        SCCS merged
      c1fa66c3
    • unknown's avatar
      Remove an unused variable. · 697e8d71
      unknown authored
      697e8d71
    • unknown's avatar
      Remove a couple of unused/barely used names. · 0c7bc6e9
      unknown authored
      
      sql/sql_lex.cc:
        Remove an unused thread key.
      sql/sql_lex.h:
        Remove an unused thread key, current_lex.
      sql/sql_parse.cc:
        Remove an unused thread key, current_lex macro.
      0c7bc6e9
    • unknown's avatar
      Manual transfer of the following changeset into the 5.0.23 release clone: · 2b380332
      unknown authored
         1.2525 06/06/30 18:29:27 monty@mysql.com +3 -0
         Reverted wrong bug fix (Bug#11228)
      
      
      mysql-test/r/key.result:
        Manual transfer of the following fix into the 5.0.23 release clone:
           1.27 06/06/30 18:29:25 monty@mysql.com +9 -1
           Fixed result after removing wrong bug fix
      mysql-test/t/key.test:
        Manual transfer of the following fix into the 5.0.23 release clone:
           1.24 06/06/30 18:29:25 monty@mysql.com +1 -0
           Added SHOW CREATE TABLE, which is the proper way to check for table definitions
      sql/table.cc:
        Manual transfer of the following fix into the 5.0.23 release clone:
           1.135 06/06/30 18:29:25 monty@mysql.com +21 -0
           Reverted wrong bug fix.   ...
      2b380332
    • unknown's avatar
      After merge fixes · 0bbc6fbe
      unknown authored
      
      BitKeeper/etc/ignore:
        added scripts/mysql_upgrade_shell
      include/my_handler.h:
        my_handler.h should not include my_global.h
      mysql-test/r/key.result:
        Update results after merge
      0bbc6fbe
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-4.1 · 9606675b
      unknown authored
      into  mysql.com:/home/my/mysql-5.0
      
      
      libmysql/libmysql.c:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/t/key.test:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/r/key.result:
        Manual merge
      mysql-test/t/mysqldump.test:
        Manual merge
        (Now we have same code as in 4.1 and 5.1)
      sql/ha_ndbcluster.cc:
        Manual merge
        Change %ll -> llstr()
      tests/mysql_client_test.c:
        manual merge
      9606675b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · e0171231
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      
      e0171231
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · a6d2cafd
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-main
      
      
      a6d2cafd
    • unknown's avatar
      Reverted wrong bug fix (Bug#11228) · 66a59b10
      unknown authored
      
      mysql-test/r/key.result:
        Fixed result after removing wrong bug fix
      mysql-test/t/key.test:
        Added SHOW CREATE TABLE, which is the proper way to check for table definitions
      sql/table.cc:
        Reverted wrong bug fix.
        The intention with the original code was to show that MySQL treats the first
        given unique key as a primary key. Clients can use the marked primary key as a
        real primary key to validate row changes in case of conflicting updates.  The
        ODBC driver (and other drivers) may also use this fact to optimize/check
        updates and handle conflicts.  The marked key also shows what some engines, like InnoDB or NDB,
        will use as it's internal primary key.
        
        For checking if someone has declared a true PRIMARY KEY, one should use 'SHOW CREATE TABLE'
      66a59b10
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · baa7f2a3
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-main
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      baa7f2a3
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · c0f77ca3
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-main
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      c0f77ca3
    • unknown's avatar
      manual merge, patch only relevant for 4.1 · c8ddbe6d
      unknown authored
      c8ddbe6d
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · e410532a
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-main
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      e410532a
    • unknown's avatar
      adopted ndb handler code for tables without primary key and with unique index · 437afbfd
      unknown authored
      - added missing retrieval of hidden primary key
      
      
      437afbfd
    • unknown's avatar
      Bug#17226: Variable set in cursor on first iteration is assigned · fc085d77
      unknown authored
                 second iterations value
      
      During assignment to the BLOB variable in routine body the value
      wasn't copied.
      
      
      mysql-test/r/sp-vars.result:
        Add result for bug#17226.
      mysql-test/t/sp-vars.test:
        Add test case for bug#17226.
      sql/field_conv.cc:
        Honor copy_blobs flag.
      fc085d77