1. 29 Jan, 2013 5 commits
  2. 28 Jan, 2013 7 commits
  3. 26 Jan, 2013 2 commits
  4. 25 Jan, 2013 14 commits
    • Michael Widenius's avatar
      Automatic merge · 772bd60a
      Michael Widenius authored
      772bd60a
    • Vladislav Vaintroub's avatar
      fix embedded · 8199838a
      Vladislav Vaintroub authored
      8199838a
    • Michael Widenius's avatar
      Fixed MDEV-3890: Server crash inserting record on a temporary table after truncating it · ea1d5943
      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.
      ea1d5943
    • Vladislav Vaintroub's avatar
      Fix embedded build · db26ab8a
      Vladislav Vaintroub authored
      db26ab8a
    • Vladislav Vaintroub's avatar
      MDEV-3842, MDEV-3923 : · 76400fcc
      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.
      76400fcc
    • Sergei Golubchik's avatar
      5.1 merge · e400450f
      Sergei Golubchik authored
      e400450f
    • Vladislav Vaintroub's avatar
      MDEV-3971 : problems installing MariaDB packages (conflicts with mysql-libs-5.5) · 88649405
      Vladislav Vaintroub authored
      FIx  : make "shared" RPM obsolete/provide mysql-libs
      88649405
    • unknown's avatar
      The problem was that expression with field after transformation (on the first execution) · 298008dc
      unknown authored
      reached by fix_fields() (via reference) before row which it belongs to (on the second execution)
      and fix_field for row did not follow usual protocol for Items with argument
      (first check that the item fixed then call fix_fields).
      
      Item_row::fix_field fixed.
      298008dc
    • Sergei Golubchik's avatar
      MDEV-729 lp:998028 - Server crashes on normal shutdown in closefrm after... · 7f208d3c
      Sergei Golubchik authored
      MDEV-729 lp:998028 - Server crashes on normal shutdown in closefrm after executing a query from MyISAM table
      
      don't write a key value into the record buffer - a key length can be larger then the record length.
      7f208d3c
    • Sergei Golubchik's avatar
      MDEV-759 lp:998340 - Valgrind complains on simple selects containing... · 326d2d56
      Sergei Golubchik authored
      MDEV-759 lp:998340 - Valgrind complains on simple selects containing expression DAY(FROM_UNIXTIME(-1))
      
      check item->null_value before using the result of item->val_int()
      326d2d56
    • Sergei Golubchik's avatar
      5.3 merge · 672b2938
      Sergei Golubchik authored
      client/mysqltest.cc:
        make --error to work for --change_user errors
      672b2938
    • Sergei Golubchik's avatar
      5.2 merge · de10e214
      Sergei Golubchik authored
      de10e214
    • Sergei Golubchik's avatar
      MDEV-4040 Replace deprecated SET OPTION syntax in mysqldump · 9142c50b
      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)
      9142c50b
    • Sergei Golubchik's avatar
      MDEV-3909 remote user enumeration · fa7d0c4f
      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.
      fa7d0c4f
  5. 24 Jan, 2013 5 commits
  6. 23 Jan, 2013 7 commits
    • Igor Babaev's avatar
      Merge 5.3->5.5 · 32151409
      Igor Babaev authored
      32151409
    • Sergei Golubchik's avatar
      main.partition_myisam crashes in embedded. · fa2e68aa
      Sergei Golubchik authored
      long error message with %M fails the assertion in my_vsnprintf
      fa2e68aa
    • Sergei Golubchik's avatar
      fix the failing federated.federated_innodb test: · 6ac52386
      Sergei Golubchik authored
      update all start_bulk_insert() methods to the new signature.
      6ac52386
    • Sergei Golubchik's avatar
    • Sergei Golubchik's avatar
      test suite fixes · 675c1b37
      Sergei Golubchik authored
      libmysqld/lib_sql.cc:
        * don't overwrite my_progname in embedded
        * this memroot is sometimes freed by the caller, outside of THD context
      mysql-test/t/user_var.test:
        typo: duplicate line
      675c1b37
    • Sergei Golubchik's avatar
      cleanup: · c71fad99
      Sergei Golubchik authored
      * don't use 'myf flags', when 'my_bool is_thread_specific' is meant
      * call set_malloc_size_cb() for embedded too
      * warn in safemalloc if the memory is freed by a wrong thread
      
      sql/mysqld.cc:
        move set_malloc_size_cb() to a function that is also called for embedded
      sql/mysqld.h:
        gdb-friendly, one can put breakpoint on a function, but not on a macro
      sql/sql_class.cc:
        initialize thread_id earlier
      c71fad99
    • Sergei Golubchik's avatar
      cleanup: · 52051882
      Sergei Golubchik authored
      * remove unused mysql_option
      * don't allocate 5GB of memory in the mtr tests
      * restore the behavior in dynamic_column_offset_byte(), put the ifdef correctly
      * prefer __attribute__((unused)) to #ifdef
      * prefer UNINIT_VAR to LINT_INIT
      * make most Warning_info users blissfully unaware of the postponed initialization
      * use my_offsetof instead of offsetof where the compiler thinks the latter is incorrect
      52051882