1. 04 Oct, 2006 1 commit
  2. 02 Oct, 2006 1 commit
    • unknown's avatar
      Bug#21811 Odd casting with date + INTERVAL arithmetic · 5e71afcb
      unknown authored
      - Type casting was not consequent, thus when adding a DATE type with
        a WEEK interval the result type was DATETIME and not DATE as is the
        norm.
      - By changing the order of the date internal enumerations the deviant
        type casting is resolved (Item_date_add_interval::fix_length_and_dec()
        which determines result type for this operation assumes that addition
        of any interval with value <= INTERVAL_DAY to date value will result
        in date). There are two independant places to change:
        interval_names[] and interval_type.
      
      
      mysql-test/r/func_date_add.result:
        Updated result file for type casting test
      mysql-test/r/func_time.result:
        Updated result file for type casting test
      mysql-test/t/func_date_add.test:
        Added test for type casting when adding intervals to date.
      sql/item_timefunc.cc:
        Changed order of "week" key word to match the date interval enumeration.
      sql/item_timefunc.h:
        Changed the order of the enumeration to better follow interval sizes.
      5e71afcb
  3. 20 Sep, 2006 1 commit
  4. 19 Sep, 2006 17 commits
  5. 18 Sep, 2006 19 commits
  6. 17 Sep, 2006 1 commit
    • unknown's avatar
      BUG#22396 crash_commit_before · 519dc92c
      unknown authored
       - Disable generation of core file and stacktrace when running this testcase, which would
         otherwise mark the whole testsuite as failed.
      
      
      mysql-test/mysql-test-run.pl:
        Allow --skip-core-file to be specified in master.opt file, which will turn
        off the default behaviour to generate core file.
        Remove the option --exit-info from being passed to myslqd when it's started. If used 
        it will just overwrite all the options for skip-stack-trace etc.
      mysql-test/t/disabled.def:
        Enable crash_commit_before
      mysql-test/t/crash_commit_before-master.opt:
        Run crash_commit_before test case without core file and stack trace.
      519dc92c