1. 07 Jul, 2015 2 commits
  2. 06 Jul, 2015 1 commit
    • Olivier Bertrand's avatar
      Fix loosing result lines when all of this is true: · f0735934
      Olivier Bertrand authored
        The table type is MYSQL
        The query where clause includes an indexed column
        The where clause contains < or <= operator on this column
      Change version date
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/tabmysql.cpp
      
      Add visual studio 2013 files to ignore
        modified:   .gitignore
      f0735934
  3. 24 Jun, 2015 1 commit
  4. 05 Jun, 2015 2 commits
  5. 03 Jun, 2015 5 commits
  6. 02 Jun, 2015 1 commit
  7. 30 May, 2015 1 commit
    • Olivier Bertrand's avatar
      Add unicode ODBC types to the types recognized by CONNECT. · 514a7d84
      Olivier Bertrand authored
      Was added in function TranslateSQLType.
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/odbconn.cpp
        modified:   storage/connect/value.h
      
      Add some trace in particular in indexing routines.
        modified:   storage/connect/block.h
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/plugutil.c
        modified:   storage/connect/xindex.cpp
        modified:   storage/connect/xindex.h
      514a7d84
  8. 27 May, 2015 2 commits
    • 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
    • Jan Lindström's avatar
      Merge pull request #74 from akopytov/MDEV-7658-10.0 · a99efc00
      Jan Lindström authored
      Mdev 7658 10.0
      a99efc00
  9. 26 May, 2015 4 commits
    • Alexey Kopytov's avatar
      7f7cee87
    • Alexey Kopytov's avatar
      Fixes MDEV-7658: MDEV-7026 fix reintroduces MDEV-6615 on AArch64 · 70bc0a3e
      Alexey Kopytov authored
      This is an addendum to the fix for MDEV-7026. The ARM memory model is
      similar to that of PowerPC and thus needs the same semantics with
      respect to memory barriers. That is, os_atomic_test_and_set_*_release()
      must be a store with a release barrier followed by a full
      barrier. Unlike x86 using __sync_lock_test_and_set() which is
      implemented as “exclusive load with acquire barriers + exclusive store”
      is insufficient in contexts where os_atomic_test_and_set_*_release()
      macros are used.
      70bc0a3e
    • Kristian Nielsen's avatar
      Merge MDEV-8147 into 10.0 · f7385980
      Kristian Nielsen authored
      f7385980
    • Kristian Nielsen's avatar
      MDEV-8147: Assertion `m_lock_type == 2' failed in handler::ha_close() during parallel replication · e5f1e841
      Kristian Nielsen authored
      When the slave processes the master restart format_description event,
      parallel replication needs to complete any prior events before processing
      the restart event (which closes temporary tables and such stuff).
      
      This happens in wait_for_workers_idle(), however it was not waiting long
      enough. The wait was using wait_for_prior_commit(), but at that points table
      can still be open. This lead to assertion in this case.
      
      So change wait_for_workers_idle() to wait until all worker threads have
      reached finish_event_group(), at which point all tables should have been
      closed.
      e5f1e841
  10. 25 May, 2015 1 commit
    • Olivier Bertrand's avatar
      JSONColumns and XMLColumns revisited. They can retrieve their parameters directly · fb986329
      Olivier Bertrand authored
      from the PTOS argument. For this to work, finding the table options is now split
      in HA_CONNECT functions and exported functions available from out of ha_connect.
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/libdoc.cpp
        modified:   storage/connect/mycat.h
        modified:   storage/connect/plgdbsem.h
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabjson.h
        modified:   storage/connect/tabxml.cpp
        modified:   storage/connect/tabxml.h
      
      The BIN table formats have been changed to handle the case of floating point values
      when used with Big Endian or Little Endian machines.
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/mysql-test/connect/r/bin.result
        modified:   storage/connect/mysql-test/connect/t/bin.test
        modified:   storage/connect/reldef.cpp
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabdos.h
        modified:   storage/connect/tabfix.cpp
        modified:   storage/connect/tabfix.
      h
      fb986329
  11. 20 May, 2015 1 commit
  12. 17 May, 2015 2 commits
  13. 15 May, 2015 1 commit
    • Olivier Bertrand's avatar
      Fix a bug in BIN buffer initialisation (in FIXFAM::AllocateBuffer) · b9c91090
      Olivier Bertrand authored
        modified:   storage/connect/filamfix.cpp
      
      Second version of BIN table new field format (1st one was buggy)
        modified:   storage/connect/tabfix.cpp
        modified:   storage/connect/tabfix.h
      
      Make bin.test not to fail in big-endian machines
        modified:   storage/connect/mysql-test/connect/r/bin.result
        modified:   storage/connect/mysql-test/connect/t/bin.test
      
      Fix a bug causing wrong default offset to be generated when virtual
      or special columns were placed beetween standard columns. Also
      calculate the good offset for BIN columns with new field format.
        modified:   storage/connect/reldef.cpp
      b9c91090
  14. 14 May, 2015 1 commit
  15. 13 May, 2015 2 commits
  16. 12 May, 2015 2 commits
  17. 10 May, 2015 5 commits
  18. 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
  19. 08 May, 2015 5 commits