1. 10 Dec, 2003 1 commit
    • unknown's avatar
      followup to fix for bug #1790 BIT_AND() result in GROUP BY different when · 4101abf3
      unknown authored
      SQL_BIG_RESULT used": now BIT_AND() always returns 18446744073709551615
      if no rows were found.
      This patch also fixes bug #1972: "BIT_AND() and BIT_OR() still return 
      a *signed* 64bit value"
      
      
      mysql-test/r/func_group.result:
        followup to fix for bug #1790 BIT_AND() result in GROUP BY different when 
        SQL_BIG_RESULT used": test results fixed
        bug #1972 "BIT_AND() and BIT_OR() still return a *signed* 64bit value":
        results of new tests
      mysql-test/t/func_group.test:
        added tests for bug #1972 "BIT_AND() and BIT_OR() still return a 
        *signed* 64bit value"
      4101abf3
  2. 04 Dec, 2003 11 commits
  3. 03 Dec, 2003 3 commits
  4. 02 Dec, 2003 8 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 077d1dac
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      077d1dac
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.0 · a663bea8
      unknown authored
      into mysql.com:/home/psergey/mysql-4.0
      
      a663bea8
    • unknown's avatar
      Fix for bug #1980 · 568ace4f
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      568ace4f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 2986c23b
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.0-tsbg
      
      2986c23b
    • unknown's avatar
      Fix for Bug #1448 "Date parsing fails, and fails to complain · 995538eb
      unknown authored
      about it". Now numbers representing illegal timestamps are 
      converted to 0 value if they are stored as timestamp or 
      datetime. This behaviour is consistent with manual and with 
      behaviour of string -> timestamp conversion.
      
      
      mysql-test/r/type_datetime.result:
        Added test if ranges are checked during 
        integer, string -> timestamp conversion
      mysql-test/r/type_timestamp.result:
        Added test if ranges are checked during 
        integer, string -> datetime conversion
      mysql-test/t/type_datetime.test:
        Added test if ranges are checked during 
        integer, string -> datetime conversion
      mysql-test/t/type_timestamp.test:
        Added test if ranges are checked during 
        integer, string -> timestamp conversion
      sql/field.cc:
        Checks of month, day, hour, minute and second ranges were added
        to storing of integer into Field_datetime and Field_timestamp
        and so for integer -> datetime, timestamp conversion.
      995538eb
    • unknown's avatar
      Post-review fixes for bug #1790 'BIT_AND() result in GROUP BY different when · 8340d70d
      unknown authored
       SQL_BIG_RESULT used':
      - BIT_AND now returns BIGINT UNSIGNED
      - in case there were no matching rows BIT_AND returns 18446744073709551615 
      (but not NULL), BIT_OR returns 0 (but not NULL). That's how Monty wants it
      and how is described in our docs.
      
      
      
      
      include/my_global.h:
        Added definition for ULONGLONG_MAX.
        This is also a check that ULL type specifier
        can be used on all supported platforms.
      mysql-test/r/func_group.result:
        bug #1790, post-review work: test results fixed
      sql/item_sum.cc:
        small cleanup
      sql/item_sum.h:
        few style fixes.
        BIT_AND and BIT_OR now are both BIGINT UNSIGNED
      8340d70d
    • unknown's avatar
      There is no reason that Intvar_log_event's constructor calls Log_event::Log_event() · 3bd8ffc7
      unknown authored
      instead of Log_event::Log_event(THD*, ...) when the event is built in the master
      to be written in the binlog.
      Rand_log_event already used the good constructor, so there really is no reason
      for Intvar_log_event to be an exception.
      This fixes a test failure of last night (which appeared after I removed a useless
      e.server_id=thd->server_id in log.cc; in fact this line was not useless because
      it hid the bad constructor).
      Replication tests pass, with Valgrind too.
      
      
      sql/log_event.h:
        There is no reason that Intvar_log_event's constructor calls Log_event::Log_event()
        instead of Log_event::Log_event(THD*, ...) when the event is built in the master
        to be written in the binlog.
        Rand_log_event already used the good constructor, so there really is no reason
        for Intvar_log_event to be an exception.
        This fixes a test failure of last night (which appeared after I removed a useless
        e.server_id=thd->server_id in log.cc; in fact this line was not useless because
        it hid the bad constructor).
      3bd8ffc7
    • unknown's avatar
      Merge mysql.com:/home/kostja/mysql/mysql-4.0-root · e8223c70
      unknown authored
      into mysql.com:/home/kostja/mysql/mysql-4.0-1790
      
      e8223c70
  5. 01 Dec, 2003 2 commits
  6. 28 Nov, 2003 7 commits
  7. 27 Nov, 2003 3 commits
  8. 26 Nov, 2003 2 commits
  9. 25 Nov, 2003 3 commits