1. 13 May, 2015 1 commit
    • Olivier Bertrand's avatar
      Make BIN table files more flexible with new column format. · e6b60ee5
      Olivier Bertrand authored
      In particular enable to set length and endian setting.
      This should solve all problems on IBM390s machines.
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/tabfix.cpp
        modified:   storage/connect/tabfix.h
      
      Make DBF tables to be usable in big-endian machines (test version)
        modified:   storage/connect/filamdbf.cpp
      
      Ignore git files on storage/connect
        modified:   .gitignore
      e6b60ee5
  2. 10 May, 2015 5 commits
  3. 09 May, 2015 1 commit
    • Olivier Bertrand's avatar
      Get rid of GCC warnings about unused parameters · f5d0c770
      Olivier Bertrand authored
        modified:   storage/connect/array.cpp
        modified:   storage/connect/blkfil.cpp
        modified:   storage/connect/block.h
        modified:   storage/connect/catalog.h
        modified:   storage/connect/colblk.cpp
        modified:   storage/connect/colblk.h
        modified:   storage/connect/connect.cc
        modified:   storage/connect/filamap.cpp
        modified:   storage/connect/filamdbf.cpp
        modified:   storage/connect/filamfix.cpp
        modified:   storage/connect/filamtxt.cpp
        modified:   storage/connect/filamtxt.h
        modified:   storage/connect/filamvct.cpp
        modified:   storage/connect/filamzip.cpp
        modified:   storage/connect/filter.h
        modified:   storage/connect/ha_connect.c
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/mycat.h
        modified:   storage/connect/myconn.cpp
        modified:   storage/connect/plgdbutl.cpp
        modified:   storage/connect/reldef.cpp
        modified:   storage/connect/reldef.h
        modified:   storage/connect/tabcol.cpp
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabdos.h
        modified:   storage/connect/tabfix.cpp
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/tabfmt.h
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabjson.h
        modified:   storage/connect/table.cpp
        modified:   storage/connect/tabmul.cpp
        modified:   storage/connect/tabmysql.cpp
        modified:   storage/connect/tabmysql.h
        modified:   storage/connect/taboccur.cpp
        modified:   storage/connect/tabpivot.cpp
        modified:   storage/connect/tabsys.cpp
        modified:   storage/connect/tabtbl.cpp
        modified:   storage/connect/tabtbl.h
        modified:   storage/connect/tabutil.cpp
        modified:   storage/connect/tabutil.h
        modified:   storage/connect/tabvct.cpp
        modified:   storage/connect/tabvir.cpp
        modified:   storage/connect/tabvir.h
        modified:   storage/connect/tabxcl.cpp
        modified:   storage/connect/tabxcl.h
        modified:   storage/connect/tabxml.cpp
        modified:   storage/connect/tabxml.h
        modified:   storage/connect/valblk.cpp
        modified:   storage/connect/valblk.h
        modified:   storage/connect/value.cpp
        modified:   storage/connect/value.h
        modified:   storage/connect/xindex.cpp
        modified:   storage/connect/xindex.h
        modified:   storage/connect/xobject.h
        modified:   storage/connect/xtable.h
      f5d0c770
  4. 08 May, 2015 1 commit
  5. 07 May, 2015 4 commits
  6. 05 May, 2015 1 commit
    • Olivier Bertrand's avatar
      - Fix a regression bug on (XML) HTML tables. · 12bebceb
      Olivier Bertrand authored
      modified:
        tabxml.cpp
      added:
        xml_html.test
        xml_html.result
        beers.xml
        coffee.htm
      
      - Fix MDEV-7935 by suppressing error resetting code in delete_or_rename_table.
        However, the issue is that this code was added because without it an assertion
        was raised in some cases. Unfortunately I can't remember what were these cases.
        Therefore fixing it in this case will perhaps make a new crash happening on another cases.
      modified:
        ha_connect.cc
      
      - Add the UDF Json_Array_Delete.
      modified:
        jsonudf.cpp
      12bebceb
  7. 02 May, 2015 1 commit
  8. 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
  9. 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
  10. 04 Apr, 2015 1 commit
  11. 02 Apr, 2015 1 commit
  12. 30 Mar, 2015 1 commit
  13. 28 Mar, 2015 1 commit
  14. 22 Mar, 2015 1 commit
  15. 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
  16. 16 Mar, 2015 1 commit
  17. 03 Mar, 2015 1 commit
  18. 02 Mar, 2015 2 commits
  19. 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
  20. 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
  21. 27 Feb, 2015 1 commit
  22. 26 Feb, 2015 1 commit
  23. 25 Feb, 2015 5 commits
  24. 24 Feb, 2015 2 commits