An error occurred fetching the project authors.
  1. 27 Feb, 2014 1 commit
    • Olivier Bertrand's avatar
      - Fix bug MDEV-5734 · 43362bc9
      Olivier Bertrand authored
      modified:
        storage/connect/mysql-test/connect/r/pivot.result
        storage/connect/mysql-test/connect/t/pivot.test
        storage/connect/tabmysql.cpp
        storage/connect/tabpivot.cpp
      
      - Implement a first experimental support of MRR
        (compiled only if MRRBKA_SUPPORT is defined)
      modified:
        storage/connect/colblk.h
        storage/connect/connect.cc
        storage/connect/connect.h
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/plugutil.c
        storage/connect/user_connect.cc
      43362bc9
  2. 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
  3. 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
  4. 03 Dec, 2013 1 commit
    • Olivier Bertrand's avatar
      - Add support for unsigned numeric types · ee2f0445
      Olivier Bertrand authored
      added:
        storage/connect/mysql-test/connect/r/unsigned.result
        storage/connect/mysql-test/connect/t/unsigned.test
      modified:
        storage/connect/colblk.cpp
        storage/connect/colblk.h
        storage/connect/connect.cc
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/mysql-test/connect/r/mysql_discovery.result
        storage/connect/mysql-test/connect/r/xml.result
        storage/connect/myutil.cpp
        storage/connect/myutil.h
        storage/connect/plgdbsem.h
        storage/connect/tabdos.cpp
        storage/connect/tabfix.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabutil.cpp
        storage/connect/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xobject.cpp
        storage/connect/xobject.h
      ee2f0445
  5. 22 Nov, 2013 1 commit
    • Olivier Bertrand's avatar
      - Fix good recognition of MYSQL table column types. · aaa982e7
      Olivier Bertrand authored
      modified:
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/myutil.cpp
        storage/connect/odbccat.h
        storage/connect/odbconn.cpp
        storage/connect/tabmysql.cpp
      
      - Add tests on new MYSQL features
      
      added:
        storage/connect/mysql-test/connect/my.cnf
        storage/connect/mysql-test/connect/r/mysql_discovery.result
        storage/connect/mysql-test/connect/r/mysql_exec.result
        storage/connect/mysql-test/connect/r/mysql_new.result
        storage/connect/mysql-test/connect/t/myconn.inc
        storage/connect/mysql-test/connect/t/myconn_cleanup.inc
        storage/connect/mysql-test/connect/t/mysql_discovery.test
        storage/connect/mysql-test/connect/t/mysql_exec.test
        storage/connect/mysql-test/connect/t/mysql_new.test
      aaa982e7
  6. 12 Nov, 2013 1 commit
  7. 11 Nov, 2013 1 commit
  8. 06 Nov, 2013 1 commit
    • Olivier Bertrand's avatar
      - Move all enum AMT definitions in one place (plgdbsem.h) · 056f35d0
      Olivier Bertrand authored
      modified:
        storage/connect/filamtxt.h
        storage/connect/filamzip.h
        storage/connect/myconn.h
        storage/connect/plgdbsem.h
        storage/connect/taboccur.h
        storage/connect/tabutil.h
        storage/connect/tabxcl.h
      
      - Add the possibility to execute several commands in one query of
        an EXECSRC tables (using ...where command in (cmd list);)
      
      modified:
        storage/connect/ha_connect.cc
        storage/connect/odbconn.cpp
        storage/connect/odbconn.h
        storage/connect/tabmysql.cpp
        storage/connect/tabmysql.h
        storage/connect/tabodbc.cpp
        storage/connect/tabodbc.h
        storage/connect/tabtbl.cpp
        storage/connect/tabwmi.cpp
        storage/connect/xtable.h
      
      - Enhance retrieving column definitions in discovery:
        From SRCDEF adding LIMIT 0 to the executed query
        Testing if type, length, and precision are compatible
        Making the distinction between CHAR and VARCHAR
      
      modified:
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/mysql-test/connect/r/mysql.result
        storage/connect/mysql-test/connect/r/odbc_sqlite3.result
        storage/connect/mysql-test/connect/r/odbc_sqlite3_grant.result
        storage/connect/myutil.h
        storage/connect/myutil.h
        storage/connect/odbconn.cpp
        storage/connect/value.h
      056f35d0
  9. 27 Oct, 2013 1 commit
  10. 26 Oct, 2013 1 commit
  11. 11 Oct, 2013 1 commit
    • Olivier Bertrand's avatar
      - Fix bug when closing some table types · ca4c54aa
      Olivier Bertrand authored
      modified:
        storage/connect/tabmul.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
      
      - Add Insert support for ODBC table
        Add the send command feature to ODBC tables
        (not documented yet)
      
      modified:
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/odbccat.h
        storage/connect/odbconn.cpp
        storage/connect/odbconn.h
        storage/connect/tabodbc.cpp
        storage/connect/tabodbc.h
      ca4c54aa
  12. 02 Oct, 2013 1 commit
  13. 09 Aug, 2013 1 commit
    • Olivier Bertrand's avatar
      - Implement the SERVID special columns. This imply modifying the way · 5d75457f
      Olivier Bertrand authored
        special columns are processed. This will be documented.
        Also some code cleanup and some changes to prepare the indexing of
        nullable columns (not achieve yet)
      
      modified:
        storage/connect/colblk.cpp
        storage/connect/colblk.h
        storage/connect/connect.cc
        storage/connect/connect.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/macutil.cpp
        storage/connect/mycat.cc
        storage/connect/plgdbsem.h
        storage/connect/reldef.cpp
        storage/connect/reldef.h
        storage/connect/table.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabmysql.h
        storage/connect/tabodbc.h
        storage/connect/tabtbl.cpp
        storage/connect/tabutil.h
        storage/connect/value.h
        storage/connect/xindex.cpp
        storage/connect/xindex.h
        storage/connect/xtable.h
      5d75457f
  14. 25 Jul, 2013 1 commit
  15. 26 Jun, 2013 1 commit
  16. 16 Jun, 2013 1 commit
  17. 23 May, 2013 1 commit
    • Olivier Bertrand's avatar
      - Fix setting default type to MYSQL->PROXY->DOS in some places where it · 33b95315
      Olivier Bertrand authored
        was not done correctly.
      - Fix a bug causing add_field to generate a syntax error on DOUBLE columns
        with a 0 decimal value.
      - Column can be undefined when Srcdef is specified.
      
      modified:
        storage/connect/ha_connect.cc
        storage/connect/mycat.cc
        storage/connect/tabmysql.cpp
        storage/connect/tabutil.cpp
        storage/connect/tabutil.h
      33b95315
  18. 22 May, 2013 1 commit
    • Olivier Bertrand's avatar
      - Changing CONNECT version number and date · aebcd56c
      Olivier Bertrand authored
      modified:
        storage/connect/ha_connect.cc
        storage/connect/mysql-test/connect/r/xml.result
      
      - Testing default pivot columns for srcdef
        Fixing order by MariaDB bug for pivot tables
      modified:
        storage/connect/tabmysql.cpp
        storage/connect/tabmysql.h
        storage/connect/tabpivot.cpp
        storage/connect/tabpivot.h
      aebcd56c
  19. 19 May, 2013 1 commit
    • Olivier Bertrand's avatar
      - Allowing views and queries as parameters for PROXY base tables · c035bde3
      Olivier Bertrand authored
        NOTE: Checking for looping references cannot be done when using views
        as parameters. This should not be allowed on production servers and
        should be dependant on a system variable and/or on speciel grant.
      
      modified:
        storage/connect/CMakeLists.txt
        storage/connect/connect.cc
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/myconn.h
        storage/connect/mysql-test/connect/r/fmt.result
        storage/connect/mysql-test/connect/r/pivot.result
        storage/connect/mysql-test/connect/t/fmt.test
        storage/connect/mysql-test/connect/t/pivot.test
        storage/connect/plgdbsem.h
        storage/connect/plugutil.c
        storage/connect/tabcol.cpp
        storage/connect/tabcol.h
        storage/connect/tabfmt.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabmysql.h
        storage/connect/taboccur.cpp
        storage/connect/taboccur.h
        storage/connect/tabpivot.cpp
        storage/connect/tabpivot.h
        storage/connect/tabtbl.cpp
        storage/connect/tabutil.cpp
        storage/connect/tabutil.h
        storage/connect/xtable.h
      c035bde3
  20. 13 May, 2013 1 commit
    • Alexander Barkov's avatar
      Fixing warnings (mostly "no previous declaration") · 54f32928
      Alexander Barkov authored
      modified:
        storage/connect/ha_connect.cc
        storage/connect/maputil.h
        storage/connect/odbconn.cpp
        storage/connect/osutil.c
        storage/connect/osutil.h
        storage/connect/tabmysql.cpp
        storage/connect/tabutil.cpp
        storage/connect/tabutil.h
      54f32928
  21. 09 May, 2013 1 commit
  22. 02 May, 2013 1 commit
    • Olivier Bertrand's avatar
      - Adding a loop test to prevent PROXY based table to loop when repointing on itself. · f3e94409
      Olivier Bertrand authored
      - Fix bug causing PROXY on non CONNECT tables to sometimes use the wrong DB.
      - Making some more tests in create that were in pre_create not called anymore
        when columns are defined.
      - Updating some test results to reflect new warnings.
      
      modified:
        storage/connect/ha_connect.cc
        storage/connect/mysql-test/connect/r/tbl.result
        storage/connect/mysql-test/connect/r/upd.result
        storage/connect/tabcol.h
        storage/connect/tabmysql.cpp
        storage/connect/taboccur.cpp
        storage/connect/taboccur.h
        storage/connect/tabtbl.cpp
        storage/connect/tabtbl.h
        storage/connect/tabutil.cpp
        storage/connect/tabutil.h
        storage/connect/tabxcl.cpp
        storage/connect/tabxcl.h
      f3e94409
  23. 30 Apr, 2013 1 commit
  24. 29 Apr, 2013 1 commit
    • Olivier Bertrand's avatar
      - Adding 3 new table types: · 4fd74200
      Olivier Bertrand authored
        PROXY table base on another table. Used by several other types.
        XCOL  proxy on a table having a colummn containing a list of values
        OCCUR proxy on a table having several columns containing the same type
              of values that can be put in a unique column and several rows.
        TBL   Not new but now internally using the PROXY table class.
      - Fix 2 bugs in add_field:
              Change '=' to ' ' after the COMMENT keyword.
              Quote column names between '`' in the SQL string.
      - Update xml test result to the CONNECT version
      
      added:
        storage/connect/taboccur.cpp
        storage/connect/taboccur.h
        storage/connect/tabutil.cpp
        storage/connect/tabutil.h
        storage/connect/tabxcl.cpp
        storage/connect/tabxcl.h
      modified:
        storage/connect/CMakeLists.txt
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/mycat.cc
        storage/connect/myconn.cpp
        storage/connect/mysql-test/connect/r/xml.result
        storage/connect/plgdbsem.h
        storage/connect/tabmysql.cpp
        storage/connect/tabtbl.cpp
        storage/connect/tabtbl.h
        storage/connect/valblk.cpp
        storage/connect/valblk.h
      4fd74200
  25. 25 Mar, 2013 1 commit
    • Olivier Bertrand's avatar
      - Add a new table option SEPINDEX (not used yet) and remove an unused · cd9e1938
      Olivier Bertrand authored
        parameter to all catalog info functions.
      
      modified:
        storage/connect/catalog.h
        storage/connect/filamvct.cpp
        storage/connect/filamzip.cpp
        storage/connect/ha_connect.cc
        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/tabodbc.cpp
        storage/connect/tabsys.cpp
        storage/connect/tabtbl.cpp
        storage/connect/tabvct.cpp
        storage/connect/tabwmi.cpp
        storage/connect/tabxml.cpp
        storage/connect/xindex.cpp
      cd9e1938
  26. 27 Feb, 2013 1 commit
    • Olivier Bertrand's avatar
      - Rewriting the VALUE classes as template classes · fa4aa616
      Olivier Bertrand authored
      modified:
        storage/connect/tabdos.cpp
        storage/connect/tabdos.h
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabsys.cpp
        storage/connect/tabxml.cpp
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xobject.h
      fa4aa616
  27. 25 Feb, 2013 1 commit
    • Olivier Bertrand's avatar
      - Catalog table: Use XFLD as Flag value instead of column index. · edd16158
      Olivier Bertrand authored
      - Use the COLDEF flag to initialize column nullable value.
      - Fix a bug on inserting null values in MYSQL tables.
      
      modified:
        storage/connect/colblk.cpp
        storage/connect/connect.cc
        storage/connect/ha_connect.cc
        storage/connect/odbconn.cpp
        storage/connect/plgdbsem.h
        storage/connect/table.cpp
        storage/connect/tabmysql.cpp
      edd16158
  28. 24 Feb, 2013 1 commit
    • Olivier Bertrand's avatar
      - Add support to NULL values. This concern the MYSQL · 2b60525d
      Olivier Bertrand authored
        and ODBC table types. Not supported yet for indexes.
      
      modified:
        storage/connect/colblk.cpp
        storage/connect/colblk.h
        storage/connect/connect.cc
        storage/connect/ha_connect.cc
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
        storage/connect/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xindex.cpp
      2b60525d
  29. 22 Feb, 2013 2 commits
  30. 20 Feb, 2013 1 commit
  31. 12 Feb, 2013 1 commit
    • Olivier Bertrand's avatar
      All use of a character to represent table types or · 88c76f3b
      Olivier Bertrand authored
      catalog functions have been changed:
      
      Table_types are now internally represented be enum TABTYPE.
      Catalog function names are internally translated to a uint.
      
      The function GetTypeID was modified accordingly and a new
      function GetFuncID was implemented in mycat.cc.
      
      Modified:
      ha_connect.cc
      odbccat.h
      odbconn.cpp
      tabodbc.cpp
      tabfmt.cpp
      tabmysql.h
      tabmysql.cpp
      tabwmi.cpp
      mycat.h
      mycat.cc
      plgdbsem.h
      reldef.h
      tabdos.cpp
      rcmsg.h
      
      88c76f3b
  32. 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
  33. 09 Feb, 2013 1 commit
    • Olivier Bertrand's avatar
      Put almost all function prototypes in header files that are · 82e746ea
      Olivier Bertrand authored
      included by the program using them.
      
      Continuing implementing the "catalog" tables (ex "info").
      Already existing were the ODBC data source table and the
      WMI column info table.
      
      A common way to handle them will permit to develop many
      other such tables. Implemented:
      
      The ODBC column catalog table.
      The ODBC tables catalog table.
      The ODBC drivers catalog table.
      
      The INFO table option is replaced by the CATFUNC string option
      whode first letter specifies the information to retrieve:
      C: Columns (of a table)
      T: Tables  (of a database)
      S: Data sources
      D: Drivers
      
      Modified:
      ha_connect.cc
      odbconn.cpp
      odbconn.h
      tabodbc.h
      tabodbc.cpp
      rcmsg.c
      tabfmt.h
      tabmysql.cpp
      tabwmi.cpp
      tabwmi.h
      resource.h
      myconn.h
      filamdbf.h
      connect.cc
      connect.h
      
      Added:
      myutil.h
      82e746ea
  34. 07 Feb, 2013 2 commits
  35. 29 Jan, 2013 1 commit
    • Alexander Barkov's avatar
      Removing os2def.h · c87004d8
      Alexander Barkov authored
      removed:
        storage/connect/os2def.h
      modified:
        storage/connect/fmdlex.c
        storage/connect/maputil.cpp
        storage/connect/tabcol.cpp
        storage/connect/tabfmt.cpp
        storage/connect/tabmul.cpp
        storage/connect/tabmysql.cpp
      c87004d8
  36. 22 Jan, 2013 1 commit
    • Alexander Barkov's avatar
      Adding an Olivier's changeset: · 37465ea2
      Alexander Barkov authored
      pre_create function and one is now able to create table
      without giving the column specifications for tables of types:
      DBF, ODBC, MYSQL, CSV, and WMI (on Windows)
      
      modified:
        sql/handler.h
        sql/sql_table.cc
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/mycat.cc
        storage/connect/odbconn.cpp
        storage/connect/plgcnx.h
        storage/connect/tabfmt.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabwmi.cpp
      37465ea2
  37. 18 Jan, 2013 1 commit