1. 18 Mar, 2015 1 commit
    • Olivier Bertrand's avatar
      This commit includes changes done in a previous (deleted) branch plus new ones. · 2bb42803
      Olivier Bertrand authored
      From the previous branch:
      commit eda4928ff122a0845baf5ade83b4aa29244a3a89
      Author: Olivier Bertrand <bertrandop@gmail.com>
      Date:   Mon Mar 9 22:34:56 2015 +0100
      
      - Add discovery to JSON tables
        When columns are not defined, CONNECT analyses the json file to find column definitions.
        This wors only on table that are an array of objects. Pair keys are used to generate the
        column names and pair values are used for its definition. When the LEVEL option is defined
        as a not null integer, the eventual JPATH is scanned up to the LEVEL value.
      
      From the current one:
      - Fix MDEV-7521 when column names are utf8 encoded (not a general multi-charset fix)
      
      - Adds more to JSON discovery processing and UDF's
      
      - Use PlugDup everywhere it replaces PlugSubAlloc + strcpy.
      2bb42803
  2. 16 Mar, 2015 1 commit
  3. 03 Mar, 2015 1 commit
  4. 02 Mar, 2015 2 commits
  5. 01 Mar, 2015 4 commits
    • Olivier Bertrand's avatar
      - Make json_udf test work on Windows · b9a9b82f
      Olivier Bertrand authored
      modified:
        storage/connect/mysql-test/connect/t/json_udf.inc
      b9a9b82f
    • Olivier Bertrand's avatar
      - Making json_udf test working on linux · 5f4909b3
      Olivier Bertrand authored
      added:
        storage/connect/mysql-test/connect/t/json_udf.inc
      modified:
        storage/connect/mysql-test/connect/r/json_udf.result
        storage/connect/mysql-test/connect/t/json_udf.test
      5f4909b3
    • Olivier Bertrand's avatar
      - Remove a signed/unsigned warning. · 34c89597
      Olivier Bertrand authored
      modified:
        storage/connect/jsonudf.cpp
      34c89597
    • Olivier Bertrand's avatar
      - Fix crash when Json_Value was called without arguments. · 5c8862ee
      Olivier Bertrand authored
        Correct memory calculation in Serialize.
        Correct some UDF's messages.
        Add and modify the json tests
      removed:
        storage/connect/mysql-test/connect/std_data/biblio.jsn
        storage/connect/mysql-test/connect/std_data/expense.jsn
        storage/connect/mysql-test/connect/std_data/mulexp3.jsn
        storage/connect/mysql-test/connect/std_data/mulexp4.jsn
        storage/connect/mysql-test/connect/std_data/mulexp5.jsn
      added:
        storage/connect/mysql-test/connect/r/json_udf.result
        storage/connect/mysql-test/connect/std_data/biblio.json
        storage/connect/mysql-test/connect/std_data/expense.json
        storage/connect/mysql-test/connect/std_data/mulexp3.json
        storage/connect/mysql-test/connect/std_data/mulexp4.json
        storage/connect/mysql-test/connect/std_data/mulexp5.json
        storage/connect/mysql-test/connect/t/json_udf.test
      modified:
        storage/connect/json.cpp
        storage/connect/jsonudf.cpp
        storage/connect/mysql-test/connect/r/json.result
        storage/connect/mysql-test/connect/t/json.test
      5c8862ee
  6. 28 Feb, 2015 1 commit
    • Olivier Bertrand's avatar
      - Implement random access to ODBC tables · d862d7c0
      Olivier Bertrand authored
      modified:
        storage/connect/odbconn.cpp
        storage/connect/odbconn.h
      
      - Fix get proper length of ODBC DECIMAL column in discovery
      modified:
        storage/connect/ha_connect.cc
        storage/connect/mysql-test/connect/r/odbc_oracle.result
      
      - Implement random access to JSON tables
      modified:
        storage/connect/tabjson.cpp
        storage/connect/tabjson.h
      
      - Fix MDEV-7636
      modified:
        storage/connect/tabutil.cpp
      d862d7c0
  7. 27 Feb, 2015 1 commit
  8. 26 Feb, 2015 1 commit
  9. 25 Feb, 2015 5 commits
  10. 24 Feb, 2015 7 commits
  11. 23 Feb, 2015 3 commits
    • Kristian Nielsen's avatar
      MDEV-7458: Deadlock in parallel replication can allow following transaction to... · 79e9ff44
      Kristian Nielsen authored
      MDEV-7458: Deadlock in parallel replication can allow following transaction to start replicating too early
      
      In parallel replication, don't rollback inside ha_commit_trans() in case of
      error.
      
      The rollback will be done later, but the parallel replication code needs to
      run unmark_start_commit() before the rollback to properly control the
      sequencing of transactions.
      
      I did not manage to come up with a reliable automatic test case for this, but
      I tested it manually.
      79e9ff44
    • Kristian Nielsen's avatar
      Add error handling on realpath() call. · 41cfdc83
      Kristian Nielsen authored
      (Without this, it happened for me that realpath() failed returning
      undef for the default vardir. This in turn caused mysql-test-run.pl to
      delete the source mysql-test/ directory.)
      
      Backport from 10.1, it's not nice to get one's source directory nuked
      by a rouge mysql-test-run.
      41cfdc83
    • Jan Lindström's avatar
      MDEV-7620: Transaction lock wait is missing number of lock · 90635c6f
      Jan Lindström authored
      waits and total wait time.
      90635c6f
  12. 22 Feb, 2015 7 commits
  13. 20 Feb, 2015 5 commits
  14. 19 Feb, 2015 1 commit