1. 05 May, 2015 1 commit
  2. 01 May, 2015 1 commit
    • Olivier Bertrand's avatar
      - Fix bug on updating JSON expanded values · f5b05a11
      Olivier Bertrand authored
      modified:
        json.result
        tabjson.cpp
        tabjson.h
      
      - Fix bug on multiple tables (directories must be eliminated from file list)
      modified:
        tabmul.cpp
      
      - Update version
      modified:
        ha_connect.cc
      
      - Typo
      modified:
        global.h
        ha_connect.cc
        tabtbl.cpp
        tabutil.cpp
        value.cpp
      f5b05a11
  3. 17 Apr, 2015 1 commit
    • Olivier Bertrand's avatar
      - Fix Catalog JSON table crash when no Jpath · eae8318b
      Olivier Bertrand authored
      - Added JSON OBJECT specification for pretty != 2.
      - Fix NULL values not recognized for nullable JSON columns
      - Issue an error message when a JSON table is created without specifying LRECL if PRETTY != 2.
      - Make JSONColumns use a TDBJSON class.
      - Make JSON table using MAPFAM
      modified:
        filamap.h
        filamtxt.h
        ha_connect.cc
        json.result
        tabjson.cpp
        tabjson.h
        table.cpp
      
      - Implementing Discovery for the XML table type.
      modified:
        domdoc.cpp
        domdoc.h
        ha_connect.cc
        libdoc.cpp
        plgxml.cpp
        plgxml.h
        reldef.cpp
        reldef.h
        tabxml.cpp
        tabxml.h
      
      - Providing an error message when creating an ODBC table via discovery returns
        columns of more than one table.
      modified:
        ha_connect.cc
      
      - TableOptionStruct declaration moved from ha_connect.h to mycat.h
        To make it easier to use by other classes.
      modified:
        ha_connect.cc
        ha_connect.h
        mycat.cc
        mycat.h
        reldef.cpp
        tabmysql.cpp
        taboccur.cpp
        tabpivot.cpp
        tabtbl.cpp
        tabutil.cpp
        tabxcl.cpp
      eae8318b
  4. 04 Apr, 2015 1 commit
  5. 02 Apr, 2015 1 commit
  6. 30 Mar, 2015 1 commit
  7. 28 Mar, 2015 1 commit
  8. 22 Mar, 2015 1 commit
  9. 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
  10. 16 Mar, 2015 1 commit
  11. 03 Mar, 2015 1 commit
  12. 02 Mar, 2015 2 commits
  13. 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
  14. 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
  15. 27 Feb, 2015 1 commit
  16. 26 Feb, 2015 1 commit
  17. 25 Feb, 2015 5 commits
  18. 24 Feb, 2015 7 commits
  19. 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
  20. 22 Feb, 2015 5 commits