1. 24 Jul, 2021 3 commits
  2. 25 Jun, 2021 4 commits
  3. 24 Jun, 2021 2 commits
  4. 23 Jun, 2021 1 commit
    • Olivier Bertrand's avatar
      - Make function strz return null when LEX_STRING is null · ed70f76c
      Olivier Bertrand authored
        modified:   storage/connect/ha_connect.cc
      
      - Use NOTE instead of WARNING in connect_assisted_discovery
        This because MariaDB raise an error when doing so
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/tabrest.cpp
      
      - Make MONGO tables recognize STRINGIFY and JsonAllPath
        modified:   storage/connect/mongo.cpp
        modified:   storage/connect/mongo.h
        modified:   storage/connect/tabcmg.h
        modified:   storage/connect/tabjmg.cpp
        modified:   storage/connect/tabcmg.cpp
        modified:   storage/connect/tabjmg.h
      
      - Fix OBJECT option for Pretty != 2 JSN and BSON tables
        Accept all syntaxes  for the OBJECT option
        modified:   storage/connect/tabbson.cpp
        modified:   storage/connect/tabjson.cpp
      
      - Use my_snprintf in function xcurl (by vuvova)
        modified:   storage/connect/tabrest.cpp
      
      - Format dates entered as integer when formatted
        modified:   storage/connect/value.cpp
        modified:   storage/connect/value.h
      ed70f76c
  5. 08 Jun, 2021 1 commit
    • Olivier Bertrand's avatar
      - Fix MDEV-25863 : Replace __WIN__ by _WIN32 · 5f64276f
      Olivier Bertrand authored
        modified:   storage/connect/array.cpp
        modified:   storage/connect/blkfil.cpp
        modified:   storage/connect/block.h
        modified:   storage/connect/bson.cpp
        modified:   storage/connect/cmgoconn.cpp
        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/filamgz.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/javaconn.cpp
        modified:   storage/connect/javaconn.h
        modified:   storage/connect/jdbconn.cpp
        modified:   storage/connect/jmgfam.cpp
        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.cpp
        modified:   storage/connect/rcmsg.c
        modified:   storage/connect/reldef.cpp
        modified:   storage/connect/reldef.h
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabext.cpp
        modified:   storage/connect/tabfix.cpp
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/tabjdbc.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/tabrest.cpp
        modified:   storage/connect/tabrest.h
        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
      
      - Fix Date errors and SSL warnings
        modified:   storage/connect/mysql-test/connect/r/jdbc.result
        modified:   storage/connect/mysql-test/connect/r/jdbc_new.result
        modified:   storage/connect/mysql-test/connect/t/jdbc.test
        modified:   storage/connect/mysql-test/connect/t/jdbc_new.test
      
      - Update java source files
        modified:   storage/connect/Mongo2Interface.java
        modified:   storage/connect/Mongo3Interface.java
        added:      storage/connect/Client2.java
        added:      storage/connect/Client3.java
        added:      storage/connect/TestInsert2.java
        added:      storage/connect/TestInsert3.java
      5f64276f
  6. 24 May, 2021 1 commit
    • Olivier Bertrand's avatar
      - Mongo defined columns · be7e41db
      Olivier Bertrand authored
          modified:   storage/connect/cmgoconn.cpp
          modified:   storage/connect/cmgoconn.h
      
      - Change default array LIMIT from 10 to 50
          modified:   storage/connect/ha_connect.cc
          modified:   storage/connect/tabbson.cpp
          modified:   storage/connect/tabjson.cpp
          modified:   storage/connect/tabxml.cpp
      be7e41db
  7. 18 May, 2021 1 commit
  8. 17 May, 2021 1 commit
    • Olivier Bertrand's avatar
      - Put all jar files in the SHARE directory (was PLUGIN) · 17533c1f
      Olivier Bertrand authored
          modified:   sql/mysqld.h
          modified:   storage/connect/CMakeLists.txt
          modified:   storage/connect/javaconn.cpp
          modified:   storage/connect/mycat.cc
          modified:   storage/connect/mycat.h
      
      - Get a handled on a not pooled client
        This to avoid a .50 delay when closing
          modified:   storage/connect/cmgoconn.cpp
          modified:   storage/connect/cmgoconn.h
      
      - Allow FIELD_FORMAT options for DECIMAL type
          modified:   storage/connect/tabdos.cpp
      
      - Update tests and result to reflect last changes
        Also because Oracle password has changed
          modified:   storage/connect/mysql-test/connect/r/jdbc_oracle.result
          modified:   storage/connect/mysql-test/connect/r/json_java_2.result
          modified:   storage/connect/mysql-test/connect/r/json_java_3.result
          modified:   storage/connect/mysql-test/connect/r/json_mongo_c.result
          modified:   storage/connect/mysql-test/connect/r/mongo_c.result
          modified:   storage/connect/mysql-test/connect/r/odbc_oracle.result
          modified:   storage/connect/mysql-test/connect/t/jdbc_oracle.test
          modified:   storage/connect/mysql-test/connect/t/odbc_oracle.test
      
      - Typo
          modified:   storage/connect/reldef.cpp
      17533c1f
  9. 04 May, 2021 1 commit
    • Olivier Bertrand's avatar
      - All this concern Json or Mongo tables based on MongoDB collections. · 5ae67c6d
      Olivier Bertrand authored
      - Limit decimals of doubles printed from MongoDB
        Done in function Mini for Mongo C Driver and Java Driver
        Done in function SerializeValue for Java tables using the J Driver
              modified:   storage/connect/cmgoconn.cpp
              modified:   storage/connect/json.cpp
              modified:   storage/connect/json.h
              modified:   storage/connect/tabjmg.cpp
      
      - Fix crash when using BSON_TYPE_DECIMAL128
              modified:   storage/connect/cmgoconn.cpp
      
      - Collection name default to table name
        Fix it when creating tables via discovery
              modified:   storage/connect/ha_connect.cc
              modified:   storage/connect/tabbson.cpp
              modified:   storage/connect/tabjson.cpp
      5ae67c6d
  10. 02 May, 2021 2 commits
  11. 01 May, 2021 1 commit
    • Olivier Bertrand's avatar
      - Major update of the json/bson/mongo table types programs. · ef0829ef
      Olivier Bertrand authored
        Fix several bugs, chiefly concerning CURL operations.
              modified:   storage/connect/bson.cpp
              modified:   storage/connect/cmgfam.cpp
              modified:   storage/connect/cmgoconn.cpp
              modified:   storage/connect/cmgoconn.h
              modified:   storage/connect/colblk.h
              modified:   storage/connect/ha_connect.cc
              modified:   storage/connect/jmgfam.cpp
              modified:   storage/connect/jmgoconn.cpp
              modified:   storage/connect/jmgoconn.h
              modified:   storage/connect/json.cpp
              modified:   storage/connect/json.h
              modified:   storage/connect/mysql-test/connect/r/bson_mongo_c.result
              modified:   storage/connect/mysql-test/connect/r/json_mongo_c.result
              modified:   storage/connect/mysql-test/connect/r/mongo_c.result
              modified:   storage/connect/mysql-test/connect/r/mongo_java_2.result
              modified:   storage/connect/mysql-test/connect/r/mongo_java_3.result
              modified:   storage/connect/mysql-test/connect/std_data/Mongo2.jar
              modified:   storage/connect/mysql-test/connect/std_data/Mongo3.jar
              modified:   storage/connect/tabbson.cpp
              modified:   storage/connect/tabbson.h
              modified:   storage/connect/tabcmg.cpp
              modified:   storage/connect/tabcmg.h
              modified:   storage/connect/tabjmg.cpp
              modified:   storage/connect/tabjmg.h
              modified:   storage/connect/tabjson.cpp
              modified:   storage/connect/tabjson.h
      ef0829ef
  12. 09 Apr, 2021 4 commits
  13. 08 Apr, 2021 7 commits
  14. 06 Apr, 2021 1 commit
  15. 05 Apr, 2021 3 commits
    • Olivier Bertrand's avatar
      - Fix(?) Linux compile errors · 28b76afc
      Olivier Bertrand authored
        modified:   storage/connect/tabrest.cpp
        modified:   storage/connect/CMakeLists.txt
      
      -fix MDEV-24794
       modified:   storage/connect/valblk.h
      28b76afc
    • Olivier Bertrand's avatar
      - Fix crash when not specifying the collection for MongoDB · 2aefe0be
      Olivier Bertrand authored
        modified:   storage/connect/cmgoconn.cpp
      
      - Fix(?) Linux compile errors
        modified:   storage/connect/tabrest.cpp
      2aefe0be
    • Olivier Bertrand's avatar
      - Copy Mongo2.jar and Mongo3.jar in plugin directory · caff19ad
      Olivier Bertrand authored
        modified:   storage/connect/CMakeLists.txt
        modified:   storage/connect/javaconn.cpp
      
      - Check privileges while creating tables with Discovery
        modified:   storage/connect/ha_connect.cc
      
      - Calculate LRECL for JSON tables created with Discovery
        modified:   storage/connect/tabjson.cpp
      
      - Use CreateProcess (Windows) or fork/exec (linux)
        to retrieve the result from REST queries
        modified:   storage/connect/tabrest.cpp
      
      - Typo
        modified:   storage/connect/jmgoconn.cpp
      caff19ad
  16. 03 Apr, 2021 1 commit
  17. 01 Apr, 2021 3 commits
    • Julius Goryavsky's avatar
      MDEV-25321: mariabackup failed if password is passed via environment variable · fb9d1519
      Julius Goryavsky authored
      The mariabackup interface currently supports passing a password
      through an explicit command line variable, but does not support
      passing a password through the MYSQL_PWD environment variable.
      At the same time, the Galera SST script for mariabackup uses
      the environment variable to pass the password, which leads
      (in some cases) to an unsuccessful launch of mariabackup and
      to the inability to start the cluster. This patch fixes this
      issue. It does not need a separate test, as the problem is
      visible in general testing on buildbot.
      fb9d1519
    • Srinidhi Kaushik's avatar
      MDEV-24197: Add "innodb_force_recovery" for "mariabackup --prepare" · 5bc5ecce
      Srinidhi Kaushik authored
      During the prepare phase of restoring backups, "mariabackup" does
      not seem to allow (or recognize) the option "innodb_force_recovery"
      for the embedded InnoDB server instance that it starts.
      
      If page corruption observed during page recovery, the prepare step
      fails. While this is indeed the correct behavior ideally, allowing
      this option to be set in case of emergencies might be useful when
      the current backup is the only copy available. Some error messages
      during "--prepare" suggest to set "innodb_force_recovery" to 1:
      
        [ERROR] InnoDB: Set innodb_force_recovery=1 to ignore corruption.
      
      For backwards compatibility, "mariabackup --innobackupex --apply-log"
      should also have this option.
      Signed-off-by: default avatarSrinidhi Kaushik <shrinidhi.kaushik@gmail.com>
      5bc5ecce
    • mkaruza's avatar
      MDEV-25047: SIGSEGV in mach_read_from_n_little_endian · f93e087d
      mkaruza authored
      Virtual column fields are not found in prebuilt data type, so we should
      match InnoDB fields with `get_innobase_type_from_mysql_type` method.
      Reviewed-by: default avatarJan Lindström <jan.lindstrom@mariadb.com>
      f93e087d
  18. 31 Mar, 2021 3 commits