An error occurred fetching the project authors.
  1. 17 Jan, 2017 1 commit
  2. 23 Dec, 2016 1 commit
    • Olivier Bertrand's avatar
      Fix some XML table type bugs: · e6b563f8
      Olivier Bertrand authored
      - in DOMNODELIST::DropItem
        if (Listp == NULL || Listp->length <= n)
          return true;
      is wrong, should be:
        if (Listp == NULL || Listp->length < n)
          return true;
      - Crash in discovery with libxml2 in XMLColumns because:
                  if (!tdp->Usedom)    // nl was destroyed
                    vp->nl = vp->pn->GetChildElements(g);
      is executed with vp->pn uninitialized. Fixed by adding:
                vp->pn = node;
      line 264.
      -In discovery with libxml2 some columns are not found.
      Because list was not recovered properly, nodes being modified and not reallocated.
      Fixed lines 214 and 277.
        modified:   storage/connect/domdoc.cpp
        modified:   storage/connect/tabxml.cpp
      
      Add support for zipped table files
        modified:   storage/connect/domdoc.cpp
        modified:   storage/connect/domdoc.h
        modified:   storage/connect/filamap.cpp
        modified:   storage/connect/filamap.h
        modified:   storage/connect/filamzip.cpp
        modified:   storage/connect/filamzip.h
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/libdoc.cpp
        modified:   storage/connect/plgdbutl.cpp
        modified:   storage/connect/plgxml.cpp
        modified:   storage/connect/plgxml.h
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabdos.h
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabxml.cpp
      e6b563f8
  3. 12 Dec, 2016 1 commit
    • Olivier Bertrand's avatar
      - MDEV-11295: developing handling files contained in ZIP file. · d44723e6
      Olivier Bertrand authored
        A first experimental and limited implementation.
        modified:   storage/connect/CMakeLists.txt
        modified:   storage/connect/filamap.cpp
        new file:   storage/connect/filamzip.cpp
        new file:   storage/connect/filamzip.h
        modified:   storage/connect/ha_connect.cc
        new file:   storage/connect/ioapi.c
        new file:   storage/connect/ioapi.h
        modified:   storage/connect/mycat.cc
        modified:   storage/connect/plgdbsem.h
        modified:   storage/connect/plgdbutl.cpp
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabdos.h
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/tabfmt.h
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabjson.h
        new file:   storage/connect/tabzip.cpp
        new file:   storage/connect/tabzip.h
        new file:   storage/connect/unzip.c
        new file:   storage/connect/unzip.h
        new file:   storage/connect/zip.c
      d44723e6
  4. 12 May, 2016 1 commit
  5. 14 Dec, 2015 1 commit
  6. 27 May, 2015 1 commit
    • Olivier Bertrand's avatar
      Change all preprocessor compiler directives to use __WIN__ as the mean of · b6a56370
      Olivier Bertrand authored
      specifying Windows or not Windows compile. This is what MariaDB does.
        modified:   storage/connect/array.cpp
        modified:   storage/connect/blkfil.cpp
        modified:   storage/connect/block.h
        modified:   storage/connect/colblk.cpp
        modified:   storage/connect/domdoc.cpp
        modified:   storage/connect/filamap.cpp
        modified:   storage/connect/filamdbf.cpp
        modified:   storage/connect/filamfix.cpp
        modified:   storage/connect/filamtxt.cpp
        modified:   storage/connect/filamvct.cpp
        modified:   storage/connect/filamzip.cpp
        modified:   storage/connect/filter.cpp
        modified:   storage/connect/filter.h
        modified:   storage/connect/fmdlex.c
        modified:   storage/connect/global.h
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/json.cpp
        modified:   storage/connect/macutil.cpp
        modified:   storage/connect/macutil.h
        modified:   storage/connect/maputil.cpp
        modified:   storage/connect/mycat.cc
        modified:   storage/connect/myconn.cpp
        modified:   storage/connect/myconn.h
        modified:   storage/connect/myutil.cpp
        modified:   storage/connect/odbconn.cpp
        modified:   storage/connect/odbconn.h
        modified:   storage/connect/os.h
        modified:   storage/connect/osutil.c
        modified:   storage/connect/plgdbsem.h
        modified:   storage/connect/plgdbutl.cpp
        modified:   storage/connect/plugutil.c
        modified:   storage/connect/rcmsg.c
        modified:   storage/connect/reldef.cpp
        modified:   storage/connect/reldef.h
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabfix.cpp
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabmac.cpp
        modified:   storage/connect/tabmac.h
        modified:   storage/connect/tabmul.cpp
        modified:   storage/connect/tabmul.h
        modified:   storage/connect/tabmysql.cpp
        modified:   storage/connect/taboccur.cpp
        modified:   storage/connect/tabodbc.cpp
        modified:   storage/connect/tabpivot.cpp
        modified:   storage/connect/tabsys.cpp
        modified:   storage/connect/tabtbl.cpp
        modified:   storage/connect/tabutil.cpp
        modified:   storage/connect/tabvct.cpp
        modified:   storage/connect/tabwmi.cpp
        modified:   storage/connect/tabxcl.cpp
        modified:   storage/connect/tabxml.cpp
        modified:   storage/connect/valblk.cpp
        modified:   storage/connect/value.cpp
        modified:   storage/connect/xindex.cpp
        modified:   storage/connect/xindex.h
      b6a56370
  7. 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
  8. 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
  9. 22 Feb, 2015 1 commit
    • Olivier Bertrand's avatar
      - Add new Json UDF's Json_Array_Add, Json_Array_Grp and Json_Object_Grp. · a736e63f
      Olivier Bertrand authored
        Handle longjmp's raised during json processing.
      modified:
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/json.cpp
        storage/connect/jsonudf.cpp
      
      - Fix wrong references to the suppressed g->Trace variables.
      modified:
        storage/connect/global.h
        storage/connect/plugutil.c
        storage/connect/tabjson.cpp
        storage/connect/tabodbc.cpp
      a736e63f
  10. 16 Nov, 2014 1 commit
    • Olivier Bertrand's avatar
      - Remove gcc warning (no previous declaration of msglang) · b9165cb5
      Olivier Bertrand authored
      modified:
        storage/connect/ha_connect.cc
      
      - Define strcasecmp for Linux
      modified:
        storage/connect/rcmsg.c
      
      - Avoid potential buffer overflow
      modified:
        storage/connect/plgdbutl.cpp
        
      - Change %d in %lld in VALUE_TOO_BIG message
      modified:
        storage/connect/encas.h
        storage/connect/english.msg
        storage/connect/frcas.h
        storage/connect/french.msg
        storage/connect/frmsg.h
      b9165cb5
  11. 15 Nov, 2014 1 commit
    • Olivier Bertrand's avatar
      - Implement the NEWMSG and XMSG methods · 5d831196
      Olivier Bertrand authored
        They are still experimental and should not be used in production.
      added:
        storage/connect/encas.h
        storage/connect/english.msg
        storage/connect/enids.h
        storage/connect/frcas.h
        storage/connect/french.msg
        storage/connect/frids.h
        storage/connect/frmsg.h
      modified:
        storage/connect/connect.cc
        storage/connect/engmsg.h
        storage/connect/filamdbf.cpp
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/msgid.h
        storage/connect/plgdbutl.cpp
        storage/connect/plugutil.c
        storage/connect/rcmsg.c
        storage/connect/resource.h
        storage/connect/tabfmt.h
      
      - Fix global variable not being properly initialized (MDEV-6690, MDEV-7094)
      modified:
        storage/connect/ha_connect.cc
        storage/connect/plugutil.c
        storage/connect/user_connect.cc
        storage/connect/xindex.cpp
      
      - Implement Rewind for ODBC tables (MDEV-7097)
      modified:
        storage/connect/odbconn.cpp
        storage/connect/odbconn.h
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
      
      - Reset N when reopening MYSQL tables
      modified:
        storage/connect/tabmysql.cpp
      5d831196
  12. 08 Nov, 2014 1 commit
    • Olivier Bertrand's avatar
      - Calculate next position in filamap without assuming ENDING option is true. · bd481432
      Olivier Bertrand authored
      modified:
        storage/connect/filamap.cpp
      
      - ftell error: indicate in the error msg that is can be due to wrong ENDING value.
        filamtxt.cpp (MDEV-7030)
      modified:
        storage/connect/filamtxt.cpp
      
      - Change STRING according to Alexander Barkov remarks.
        Suppress the wrong Strz function. The unconditional function strz is no more
        used for s->db and s->table_name because they are zero terminated.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/xobject.cpp
      
      - Change version number
      modified:
        storage/connect/filamap.cpp
      
      - Change PATH_MAX to FN_REFLEN (MDEV-7036)
      modified:
        storage/connect/os.h
        storage/connect/tabmul.cpp
      
      - Fix bug by adding a void argument for OP_NOT in Makefilter.
      modified:
        storage/connect/filter.cpp
      
      - Begin implementing XMSG style
        Two new system variables are defined:
        msg_lang ENUM session
        errmsg_dir_path STR global readonly
        This is a work in progress.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/plgdbutl.cpp
        storage/connect/plugutil.c
        storage/connect/rcmsg.c
        storage/connect/resource.h
      bd481432
  13. 21 Oct, 2014 1 commit
    • Olivier Bertrand's avatar
      1) Handling string memory allocation with a new STRING class. This is only · 56e27713
      Olivier Bertrand authored
         the beginning. Defining the STRING class and begining to use it (MYSQL)
      
      2) Change the xtrace, use_tempfile and exact_info connect variables from
         GLOBAL to SESSION. Remaining GLOBAL variables have been made readonly.
      
      3) Take care of LEX_STRING variables. The .str should not be regarded as
         allways being 0 terminated. This is handled by the Strz functions that
         make sure to return 0 terminated strings.
      
      Bug fix:
      - When inserting in MYSQL table with special column(s) a query such as:
      insert into t2 values(0,4,'new04'),(0,5,'new05');
      failed saying: column id (the special column) not found in t2.
      It is now accepted but must be counted in values (these 0 are ignored)
      - ROWID was returning row numbers based 0. Now it is from base 1.
      
      modified:
        storage/connect/array.cpp
        storage/connect/blkfil.cpp
        storage/connect/colblk.cpp
        storage/connect/connect.cc
        storage/connect/filamap.cpp
        storage/connect/filamdbf.cpp
        storage/connect/filamfix.cpp
        storage/connect/filamtxt.cpp
        storage/connect/filamvct.cpp
        storage/connect/filamzip.cpp
        storage/connect/filamzip.h
        storage/connect/filter.cpp
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/libdoc.cpp
        storage/connect/mycat.cc
        storage/connect/myconn.cpp
        storage/connect/odbconn.cpp
        storage/connect/plgdbutl.cpp
        storage/connect/plugutil.c
        storage/connect/reldef.cpp
        storage/connect/tabcol.cpp
        storage/connect/tabdos.cpp
        storage/connect/tabfix.cpp
        storage/connect/tabfmt.cpp
        storage/connect/table.cpp
        storage/connect/tabmul.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabmysql.h
        storage/connect/taboccur.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabpivot.cpp
        storage/connect/tabsys.cpp
        storage/connect/tabtbl.cpp
        storage/connect/tabutil.cpp
        storage/connect/tabvct.cpp
        storage/connect/tabwmi.cpp
        storage/connect/tabwmi.h
        storage/connect/tabxcl.cpp
        storage/connect/tabxml.cpp
        storage/connect/user_connect.cc
        storage/connect/valblk.cpp
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xindex.cpp
        storage/connect/xobject.cpp
        storage/connect/xobject.h
        storage/connect/xtable.h
      56e27713
  14. 12 Oct, 2014 1 commit
  15. 23 Aug, 2014 1 commit
    • Olivier Bertrand's avatar
      - Move DataPath from the MYCAT catalog to the ha_connect handler. Indeed · 74a46726
      Olivier Bertrand authored
        it belongs to each tables and the catalog being share between several
        instances of CONNECT, when a query implied several tables belonging to
        different databases, some where pointing on the wrong database. This
        fix bugs occuring in queries such as:
        INSERT into db1.t1 select * from db2.t2;
        Where the t1 data file was made in db2.
      modified:
        storage/connect/catalog.h
        storage/connect/connect.cc
        storage/connect/filamdbf.cpp
        storage/connect/filamdbf.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/mycat.cc
        storage/connect/mycat.h
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
        storage/connect/reldef.cpp
        storage/connect/reldef.h
        storage/connect/tabfix.h
        storage/connect/tabfmt.cpp
        storage/connect/tabfmt.h
        storage/connect/tabmul.cpp
      74a46726
  16. 22 Aug, 2014 1 commit
    • Olivier Bertrand's avatar
      - Add a new CONNECT global variable allowing to tell whether or not · f930f4ed
      Olivier Bertrand authored
        a temporary file should be used for UPDATE/DELETE of file tables.
        Also use the "sorted" argument of index_init to help decide if
        sorting of positions must be done.
      modified:
        storage/connect/checklvl.h
        storage/connect/connect.cc
        storage/connect/connect.h
        storage/connect/filamdbf.cpp
        storage/connect/filamfix.cpp
        storage/connect/filamfix.h
        storage/connect/filamtxt.cpp
        storage/connect/ha_connect.cc
        storage/connect/mysql-test/connect/r/part_table.result
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
        storage/connect/reldef.cpp
        storage/connect/tabdos.cpp
        storage/connect/tabdos.h
        storage/connect/tabfix.cpp
        storage/connect/tabfmt.cpp
        storage/connect/tabvct.cpp
        storage/connect/tabvct.h
        storage/connect/xindex.cpp
      
      - Fix a bug in TDBASE::ColDB that caused some special columns not to
        be found in the column list and reallocated without their Value
        causing a crash of some queries.
      modified:
        storage/connect/table.cpp
      
      - Fix a bug causing RestoreNrec to be called before closing a table
        causing a wrong value given to Spos
      modified:
        storage/connect/tabdos.cpp
        storage/connect/xindex.cpp
      
      - Add a new CONNECT global variable connect_exact_info. Set to ON, it
        tells CONNECT to return exact record numbers on info queries. If OFF
        it just gives an estimate. In version 10.0.13 this was unconditionally
        ON and caused info queries on remote tables to be extremely long and
        was the subject of MDEV-6612.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/tabdos.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
      f930f4ed
  17. 07 Aug, 2014 1 commit
    • Olivier Bertrand's avatar
      This is a major update that fixes most of the issues and bugs that · 0219ac1e
      Olivier Bertrand authored
      have been created by the last addition of new CONNECT features.
      The version previous to this one is a preliminary test version and
      should not be distributed.
      
      - Handle indexed UPDATE/DELETE. Previously this was just tested and
        an error message send when it could not be done. Now CONNECT can
        do it in all the cases. It is done by a MRR like tchnique by making
        a list of all update or delete to do, sort them, then execute them.
      modified:
        storage/connect/array.cpp
        storage/connect/array.h
        storage/connect/filamap.cpp
        storage/connect/filamap.h
        storage/connect/filamdbf.cpp
        storage/connect/filamfix.cpp
        storage/connect/filamfix.h
        storage/connect/filamtxt.cpp
        storage/connect/filamtxt.h
        storage/connect/filamvct.cpp
        storage/connect/filamvct.h
        storage/connect/filamzip.cpp
        storage/connect/filamzip.h
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
      
      - Differenciate Cardinality that returns a true or estimated table size
        and GetMaxSize that return a value equal or greater than the table
        row number. This fixes the errors of non matching opt files.
      modified:
        storage/connect/connect.cc
        storage/connect/tabdos.cpp
        storage/connect/tabdos.h
        storage/connect/tabfix.cpp
        storage/connect/table.cpp
        storage/connect/tabmac.h
        storage/connect/tabmysql.cpp
        storage/connect/tabmysql.h
        storage/connect/tabodbc.cpp
        storage/connect/tabodbc.h
        storage/connect/tabpivot.h
        storage/connect/tabtbl.cpp
        storage/connect/tabtbl.h
        storage/connect/tabutil.cpp
        storage/connect/tabutil.h
        storage/connect/tabwmi.h
        storage/connect/xtable.h
      
      - Fix some errors and issues when making index and opt files.
        Erase opt and index files for void tables.
        Fix wrong calculation of Block and Last in MakeBlockValues.
        Invalidate indexes before making opt file.
        Fully handle blocked variable tables. Make opt file for blocked
        variable tables even when they have no optimised colums.
      modified:
        storage/connect/tabdos.cpp
        storage/connect/xindex.h
      
      - Fix some errors making index
        Return an error when the allocation is too small (should not
        really occur now that GetMaxSize is sure)
        Don't use XXROW index for DBF tables because of soft deleted lines.
      modified:
        storage/connect/xindex.cpp
      
      - Typo
      modified:
        storage/connect/macutil.cpp
        storage/connect/tabdos.h
        storage/connect/tabsys.cpp
        storage/connect/tabsys.h
      0219ac1e
  18. 17 Jul, 2014 1 commit
    • Olivier Bertrand's avatar
      This commit brings many changes, in particular two important ones: · 19042843
      Olivier Bertrand authored
      1) Support of partitioning by connect. A table can be partitioned
         by files, this is an enhanced MULTIPLE table. It can be also
         partitioned by sub-tables like TBL and this enables table sharding.
      2) Handling a CONNECT bug that causes in some cases extraneous rows
         to remain in the table after an UPDATE or DELETE when the command
         uses indexing (for not fixed file tables). Until a real fix is
         done, CONNECT tries to ignore indexing and if it cannot do it
         abort the command with an error message.
      
      - Add tests on partitioning
      added:
        storage/connect/mysql-test/connect/r/part_file.result
        storage/connect/mysql-test/connect/r/part_table.result
        storage/connect/mysql-test/connect/t/part_file.test
        storage/connect/mysql-test/connect/t/part_table.test
      
      - Temporary fix
      modified:
        sql/sql_partition.cc
      
      - Add partition support
      modified:
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/reldef.cpp
        storage/connect/reldef.h
        storage/connect/tabdos.cpp
      
      - Add functions ha_connect::IsUnique and ha_connect::CheckColumnList
      modified:
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
      
      - Prevent updating a partition table column that is part of
        the partition function (outward tables only)
      modified:
        storage/connect/ha_connect.cc
      
      - Support INSERT/UPDATE/DELETE for PROXY tables
      modified:
        storage/connect/tabutil.cpp
      
      - Handle the bug on updating rows via indexing. Waiting for a real fix,
        Don't use indexing when possible else raise an error and abort.
      modified:
        storage/connect/ha_connect.cc
      
      - dbuserp->UseTemp set to TMP_AUTO
      modified:
        storage/connect/connect.cc
      
      - Add members nox, abort and only
      modified:
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
      
      - Add arguments nox and abort to CntCloseTable
      modified:
        storage/connect/connect.cc
        storage/connect/connect.h
        storage/connect/filamap.cpp
        storage/connect/filamap.h
        storage/connect/filamdbf.cpp
        storage/connect/filamdbf.h
        storage/connect/filamfix.cpp
        storage/connect/filamfix.h
        storage/connect/filamtxt.cpp
        storage/connect/filamtxt.h
        storage/connect/filamvct.cpp
        storage/connect/filamvct.h
        storage/connect/filamzip.cpp
        storage/connect/filamzip.h
        storage/connect/ha_connect.cc
      
      - Add arguments abort to CloseTableFile and RenameTempFile
      modified:
        storage/connect/filamap.cpp
        storage/connect/filamap.h
        storage/connect/filamdbf.cpp
        storage/connect/filamdbf.h
        storage/connect/filamfix.cpp
        storage/connect/filamfix.h
        storage/connect/filamtxt.cpp
        storage/connect/filamtxt.h
        storage/connect/filamvct.cpp
        storage/connect/filamvct.h
        storage/connect/filamzip.cpp
        storage/connect/filamzip.h
        storage/connect/tabdos.cpp
        storage/connect/tabdos.h
        storage/connect/tabvct.cpp
        storage/connect/xtable.h
      
      - Fix info->records when file does not exists
      modified:
        storage/connect/connect.cc
      
      - Close XML table when opened for info
      modified:
        storage/connect/connect.cc
      
      - Add function VCTFAM::GetFileLength
      modified:
        storage/connect/filamvct.cpp
        storage/connect/filamvct.h
      
      - Column option DISTRIB -> ENUM
      modified:
        storage/connect/ha_connect.cc
      
      - Options connect, query_string and partname allways available
      modified:
        storage/connect/ha_connect.cc
      
      - Add function MYSQLC::GetTableSize
      modified:
        storage/connect/myconn.cpp
        storage/connect/myconn.h
      
      - Add new special columns (PARTNAME, FNAME, FPATH, FTYPE and FDISK)
      modified:
        storage/connect/colblk.cpp
        storage/connect/colblk.h
        storage/connect/plgdbsem.h
        storage/connect/table.cpp
      
      - Add function ExtractFromPath
      modified:
        storage/connect/colblk.cpp
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
      
      - Enhance Cardinality for some table types
      modified:
        storage/connect/tabdos.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabmysql.h
        storage/connect/tabodbc.cpp
        storage/connect/tabodbc.h
        storage/connect/tabsys.cpp
        storage/connect/tabsys.h
        storage/connect/xindex.cpp
        storage/connect/xindex.h
        storage/connect/xtable.h
      
      - Add test on special column
      modified:
        storage/connect/tabfmt.cpp
      
      - Add new files (added for block indexing)
      modified:
        storage/connect/CMakeLists.txt
      19042843
  19. 14 Apr, 2014 1 commit
    • Olivier Bertrand's avatar
      - In info, the file length sometimes could not be caculated because the · 213ecbbb
      Olivier Bertrand authored
        catalog data path had not been set. This was added into ha_connect::info.
      modified:
        storage/connect/ha_connect.cc
      
      - All the functions querying table options could return information from the wrong
        table when several CONNECT tables were used in the same query (for instance joined
        together) This was because they belonged to the catalog class that is shared between
        all tables in the same query. They have been moved from the catalog class to the
        TABDEF/RELDEF class that is attached to each table. This was a major potential bug.
      modified:
        storage/connect/catalog.h
        storage/connect/filamvct.cpp
        storage/connect/filamzip.cpp
        storage/connect/mycat.cc
        storage/connect/mycat.h
        storage/connect/reldef.cpp
        storage/connect/reldef.h
        storage/connect/tabdos.cpp
        storage/connect/tabfmt.cpp
        storage/connect/tabmul.cpp
        storage/connect/tabmysql.cpp
        storage/connect/taboccur.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabpivot.cpp
        storage/connect/tabsys.cpp
        storage/connect/tabtbl.cpp
        storage/connect/tabutil.cpp
        storage/connect/tabvct.cpp
        storage/connect/tabwmi.cpp
        storage/connect/tabxcl.cpp
        storage/connect/tabxml.cpp
        storage/connect/xindex.cpp
      
      - Prepare indexing of MYSQL/ODBC tables (as does FEDERATED) (Not implemented yet)
      modified:
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/mycat.cc
        storage/connect/mycat.h
      
      - Typo
      modified:
        storage/connect/plgdbutl.cpp
      213ecbbb
  20. 18 Mar, 2014 1 commit
    • Olivier Bertrand's avatar
      - FIX PIVOT bug MDEV-5869 caused by using fop (field option ptr) when NULL. · 6b63c5b2
      Olivier Bertrand authored
      modified:
        storage/connect/ha_connect.cc
      
      - Suppress the use of connect.in by adding the connect_xtrace system variable.
      modified:
        storage/connect/ha_connect.cc
      
      - Make column length, varchar, and temporal column types recognized in discovery
        when using SRCDEF,or PIVOT.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/myutil.cpp
        storage/connect/plgdbsem.h
      
      - Avoid (rare) crash when using DECIMAL type. (buf was too small)
      modified:
        storage/connect/tabfmt.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabpivot.cpp
        storage/connect/valblk.cpp
        storage/connect/value.cpp
      
      - General cleaning of unused code, standardize tracing, and update version number
      modified:
        storage/connect/block.h
        storage/connect/colblk.cpp
        storage/connect/connect.cc
        storage/connect/csort.h
        storage/connect/filamap.cpp
        storage/connect/filamdbf.cpp
        storage/connect/filamfix.cpp
        storage/connect/filamzip.cpp
        storage/connect/ha_connect.cc
        storage/connect/mycat.cc
        storage/connect/myconn.cpp
        storage/connect/mysql-test/connect/r/alter.result
        storage/connect/mysql-test/connect/r/xml.result
        storage/connect/myutil.cpp
        storage/connect/osutil.c
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
        storage/connect/plugutil.c
        storage/connect/reldef.cpp
        storage/connect/tabcol.cpp
        storage/connect/tabfmt.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabpivot.cpp
        storage/connect/tabvct.cpp
        storage/connect/user_connect.cc
        storage/connect/valblk.cpp
        storage/connect/value.cpp
        storage/connect/xindex.cpp
      6b63c5b2
  21. 10 Mar, 2014 1 commit
    • Olivier Bertrand's avatar
      - Temporary · 85e8aee4
      Olivier Bertrand authored
      modified:
        storage/connect/catalog.h
        storage/connect/colblk.cpp
        storage/connect/colblk.h
        storage/connect/connect.cc
        storage/connect/filamap.cpp
        storage/connect/filamfix.cpp
        storage/connect/filamfix.h
        storage/connect/filamtxt.cpp
        storage/connect/filamvct.cpp
        storage/connect/filamzip.cpp
        storage/connect/filamzip.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
        storage/connect/reldef.cpp
        storage/connect/reldef.h
        storage/connect/tabdos.cpp
        storage/connect/tabdos.h
        storage/connect/tabfix.cpp
        storage/connect/tabfix.h
        storage/connect/tabfmt.cpp
        storage/connect/tabfmt.h
        storage/connect/table.cpp
        storage/connect/tabmac.h
        storage/connect/tabmul.h
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabsys.cpp
        storage/connect/tabsys.h
        storage/connect/tabtbl.cpp
        storage/connect/tabtbl.h
        storage/connect/tabvct.cpp
        storage/connect/tabvct.h
        storage/connect/tabwmi.cpp
        storage/connect/tabwmi.h
        storage/connect/tabxml.cpp
        storage/connect/tabxml.h
        storage/connect/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xobject.cpp
        storage/connect/xobject.h
        storage/connect/xtable.h
      85e8aee4
  22. 16 Feb, 2014 1 commit
    • Olivier Bertrand's avatar
      # This is a minor change commitment · ad9d7e85
      Olivier Bertrand authored
      - Fix accidental crash when closing domdoc xml table
      modified:
        storage/connect/domdoc.cpp
      
      - Update table and index flags. Correct version number in maria_declare_plugin.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/mycat.cc
        storage/connect/mycat.h
      
      - Fix syntax error when getting columns of a non-select srcdef (discovery)
      modified:
        storage/connect/myconn.cpp
      
      - Update some tests and result according to new flag setting
      modified:
        storage/connect/mysql-test/connect/r/alter.result
        storage/connect/mysql-test/connect/r/dbf.result
        storage/connect/mysql-test/connect/t/dbf.test
      
      - Change some tracing tests to avoid too much test printed
      modified:
        storage/connect/plgdbutl.cpp
        storage/connect/tabutil.cpp
        storage/connect/value.cpp
      ad9d7e85
  23. 03 Feb, 2014 1 commit
    • Olivier Bertrand's avatar
      This is a major update of CONNECT that goes from version 1.1 to 1.2 · 5133cb5e
      Olivier Bertrand authored
      ===================================================================
      - Implement a first support of the ALTER TABLE command. This fixes MDEV-5440
        but does much more than only that. See the details of how ALTER is supported
        in the new documentation and also in MDEV-5440 comment.
        This is done principally by implementing for CONNECT the virtual function
        check_if_supported_inplace_alter.
      modified:
        storage/connect/connect.cc
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/mysql-test/connect/r/bin.result
        storage/connect/mysql-test/connect/r/csv.result
        storage/connect/mysql-test/connect/r/dbf.result
        storage/connect/mysql-test/connect/r/dir.result
        storage/connect/mysql-test/connect/r/fix.result
        storage/connect/mysql-test/connect/r/index.result
        storage/connect/mysql-test/connect/r/ini.result
        storage/connect/mysql-test/connect/r/occur.result
        storage/connect/mysql-test/connect/r/pivot.result
        storage/connect/mysql-test/connect/r/vec.result
        storage/connect/mysql-test/connect/t/dbf.test
        storage/connect/plugutil.c
        storage/connect/user_connect.cc
      
      - Fixes the tabname/table_name issue for XML tables. Implement
        multiple files XML tables.
      modified:
        storage/connect/tabxml.cpp
        storage/connect/tabxml.h
      
      - Set to varchar(256) the fields of catalog tables stored
        as STRBLK's (had length 0 --> CHAR(1))
        Add the GetCharString function to the VALBLK class
      modified:
        storage/connect/ha_connect.cc
        storage/connect/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
      
      - Translate CONNECT error messages to system_charset
        to avoid truncation on not ASCII characters.
      modified:
        storage/connect/ha_connect.cc
      
      - Update version number
      modified:
        storage/connect/ha_connect.cc
        storage/connect/mysql-test/connect/r/xml.result
      
      - Move the TDBASE::data_charset body from xtable.h to table.cpp.
        (dont' remember why)
      modified:
        storage/connect/table.cpp
        storage/connect/xtable.h
      
      - Other modifications are to enhance the support of OEM tables.
        In particular, they can now provide column definition in dicovery.
      modified:
        storage/connect/colblk.h
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/mycat.cc
        storage/connect/plgcnx.h
        storage/connect/plgdbsem.h
        storage/connect/xtable.h
      
      - Or to add or modify tracing.
      modified:
        storage/connect/filamtxt.cpp
        storage/connect/ha_connect.cc
        storage/connect/plgdbutl.cpp
        storage/connect/tabfix.cpp
        storage/connect/tabmysql.cpp
      5133cb5e
  24. 28 Dec, 2013 1 commit
    • Olivier Bertrand's avatar
      - Add the DECIMAL data type (TYPE_DECIM) · c055e5e0
      Olivier Bertrand authored
        Change the variable name of the DOUBLE type from TYPE_FLOAT to TYPE_DOUBLE
        Change some names to reflect ODBC version 3. This affects some variable
        names, function names and catalog table column names.
        Qualifier -> Catalog
        Owner (Creator) -> Schema
        Length -> Precision
        Prec -> Scale
      
      modified:
        storage/connect/catalog.h
        storage/connect/colblk.cpp
        storage/connect/colblk.h
        storage/connect/filamdbf.cpp
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/mysql-test/connect/r/mysql_new.result
        storage/connect/mysql-test/connect/r/odbc_oracle.result
        storage/connect/myutil.cpp
        storage/connect/odbconn.cpp
        storage/connect/plgdbutl.cpp
        storage/connect/rcmsg.c
        storage/connect/reldef.cpp
        storage/connect/reldef.h
        storage/connect/tabcol.cpp
        storage/connect/tabcol.h
        storage/connect/tabdos.cpp
        storage/connect/tabfmt.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabodbc.h
        storage/connect/tabsys.cpp
        storage/connect/tabutil.cpp
        storage/connect/tabwmi.cpp
        storage/connect/tabxml.cpp
        storage/connect/valblk.cpp
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xindex.cpp
        storage/connect/xobject.cpp
        storage/connect/xobject.h
      
      - Fix crash when GetTDB returned NULL in Open_Table
      
      modified:
        storage/connect/ha_connect.cc
      
      - Fix assert error setting double values from PSZ
      
      modified:
        storage/connect/valblk.cpp
      c055e5e0
  25. 17 Dec, 2013 1 commit
  26. 16 Dec, 2013 1 commit
    • Olivier Bertrand's avatar
      - Fix MDEV-5393 and MDEV-5434. It is a major update of ODBC catalog tables · e2804d9b
      Olivier Bertrand authored
        processing that takes care of:
        - Drastically reduce the amount of storge needed to process them.
        - Handle longjmp's.
        - Makes the line limit an opion (MAXRES)
        - Schema can also be specified with the DBNAME option.
        - Issue warnings on fetch errors or when result lines have been limited.
        - Change some column names to reflect ODBC version 3 standard.
        The documentation have been updated accordingly
      
      modified:
        storage/connect/filamdbf.cpp
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/mysql-test/connect/r/odbc.result
        storage/connect/mysql-test/connect/r/odbc_postgresql.result
        storage/connect/mysql-test/connect/r/odbc_sqlite3.result
        storage/connect/mysql-test/connect/r/odbc_xls.result
        storage/connect/mysql-test/connect/r/xml.result
        storage/connect/mysql-test/connect/t/odbc_postgresql.test
        storage/connect/odbccat.h
        storage/connect/odbconn.cpp
        storage/connect/odbconn.h
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
        storage/connect/rcmsg.c
        storage/connect/tabfmt.cpp
        storage/connect/table.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabodbc.h
        storage/connect/tabutil.cpp
        storage/connect/tabwmi.cpp
        storage/connect/user_connect.cc
        storage/connect/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
      e2804d9b
  27. 11 Dec, 2013 1 commit
    • Olivier Bertrand's avatar
      - Add longjmp initialization in PlgAllocResult · 7e8504b5
      Olivier Bertrand authored
      modified:
        storage/connect/plgdbutl.cpp
      
      - Update type translation to take care of type_modifiers
      
      modified:
        storage/connect/ha_connect.cc
        storage/connect/myutil.cpp
        storage/connect/myutil.h
        storage/connect/odbconn.cpp
      7e8504b5
  28. 26 Nov, 2013 1 commit
    • Olivier Bertrand's avatar
      - Fix gcc compilation warnings · 385dbaea
      Olivier Bertrand authored
      modified:
        storage/connect/odbconn.cpp
      
      - Prepare Value and Valblk to support unsigned data types
        (not operational yet)
      
      modified:
        storage/connect/colblk.cpp
        storage/connect/filamvct.cpp
        storage/connect/myconn.cpp
        storage/connect/plgdbutl.cpp
        storage/connect/tabdos.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabvct.cpp
        storage/connect/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xindex.cpp
      385dbaea
  29. 25 Oct, 2013 1 commit
    • Olivier Bertrand's avatar
      - Add new features to ODBC table type · ba3f4a2c
      Olivier Bertrand authored
        Srcdef definition
        Execute command tables
        uncomplete connect string
      
      modified:
        storage/connect/ha_connect.cc
        storage/connect/odbccat.h
        storage/connect/odbconn.cpp
        storage/connect/odbconn.h
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
        storage/connect/tabodbc.cpp
      ba3f4a2c
  30. 08 Jul, 2013 2 commits
    • Alexander Barkov's avatar
      Fixing warnings: · 63522ed3
      Alexander Barkov authored
      - no previous declaration for ‘char* GetIni(int)’
      - no previous declaration for ‘void SetTrc()’
      
      modified:
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
      63522ed3
    • Alexander Barkov's avatar
      Fixing warnings: · e46f8f3d
      Alexander Barkov authored
      - no previous declaration for ‘void XmlCleanupParserLib()’
      - no previous declaration for ‘void CloseXML2File’
      - no previous declaration for ‘void XmlInitParserLib()’
      
      modified:
        storage/connect/ha_connect.cc
        storage/connect/libdoc.cpp
        storage/connect/libdoc.h
        storage/connect/plgdbutl.cpp
      e46f8f3d
  31. 28 May, 2013 1 commit
    • Olivier Bertrand's avatar
      - Extending connect_assisted_discovery column automatic definition · 9f7c3fed
      Olivier Bertrand authored
        to OCCUR and PIVOT table types.
      
      modified:
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/myconn.h
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
        storage/connect/taboccur.cpp
        storage/connect/taboccur.h
        storage/connect/tabpivot.cpp
        storage/connect/tabpivot.h
      
      - Fix wrong definition of GetVlen for TYPE template
      
      modified:
        storage/connect/valblk.h
      9f7c3fed
  32. 13 May, 2013 2 commits
  33. 10 May, 2013 1 commit
    • Olivier Bertrand's avatar
      - Added table type PIVOT · 99d95c8a
      Olivier Bertrand authored
      modified:
        storage/connect/filamdbf.cpp
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/mycat.cc
        storage/connect/myconn.cpp
        storage/connect/odbconn.cpp
        storage/connect/plgcnx.h
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
        storage/connect/tabfmt.cpp
        storage/connect/tabpivot.cpp
        storage/connect/tabpivot.h
        storage/connect/tabutil.cpp
        storage/connect/tabwmi.cpp
        storage/connect/tabxcl.cpp
        storage/connect/value.cpp
        storage/connect/value.h
      99d95c8a
  34. 26 Mar, 2013 1 commit
  35. 11 Mar, 2013 1 commit
    • Olivier Bertrand's avatar
      - Add tiny integer as a supported type by CONNECT · 17fb343a
      Olivier Bertrand authored
      modified:
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/myutil.cpp
        storage/connect/plgdbutl.cpp
        storage/connect/tabdos.cpp
        storage/connect/tabwmi.cpp
        storage/connect/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xobject.cpp
      17fb343a
  36. 11 Feb, 2013 1 commit
  37. 10 Feb, 2013 1 commit
    • Olivier Bertrand's avatar
      Bug fixed: Column charset were not handled on read. · f6ca3b05
      Olivier Bertrand authored
      Modified: ha_connect.cc (MakeRecord)
      
      Moved PlgAllocResult to plgdbutl.cpp
      Modified:
      mycat.cpp
      plgdbutl.cpp
      
      Continuing implementing the "catalog" tables (ex "info").
      Already existing were the ODBC data source table and the
      WMI column info table.
      
      The common way to handle them was modified to enable each
      table types to send personalized data.
      
      Now takes care of all existing catalog functions for table
      types that can retrieve and use such information.
      
      Modified:
      ha_connect.cc
      odbconn.cpp
      tabodbc.h
      tabodbc.cpp
      tabfmt.h
      tabfmt.cpp
      tabmysql.h
      tabmysql.cpp
      tabwmi.h
      tabwmi.cpp
      myconn.h
      myconn.cpp
      filamdbf.cpp
      plgdbsem.h
      reldef.h
      reldef.cpp
      tabdos.h
      tabdos.cpp
      tabfix.h
      xtable.h
      table.cpp
      
      f6ca3b05
  38. 07 Feb, 2013 1 commit
    • Alexander Barkov's avatar
      Fixing wrong sprintf() calls. · f8f79d93
      Alexander Barkov authored
      modified:
        storage/connect/filamap.cpp
        storage/connect/filamdbf.cpp
        storage/connect/filamfix.cpp
        storage/connect/filamtxt.cpp
        storage/connect/filamvct.cpp
        storage/connect/ha_connect.cc
        storage/connect/osutil.c
        storage/connect/plgdbutl.cpp
        storage/connect/plugutil.c
        storage/connect/tabfix.cpp
        storage/connect/tabxml.cpp
        storage/connect/user_connect.cc
        storage/connect/value.cpp
        storage/connect/xindex.cpp
      f8f79d93