Sergei Golubchik
2e3a16e366
Merge branch '10.0' into 10.1
2017-09-21 22:02:21 +02:00
Sergei Golubchik
cb1b466c0c
CONNECT: compilation fix
...
tabtyp was defined under ODBC_SUPPORT, but used
outside of it too (under JDBC_SUPPORT).
2017-09-21 21:43:07 +02:00
Sergei Golubchik
8f3fd98d25
connect fixes after-merge
...
disable Mongo in 10.0, compiler warnings.
2017-09-20 17:07:05 +02:00
Vicențiu Ciorbaru
ec6042bda0
Merge branch '10.0' into 10.1
2017-09-19 12:06:50 +03:00
Vicențiu Ciorbaru
0e15396341
Fix fall-through warning
2017-09-19 11:17:35 +03:00
Vicențiu Ciorbaru
b2c0cca6b0
Fix connect merge problems
...
* CMakeLists.txt erroneous duplicated lines.
* Unneded differences in tabjson.cpp
* Unneded space differences in jdbconn.{cpp|h}
2017-09-19 09:37:17 +03:00
Vicențiu Ciorbaru
df2675a9cc
Merge connect/10.0 into 10.0
...
This is a squashed merge.
2017-09-19 02:05:11 +03:00
Marko Mäkelä
11352d52cd
Merge 10.0 into 10.1
2017-08-28 15:05:46 +03:00
Vladislav Vaintroub
7aa846e9e3
CONNECT engine: install ha_connect.lib
2017-08-23 23:30:51 +00:00
Vladislav Vaintroub
7b36395ee9
MDEV-13630 : dont install connect-specific JAR files if connect is not built.
2017-08-23 23:29:59 +00:00
Sergei Golubchik
8e8d42ddf0
Merge branch '10.0' into 10.1
2017-08-08 10:18:43 +02:00
Vicențiu Ciorbaru
60c9485a8e
Merge connect/10.0 into 10.0
...
Squash all connect/10.0's commits into one and keep only
changes from storage/connect directory.
2017-08-01 11:39:10 +03:00
Sergei Golubchik
2ce3f95151
Connect engine is Gamma
2017-07-22 13:10:10 +02:00
Marko Mäkelä
b61700c221
Merge 10.0 into 10.1
2017-05-23 08:59:03 +03:00
Marko Mäkelä
65e1399e64
Merge 10.0 into 10.1
...
Significantly reduce the amount of InnoDB, XtraDB and Mariabackup
code changes by defining pfs_os_file_t as something that is
transparently compatible with os_file_t.
2017-05-20 08:41:20 +03:00
Sergei Golubchik
eb30230359
compilation warnings in Connect
2017-05-19 22:27:26 +02:00
Marko Mäkelä
13a350ac29
Merge 10.0 into 10.1
2017-05-19 12:29:37 +03:00
Vicențiu Ciorbaru
45898c2092
Merge remote-tracking branch 'origin/10.0' into 10.0
2017-05-18 15:45:55 +03:00
Marko Mäkelä
71cd205956
Silence bogus GCC 7 warnings -Wimplicit-fallthrough
...
Do not silence uncertain cases, or fix any bugs.
The only functional change should be that ha_federated::extra()
is not calling DBUG_PRINT to report an unhandled case for
HA_EXTRA_PREPARE_FOR_DROP.
2017-05-17 08:27:04 +03:00
Marko Mäkelä
7972da8aa1
Silence bogus GCC 7 warnings -Wimplicit-fallthrough
...
Do not silence uncertain cases, or fix any bugs.
The only functional change should be that ha_federated::extra()
is not calling DBUG_PRINT to report an unhandled case for
HA_EXTRA_PREPARE_FOR_DROP.
2017-05-17 08:07:02 +03:00
Vicențiu Ciorbaru
a111642d32
Merge remote-tracking branch 'connect/10.0' into 10.0
2017-05-16 14:11:39 +03:00
Sergei Golubchik
a3cf69e2e5
MDEV-10936 CONNECT engine JDBC type can't find JdbcInterface
...
Don't use instal_jar() from Use_Java.cmake -
at least in CentOS 7 (cmake 2.8.12.2) it doesn't yet support
the COMPONENT option.
2017-05-15 22:23:11 +02:00
Sergei Golubchik
71b4503242
MDEV-9998 Fix issues caught by Clang's -Wpointer-bool-conversion warning
...
remove useless checks
and a couple of others
2017-05-15 22:23:10 +02:00
Olivier Bertrand
fd0335686b
MDEV-12651: change error code to ER_ILLEGAL_HA in rnd_pos (ha_connect.cc)
2017-05-12 11:35:57 +02:00
Olivier Bertrand
436070c6e1
Fix failing test connect.json for MariaDB 10.0
...
Suppressing Uri and dsn from json tables (was MGO)
modified: storage/connect/ha_connect.cc
modified: storage/connect/tabdos.cpp
modified: storage/connect/tabjson.cpp
modified: storage/connect/tabjson.h
2017-05-12 00:33:33 +02:00
Olivier Bertrand
1c88b9a8d3
Fix wrong value of JSON column
...
When null and the column is NOT NULL the value was not reset.
modified: storage/connect/tabjson.cpp
Fix converting bstr_t string to set error message
modified: storage/connect/domdoc.cpp
Fix MDEV-12768: -Wformat-overflow compile warnings
modified: storage/connect/global.h
modified: storage/connect/jsonudf.cpp
modified: storage/connect/plugutil.cpp
modified: storage/connect/tabvct.cpp
Typo (in external_lock)
modified: storage/connect/ha_connect.cc
Remove some warnings
modified: storage/connect/odbconn.cpp
modified: storage/connect/tabmysql.cpp
Add MEM_RESERVE flag to virtualAlloc
modified: storage/connect/plgdbutl.cpp
Fix MDEV-12573:
Accept=1 may show incorrect value for NULL column in CONNECT TBL
modified: storage/connect/tabutil.cpp
Fix wrong setting of key size when greater than 2G
modified: storage/connect/xindex.cpp
Fixing MDEV-12149: compile errors on Windows with /Zc:strictStrings
Introduce typedef PCSZ and replace PSZ by it where it matters
All done on CONNECT but compile still fails because of an included system file
modified: storage/connect/array.cpp
modified: storage/connect/catalog.h
modified: storage/connect/colblk.cpp
modified: storage/connect/colblk.h
modified: storage/connect/connect.cc
modified: storage/connect/domdoc.cpp
modified: storage/connect/domdoc.h
modified: storage/connect/filamdbf.cpp
modified: storage/connect/filamdbf.h
modified: storage/connect/filamfix.cpp
modified: storage/connect/filamgz.cpp
modified: storage/connect/filamtxt.h
modified: storage/connect/filamvct.cpp
modified: storage/connect/filamvct.h
modified: storage/connect/filamzip.cpp
modified: storage/connect/filamzip.h
modified: storage/connect/ha_connect.cc
modified: storage/connect/ha_connect.h
modified: storage/connect/jdbccat.h
modified: storage/connect/jdbconn.cpp
modified: storage/connect/jdbconn.h
modified: storage/connect/json.cpp
modified: storage/connect/json.h
modified: storage/connect/jsonudf.cpp
modified: storage/connect/jsonudf.h
modified: storage/connect/libdoc.cpp
modified: storage/connect/macutil.cpp
modified: storage/connect/myconn.cpp
modified: storage/connect/myutil.cpp
modified: storage/connect/myutil.h
modified: storage/connect/odbccat.h
modified: storage/connect/odbconn.cpp
modified: storage/connect/odbconn.h
modified: storage/connect/os.h
modified: storage/connect/plgdbsem.h
modified: storage/connect/plgdbutl.cpp
modified: storage/connect/plgxml.cpp
modified: storage/connect/plgxml.h
modified: storage/connect/plugutil.cpp
modified: storage/connect/preparse.h
modified: storage/connect/reldef.cpp
modified: storage/connect/reldef.h
modified: storage/connect/tabdos.cpp
modified: storage/connect/tabdos.h
modified: storage/connect/tabext.cpp
modified: storage/connect/tabext.h
modified: storage/connect/tabfix.cpp
modified: storage/connect/tabfix.h
modified: storage/connect/tabfmt.cpp
modified: storage/connect/tabfmt.h
modified: storage/connect/tabjdbc.cpp
modified: storage/connect/tabjdbc.h
modified: storage/connect/tabjson.cpp
modified: storage/connect/tabjson.h
modified: storage/connect/table.cpp
modified: storage/connect/tabmac.cpp
modified: storage/connect/tabmul.cpp
modified: storage/connect/tabmul.h
modified: storage/connect/tabmysql.cpp
modified: storage/connect/tabmysql.h
modified: storage/connect/tabodbc.cpp
modified: storage/connect/tabodbc.h
modified: storage/connect/tabpivot.cpp
modified: storage/connect/tabpivot.h
modified: storage/connect/tabsys.cpp
modified: storage/connect/tabsys.h
modified: storage/connect/tabutil.cpp
modified: storage/connect/tabutil.h
modified: storage/connect/tabvir.cpp
modified: storage/connect/tabvir.h
modified: storage/connect/tabwmi.cpp
modified: storage/connect/tabwmi.h
modified: storage/connect/tabxml.cpp
modified: storage/connect/tabxml.h
modified: storage/connect/tabzip.cpp
modified: storage/connect/tabzip.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/xobject.cpp
modified: storage/connect/xobject.h
modified: storage/connect/xtable.h
Fix MDEV-12603 Insert replaces values in ZIP file
modified: storage/connect/filamzip.cpp
modified: storage/connect/filamzip.h
Fix MDEV-12686 Handle null in json
Fix MDEV-12688 Insert does not handle type TINYINT
modified: storage/connect/json.cpp
modified: storage/connect/tabjson.cpp
Fix MDEV-12653 Cannot add index for ZIP CONNECT table
modified: storage/connect/filamzip.cpp
modified: storage/connect/ha_connect.cc
modified: storage/connect/tabdos.cpp
modified: storage/connect/tabfmt.cpp
modified: storage/connect/tabjson.cpp
modified: storage/connect/xindex.cpp
2017-05-11 21:57:21 +02:00
Olivier Bertrand
531698e0da
Fix MDEV-12603 Insert replaces values in ZIP file
...
modified: storage/connect/filamzip.cpp
modified: storage/connect/filamzip.h
Fix MDEV-12686 Handle null in json
Fix MDEV-12688 Insert does not handle type TINYINT
modified: storage/connect/json.cpp
modified: storage/connect/tabjson.cpp
2017-05-06 00:08:20 +02:00
Olivier Bertrand
a2af3c0d44
Fix MDEV-12653 Cannot add index for ZIP CONNECT table
...
modified: storage/connect/filamzip.cpp
modified: storage/connect/ha_connect.cc
modified: storage/connect/tabdos.cpp
modified: storage/connect/tabfmt.cpp
modified: storage/connect/tabjson.cpp
modified: storage/connect/xindex.cpp
2017-05-04 18:51:19 +02:00
Olivier Bertrand
6525dc6336
Disable json tests
2017-05-03 12:05:05 +02:00
Olivier Bertrand
1de6440a2e
Fix MDEV-12587 MariaDB CONNECT DIR Type
...
- Subfolder Option: SELECT Query Never Ends
modified: storage/connect/tabmul.cpp
modified: storage/connect/tabmul.h
Work on MDEV-12667 Crash when using JSON tables
modified: storage/connect/connect.cc
modified: storage/connect/ha_connect.cc
modified: storage/connect/ha_connect.h
modified: storage/connect/plgdbutl.cpp
Change Base offset for DIR tables on Linux
modified: storage/connect/reldef.cpp
2017-05-03 10:32:01 +02:00
Olivier Bertrand
63b7d9d158
Fix MDEV-12631 valgrind warning for zipped tables
...
modified: storage/connect/filamzip.cpp
2017-04-29 19:20:51 +02:00
Vladislav Vaintroub
ec68f764f6
MDEV-9566 prepare mysqltest for mariabackup
...
- Do not throw output of exec command, if disable_result_log is set
save and dump it if exec fails. Need tha to meaningfully analyze
errors from mariabackup.
- rmdir now removes the entire tree. need that because xtrabackup tests
clean the whole directory.
- all filesystem modifying commands now require the argument to
be under MYSQLTEST_VARDIR or MYSQL_TMP_DIR.
2017-04-27 19:12:38 +02:00
Olivier Bertrand
a091314d27
Fix MDEV-12520: Decimal values can be truncated for JDBC tables
...
modified: storage/connect/jdbconn.cpp
Fix bug. Date value was null when retrieved from a json expanded array.
modified: storage/connect/tabjson.cpp
2017-04-22 14:14:11 +02:00
Olivier Bertrand
3ac35bb059
Fix crash when a line is not ended by \n.
...
modified: storage/connect/filamap.cpp
Add specifying a password when reading zipped tables.
modified: storage/connect/filamzip.cpp
modified: storage/connect/filamzip.h
modified: storage/connect/tabdos.cpp
modified: storage/connect/tabdos.h
Try Vaintroub suggestion
modified: storage/connect/mysql-test/connect/t/jdbc.test
2017-03-28 10:25:21 +02:00
Olivier Bertrand
5de5daa74e
Fix MDEV-12220: Crash when doing UPDATE or DELETE on an external
...
table (ODBC, JDBC, MYSQL) with a WHERE clause on an indexed column.
Also fix a bugs in TDBEXT::MakeCommand (use of uninitialised Quote)
Add in this function the eventual Schema (database) prefixing.
modified: storage/connect/connect.cc
modified: storage/connect/tabext.cpp
Typo
modified: storage/connect/tabjdbc.h
2017-03-18 12:49:14 +01:00
Olivier Bertrand
5bc538dd85
Commit the 2 last commits merged from 10.1
2017-03-11 19:35:03 +01:00
iangilfillan
f0ec34002a
Correct FSF address
2017-03-10 18:21:29 +01:00
Sergei Golubchik
b6a1d6538b
compiler warnings
2017-03-10 18:21:22 +01:00
Marko Mäkelä
ad0c218a44
Merge 10.0 into 10.1
...
Also, implement MDEV-11027 a little differently from 5.5 and 10.0:
recv_apply_hashed_log_recs(): Change the return type back to void
(DB_SUCCESS was always returned).
Report progress also via systemd using sd_notifyf().
2017-03-09 08:53:08 +02:00
Olivier Bertrand
92d283c026
Fix MDEV-12142 crash when creating CSV table
...
Was an unprepared longjmp (now throw)
Also fix a wrong calculation of To_Line sometimes causing a crash
because of buffer overflow.
modified: storage/connect/tabdos.cpp
Fix a wrong setting of USER for JDBC tables in connect_assisted_discovery.
Update jdbc_new.test after that fix, which changed errors.
modified: storage/connect/ha_connect.cc
modified: storage/connect/mysql-test/connect/r/jdbc_new.result
modified: storage/connect/mysql-test/connect/t/jdbc_new.test
Make using try/catch/throw the default option
modified: storage/connect/CMakeLists.txt
Typo
modified: storage/connect/xindex.cpp
Replace setjmp-longjmp's by try_catch-throw
modified: storage/connect/CMakeLists.txt
modified: storage/connect/array.cpp
modified: storage/connect/blkfil.cpp
modified: storage/connect/colblk.cpp
modified: storage/connect/connect.cc
modified: storage/connect/filamtxt.cpp
modified: storage/connect/filamvct.cpp
modified: storage/connect/filter.cpp
modified: storage/connect/global.h
modified: storage/connect/ha_connect.cc
modified: storage/connect/jdbconn.cpp
modified: storage/connect/json.cpp
modified: storage/connect/jsonudf.cpp
modified: storage/connect/odbconn.cpp
modified: storage/connect/osutil.c
modified: storage/connect/plgdbutl.cpp
deleted: storage/connect/plugutil.c
added: storage/connect/plugutil.cpp
modified: storage/connect/tabdos.cpp
modified: storage/connect/tabfix.cpp
modified: storage/connect/tabfmt.cpp
modified: storage/connect/tabjdbc.cpp
modified: storage/connect/tabjdbc.h
modified: storage/connect/tabjson.cpp
modified: storage/connect/tabmul.cpp
modified: storage/connect/tabmul.h
modified: storage/connect/tabmysql.cpp
modified: storage/connect/tabodbc.cpp
modified: storage/connect/tabodbc.h
modified: storage/connect/tabpivot.cpp
modified: storage/connect/tabsys.cpp
modified: storage/connect/tabvct.cpp
modified: storage/connect/tabvir.cpp
modified: storage/connect/tabxml.cpp
modified: storage/connect/valblk.cpp
modified: storage/connect/value.cpp
modified: storage/connect/xindex.cpp
modified: storage/connect/xobject.cpp
2017-03-06 17:23:56 +01:00
Vicențiu Ciorbaru
895b253963
Merge remote-tracking branch 'connect/10.0' into 10.0
2017-03-05 02:22:40 +02:00
Marko Mäkelä
adc91387e3
Merge 10.0 into 10.1
2017-03-03 13:27:12 +02:00
Olivier Bertrand
b2956b2ab4
Update version number and date
...
modified: storage/connect/ha_connect.cc
Add conditional SE exception support
modified: storage/connect/json.cpp
modified: storage/connect/plgdbutl.cpp
Change %p in %x in some sprintf functions.
This to avoid some compiler warnings.
modified: storage/connect/tabwmi.cpp
modified: storage/connect/tabxml.cpp
modified: storage/connect/value.h
Add JavaWrappers.jar to the class path
modified: storage/connect/jdbconn.cpp
Fix wrong declare (char *buf[256]; --> char buf[256];)
modified: storage/connect/xindex.cpp
2017-03-02 12:12:53 +01:00
Monty
d5c54f3990
Fixed compiler warnings
...
- Removed not used variables
- Added __attribute__()
- Added static to some local functions
(gcc 5.4 gives a warning for external functions without an external definition)
2017-02-28 16:10:46 +01:00
Olivier Bertrand
d75e5e6e26
Fix crashing when joining two JDBC tables..
...
Was in close (the virtual machine could have been detached.
modified: storage/connect/jdbconn.cpp
2017-02-24 23:21:20 +01:00
Olivier Bertrand
6f34d8807c
All changes made on 10.1
2017-02-16 18:01:48 +01:00
Marko Mäkelä
f1f8ebc325
Merge 10.0 into 10.1
2017-01-26 23:40:11 +02:00
Sergei Golubchik
fbcdc3437c
connect zip bug fix
2017-01-17 22:08:19 +01:00
Sergei Golubchik
f7d030489d
Merge branch '10.0' into 10.1
2017-01-17 20:17:35 +01:00
Olivier Bertrand
82913b0e90
Commit changes made for version 10.1
2017-01-17 19:39:49 +01:00