1. 28 Jun, 2016 2 commits
    • Alexander Barkov's avatar
      MDEV-10236 Where expression with NOT function gives incorrect result · 56a34960
      Alexander Barkov authored
      Item_cache::is_null() erroneously returned null_value in a
      non-cached state. Now Item_cache::is_null() uses has_value(),
      which caches the value if not cached yet, similar to what other value methods do
      (e.g. val_int, val_real, etc).
      56a34960
    • Martin Stefany's avatar
      Use hostname instead of IP in donor's socat · 64c115b8
      Martin Stefany authored
      Using IP address in donor's socat with TLS/SSL and certificate
      which doesn't contain IP address in CN or SubjectAltName causes
      transfer to fail with message:
      
      socat[5799] E certificate is valid but its commonName does not
      match hostname.
      
      This patch tries to reverse resolve IP address to hostname and
      use it for transfer. If reverse resolution fails, IP address is
      still used as fall-back, so proper A/AAAA and PTR records are
      important, but not mandatory.
      
      Certain certificates cannot contain IP addresses, e.g. FreeIPA's
      Dogtag doesn't allow it, so in my case I would need to use self-
      signed certificates instead, use verify=0 with socat or don't use
      TLS/SSL at all. Issue is mentioned in MDEV-9403.
      64c115b8
  2. 27 Jun, 2016 15 commits
  3. 24 Jun, 2016 1 commit
  4. 23 Jun, 2016 2 commits
  5. 22 Jun, 2016 1 commit
  6. 21 Jun, 2016 1 commit
  7. 19 Jun, 2016 1 commit
  8. 12 Jun, 2016 1 commit
  9. 08 Jun, 2016 2 commits
  10. 03 Jun, 2016 3 commits
  11. 02 Jun, 2016 6 commits
  12. 01 Jun, 2016 4 commits
  13. 31 May, 2016 1 commit
    • Sergei Petrunia's avatar
      MDEV-9764: MariaDB does not limit memory used for range optimization · 01679040
      Sergei Petrunia authored
      A partial backport of 67f21fb3a077dedfd14b9ca720e926c55e682f93,
      Bug#22283790: RANGE OPTIMIZER UTILIZES TOO MUCH MEMORY WITH MANY OR CONDITIONS
      
      The backported part changes SEL_TREE::keys from being an array of
      MAX_KEY elements (64*8=512 bytes) to a Mem_root_array<SEL_ARG*> (32 bytes +
      alloc'ed array of as many elements as we need).
      
      The patch doesn't fix the "not limiting memory" part, but the memory usage
      is much lower with it.
      01679040