1. 24 Jul, 2018 2 commits
    • Jacob Mathew's avatar
      MDEV-16246: insert timestamp into spider table from mysqldump gets wrong time zone. · d6594847
      Jacob Mathew authored
      The problem occurred because the Spider node was incorrectly handling
      timestamp values sent to and received from the data nodes.
      
      The problem has been corrected as follows:
      - Added logic to set and maintain the UTC time zone on the data nodes.
        To prevent timestamp ambiguity, it is necessary for the data nodes to use
        a time zone such as UTC which does not have daylight savings time.
      - Removed the spider_sync_time_zone configuration variable, which did not
        solve the problem and which interfered with the solution.
      - Added logic to convert to the UTC time zone all timestamp values sent to
        and received from the data nodes.  This is done for both unique and
        non-unique timestamp columns.  It is done for WHERE clauses, applying to
        SELECT, UPDATE and DELETE statements, and for UPDATE columns.
      - Disabled Spider's use of direct update when any of the columns to update is
        a timestamp column.  This is necessary to prevent false duplicate key value
        errors.
      - Added a new test spider.timestamp to thoroughly test Spider's handling of
        timestamp values.
      
      Author:
        Jacob Mathew.
      
      Reviewer:
        Kentoku Shiba.
      
      Merged:
        Commit 97cc9d34 on branch bb-10.3-MDEV-16246
      d6594847
    • Alexander Barkov's avatar
      a78d1aaa
  2. 20 Jul, 2018 1 commit
  3. 19 Jul, 2018 1 commit
  4. 14 Jul, 2018 2 commits
  5. 13 Jul, 2018 1 commit
    • Monty's avatar
      Call alloc() instead of realloc() · a9ca8198
      Monty authored
      Use alloc() if we don't need original string (avoid copy)
      Removed not needed test of str_length in sql_string.cc
      a9ca8198
  6. 10 Jul, 2018 1 commit
  7. 09 Jul, 2018 1 commit
  8. 06 Jul, 2018 4 commits
  9. 05 Jul, 2018 2 commits
  10. 04 Jul, 2018 3 commits
  11. 03 Jul, 2018 5 commits
  12. 02 Jul, 2018 5 commits
  13. 01 Jul, 2018 2 commits
  14. 30 Jun, 2018 8 commits
  15. 29 Jun, 2018 2 commits