1. 10 Nov, 2016 1 commit
    • Alexander Barkov's avatar
      A join patch for MDEV-10780 and MDEV-11265 · 1d9b043a
      Alexander Barkov authored
      MDEV-10780 Server crashes in in create_tmp_table
      MDEV-11265 Access defied when CREATE VIIEW v1 AS SELECT DEFAULT(column) FROM t1
      
      Item_default_value and Item_insert_value erroneously derive from Item_field
      but forgot to override some methods that apply only to true fields,
      so the server code mixes Item_{default|insert}_value instances with real
      table fields (i.e. true Item_field) in some cases.
      Overriding a few methods to avoid this.
      
      TODO: we should eventually derive Item_default_value (and Item_insert_value)
      directly from Item, as they don't really need the entire Item_field,
      Item_ident and Item_result_field functionality.
      Only the member "Field *field" related functionality is actually needed,
      like val_xxx(), is_null(), get_geometry_type(), charset_for_protocol(), etc.
      1d9b043a
  2. 01 Nov, 2016 1 commit
  3. 31 Oct, 2016 1 commit
  4. 28 Oct, 2016 2 commits
  5. 27 Oct, 2016 4 commits
  6. 26 Oct, 2016 9 commits
  7. 25 Oct, 2016 12 commits
  8. 23 Oct, 2016 1 commit
  9. 22 Oct, 2016 1 commit
    • Vladislav Vaintroub's avatar
      MDEV-11104 Fix client to correctly retrieve current user name on Windows · fb38d264
      Vladislav Vaintroub authored
      Prior to this patch name of the user was  read from environment variable
      USER, with a fallback to 'ODBC', if the environment variable is not set.
      
      The name of the env.variable is incorrect (USERNAME usually contains current
      user's name,  but not USER), which made client to  always determine
      current user as 'ODBC'.
      
      The fix is to use GetUserName() instead.
      fb38d264
  10. 21 Oct, 2016 3 commits
  11. 18 Oct, 2016 1 commit
  12. 17 Oct, 2016 2 commits
  13. 16 Oct, 2016 1 commit
  14. 14 Oct, 2016 1 commit