1. 26 Jan, 2013 1 commit
  2. 25 Jan, 2013 10 commits
    • Michael Widenius's avatar
      Automatic merge · e0d8c63e
      Michael Widenius authored
      e0d8c63e
    • Vladislav Vaintroub's avatar
      fix embedded · f92b0c9f
      Vladislav Vaintroub authored
      f92b0c9f
    • Michael Widenius's avatar
      Fixed MDEV-3890: Server crash inserting record on a temporary table after truncating it · 9a586595
      Michael Widenius authored
      The problem was that a temporary table was re-created as a non-temporary table.
      
      
      mysql-test/suite/maria/truncate.result:
        Added test cases
      mysql-test/suite/maria/truncate.test:
        Added test cases
      sql/sql_truncate.cc:
        Mark that table to be created is a temporary table
      storage/maria/ha_maria.cc:
        Ensure that temporary tables are not transactional.
      9a586595
    • Vladislav Vaintroub's avatar
      Fix embedded build · eee95437
      Vladislav Vaintroub authored
      eee95437
    • Vladislav Vaintroub's avatar
      MDEV-3842, MDEV-3923 : · 8b4c10c6
      Vladislav Vaintroub authored
      Miscellaneous workarounds for  drop-in compatibility problems with Linux distributions, arounf versioning of the 
      MySQL 5.5 client shared library. There seems to be 3 different ways major distributions handle versioning
      
      1. Fedora  (also Mageia, and likely  other Redhat descendants) way 
         old, 5.1 API functions are given version libmysqlclient_16
         new API functions  (client plugins, mysql_stmt_next ) are given version libmysqlclient_18
         some extra functions beyond API are exported.
         some functions are renamed.
      
      2.Debian Wheezy way 
        all functions are given libmysqlclient_18 version
      
      3. Ubuntu  way (or MySQL/MariaDB download packages)
        no versioning
      
      UIp to this fix, MariaDB distributions did not have any versioning in the libraries, this rendered client library incompatible to distributions 
      thus exchanging  distribution's libmysqlclient.so.18.0.0  with MariaDB's did not work nicely (anywhere but on Ubuntu)
      
      
      THE FIX  
      is to build libraries the same way as distributions do it 
      - when building RPMs, use  same version script as Fedora does, Make sure to export extra-symbols, the same as Fedora exports.
      - when building DEBs, use the same version script as Debian Wheezy
      - do not use version scripts otherwise
      
      
      Also, makes sure that extensions of  MySQL APIs (asynchronous client functionality) is exported by  the shared libraries.
      8b4c10c6
    • Vladislav Vaintroub's avatar
      MDEV-3971 : problems installing MariaDB packages (conflicts with mysql-libs-5.5) · f18b2572
      Vladislav Vaintroub authored
      FIx  : make "shared" RPM obsolete/provide mysql-libs
      f18b2572
    • Sergei Golubchik's avatar
      5.3 merge · f990bddf
      Sergei Golubchik authored
      client/mysqltest.cc:
        make --error to work for --change_user errors
      f990bddf
    • Sergei Golubchik's avatar
      5.2 merge · 03b2eb24
      Sergei Golubchik authored
      03b2eb24
    • Sergei Golubchik's avatar
      MDEV-4040 Replace deprecated SET OPTION syntax in mysqldump · 27ad0a80
      Sergei Golubchik authored
      mysqldump.c: s/SET OPTION/SET/
      (OPTION was, hm, optional since 3.21, so there's no need to use SET OPTION even
      in the old compatibility modes)
      27ad0a80
    • Sergei Golubchik's avatar
      MDEV-3909 remote user enumeration · 9d6fbeaa
      Sergei Golubchik authored
      instead of returning Access denied on the incorrect user name,
      emulate the complete failed logic procedure, possibly with
      the change plugin packet.
      9d6fbeaa
  3. 24 Jan, 2013 2 commits
  4. 23 Jan, 2013 2 commits
  5. 22 Jan, 2013 1 commit
  6. 21 Jan, 2013 4 commits
  7. 22 Jan, 2013 1 commit
  8. 21 Jan, 2013 2 commits
  9. 20 Jan, 2013 4 commits
  10. 19 Jan, 2013 2 commits
  11. 18 Jan, 2013 5 commits
  12. 17 Jan, 2013 1 commit
    • Michael Widenius's avatar
      Don't reset maybe_null in update_used_tables(); This breaks ROLLUP · 47e8231e
      Michael Widenius authored
      This fixed failing test in group_by.test
      
      mysql-test/r/join_outer.result:
        Updated test case
      mysql-test/r/join_outer_jcl6.result:
        Updated test case
      sql/item.cc:
        Don't reset maybe_null in update_used_tables(); This breaks ROLLUP
      sql/item.h:
        Don't reset maybe_null in update_used_tables(); This breaks ROLLUP
      sql/item_cmpfunc.h:
        Don't reset maybe_null in update_used_tables(); This breaks ROLLUP
      47e8231e
  13. 16 Jan, 2013 3 commits
  14. 17 Jan, 2013 2 commits
    • unknown's avatar
      MDEV-3900 Optimizer difference between MySQL and MariaDB with stored functions... · 8704113b
      unknown authored
      MDEV-3900 Optimizer difference between MySQL and MariaDB with stored functions in WHERE clause of UPDATE or DELETE statements
      
      Analysis
      The reason for the less efficient plan was result of a prior design decision -
      to limit the eveluation of constant expressions during optimization to only
      non-expensive ones. With this approach all stored procedures were considered
      expensive, and were not evaluated during optimization. As a result, SPs didn't
      participate in range optimization, which resulted in a plan with table scan
      rather than index range scan.
      
      Solution
      Instead of considering all SPs expensive, consider expensive only those SPs
      that are non-deterministic. If an SP is deterministic, the optimizer will
      checj if it is constant, and may eventually evaluate it during optimization.
      
      8704113b
    • unknown's avatar
      backport of: · 9ba6bb1b
      unknown authored
      Don't reset maybe_null in update_used_tables(); This breaks ROLLUP
      This fixed failing test in group_by.test
      9ba6bb1b