Olivier Bertrand
daa8b6b5ba
D:\Ber\Develop\git3.msg
2015-03-28 20:18:46 +01:00
Olivier Bertrand
9cace9932f
- Fix a bug that caused a crash when doing delete on a json table with wrong syntax file
...
- Suppress MYSQL_SUPPORT preprocessor variable
2015-03-22 11:34:29 +01:00
Olivier Bertrand
2bb42803df
This commit includes changes done in a previous (deleted) branch plus new ones.
...
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.
2015-03-18 13:30:14 +01:00
Buggynours
eb2f763872
Add #include <ostream> in dict0mem.h and change iterator to const_iterator in dic0mem.cc
...
This fix compiling error when compiled with Visual Studio 9 2008
2015-03-03 12:39:42 +01:00
Sergei Golubchik
e33b48ae8b
Merge remote-tracking branch 'origin/10.0' into 10.0
2015-03-02 16:47:43 +01:00
Sergei Golubchik
c06c465a96
10.0-connect merge
2015-03-02 16:45:44 +01:00
Olivier Bertrand
b9a9b82f9e
- Make json_udf test work on Windows
...
modified:
storage/connect/mysql-test/connect/t/json_udf.inc
2015-03-02 00:35:56 +01:00
Olivier Bertrand
5f4909b31d
- Making json_udf test working on linux
...
added:
storage/connect/mysql-test/connect/t/json_udf.inc
modified:
storage/connect/mysql-test/connect/r/json_udf.result
storage/connect/mysql-test/connect/t/json_udf.test
2015-03-01 23:55:09 +01:00
Olivier Bertrand
34c89597ef
- Remove a signed/unsigned warning.
...
modified:
storage/connect/jsonudf.cpp
2015-03-01 19:29:56 +01:00
Olivier Bertrand
5c8862ee19
- Fix crash when Json_Value was called without arguments.
...
Correct memory calculation in Serialize.
Correct some UDF's messages.
Add and modify the json tests
removed:
storage/connect/mysql-test/connect/std_data/biblio.jsn
storage/connect/mysql-test/connect/std_data/expense.jsn
storage/connect/mysql-test/connect/std_data/mulexp3.jsn
storage/connect/mysql-test/connect/std_data/mulexp4.jsn
storage/connect/mysql-test/connect/std_data/mulexp5.jsn
added:
storage/connect/mysql-test/connect/r/json_udf.result
storage/connect/mysql-test/connect/std_data/biblio.json
storage/connect/mysql-test/connect/std_data/expense.json
storage/connect/mysql-test/connect/std_data/mulexp3.json
storage/connect/mysql-test/connect/std_data/mulexp4.json
storage/connect/mysql-test/connect/std_data/mulexp5.json
storage/connect/mysql-test/connect/t/json_udf.test
modified:
storage/connect/json.cpp
storage/connect/jsonudf.cpp
storage/connect/mysql-test/connect/r/json.result
storage/connect/mysql-test/connect/t/json.test
2015-03-01 19:20:40 +01:00
Olivier Bertrand
d862d7c049
- Implement random access to ODBC tables
...
modified:
storage/connect/odbconn.cpp
storage/connect/odbconn.h
- Fix get proper length of ODBC DECIMAL column in discovery
modified:
storage/connect/ha_connect.cc
storage/connect/mysql-test/connect/r/odbc_oracle.result
- Implement random access to JSON tables
modified:
storage/connect/tabjson.cpp
storage/connect/tabjson.h
- Fix MDEV-7636
modified:
storage/connect/tabutil.cpp
2015-02-28 23:01:55 +01:00
Olivier Bertrand
aa107ef3ab
- FIX assert failure when sorting JSON tables
...
modified:
storage/connect/tabjson.cpp
storage/connect/tabjson.h
2015-02-25 11:59:00 +01:00
Olivier Bertrand
e027f5e8d5
- Fix MDEV-7616 by adding SQLCOM_SET_OPTION to the accepted command list.
...
modified:
storage/connect/ha_connect.cc
- Add new JSON UDF functions and JSON functionalities.
modified:
storage/connect/json.cpp
storage/connect/json.h
storage/connect/jsonudf.cpp
storage/connect/tabjson.cpp
2015-02-24 23:18:04 +01:00
Sergei Golubchik
6c09a72af5
Merge remote-tracking branch 'origin/10.0' into 10.0
2015-02-24 20:52:37 +01:00
Sergei Golubchik
73033e5e1a
fix mroonga to compile w/o performance schema
2015-02-24 15:54:59 +01:00
Sergei Golubchik
723be51678
Merge
2015-02-24 14:17:00 +01:00
Jan Lindström
8799f87075
MDEV-7623: Add lock wait time and hold time to every record/table lock in
...
InnoDB transaction lock printout.
2015-02-24 10:33:49 +02:00
Jan Lindström
90635c6fb5
MDEV-7620: Transaction lock wait is missing number of lock
...
waits and total wait time.
2015-02-23 11:24:19 +02:00
Sergei Golubchik
f2cb45daf3
Merge remote-tracking branch 'origin/10.0' into 10.0
2015-02-22 21:45:24 +01:00
Olivier Bertrand
a736e63f7c
- Add new Json UDF's Json_Array_Add, Json_Array_Grp and Json_Object_Grp.
...
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
2015-02-22 17:53:02 +01:00
Sergei Golubchik
77e6e74a26
merge 10.0-spider
2015-02-19 22:05:33 +01:00
Kentoku SHIBA
cf3b51b1d5
Merge Spider 3.2.18
2015-02-20 00:41:26 +09:00
Sergei Golubchik
c1ebb4a60f
compiler warnings in spider
2015-02-19 11:28:03 +01:00
Sergei Golubchik
16c01c7004
after merge: fix mroonga to compile and pass its tests
2015-02-19 10:26:52 +01:00
Sergei Golubchik
da637137ba
merge 10.0-mroonga
2015-02-19 09:57:34 +01:00
Sergei Golubchik
56114a416f
merge 10.0-connect
2015-02-19 09:37:11 +01:00
Olivier Bertrand
d9175f3822
- Remove GCC warnings
...
modified:
storage/connect/jsonudf.cpp
storage/connect/tabutil.h
2015-02-19 01:25:31 +01:00
Olivier Bertrand
564d41faf4
- Work on JSON and JSON UDF's
...
modified:
storage/connect/json.cpp
storage/connect/jsonudf.cpp
storage/connect/tabjson.cpp
- CntReadNext: Enable EvalColumns for longjmp
modified:
storage/connect/connect.cc
2015-02-19 00:59:02 +01:00
Sergei Golubchik
174bccd3ff
xtradb 5.6.22-72.0
2015-02-18 20:31:40 +01:00
Sergei Golubchik
6b05688f6d
innodb 5.6.23
2015-02-18 17:59:21 +01:00
Sergei Golubchik
d7e7862364
Merge branch '5.5' into 10.0
2015-02-18 15:16:27 +01:00
Jan Lindström
a1a32f8f25
Revert file space allocation change on row0merge.cc.
2015-02-18 06:59:28 +02:00
Kentoku SHIBA
f5dabd7aca
Update Mroonga to the latest version on 2015-02-17T13:34:27+0900
2015-02-17 13:34:27 +09:00
Jan Lindström
454beee5fb
MDEV-6288 :Innodb causes server crash after disk full, then can't ALTER TABLE any more
...
Fix try to avoid unnecessary crashes when disk full situation is reached
on alter table.
2015-02-13 11:49:31 +02:00
Olivier Bertrand
2201aa66cf
- Typo on the jsonudf.cpp name
...
modified:
storage/connect/CMakeLists.txt
2015-02-12 17:23:28 +01:00
Sergei Golubchik
5dce6aa1fe
Merge remote-tracking branch 'bzr/5.5' into bb-5.5-merge
2015-02-12 13:14:55 +01:00
Sergei Golubchik
ed839052d7
Merge tag 'tokudb-7.5.5' into bb-5.5-merge
2015-02-12 00:23:21 +01:00
Sergei Golubchik
8e80f91fa3
Merge remote-tracking branch 'mysql/5.5' into bb-5.5-merge @ mysql-5.5.42
2015-02-11 23:50:40 +01:00
Olivier Bertrand
dcfe068d59
- Adding json udf's. Making the second version of json tables.
...
added:
storage/connect/jsonudf.cpp
modified:
storage/connect/CMakeLists.txt
storage/connect/json.cpp
storage/connect/json.h
storage/connect/tabjson.cpp
storage/connect/tabjson.h
- Fix utf8 issues with PROXY tables
modified:
storage/connect/ha_connect.cc
storage/connect/tabutil.cpp
storage/connect/tabutil.h
2015-02-11 21:39:41 +01:00
Sergei Golubchik
2a1be9cdf8
XtraDB 5.5.41-37.0
2015-02-11 20:40:56 +01:00
Jan Lindström
56da6252f7
Improve InnoDB transaction lock output by providing number of table locks
...
this transaction is currently holding and total number of table locks to
the table where lock is held.
2015-02-10 15:15:27 +02:00
Alexander Barkov
a2578018bf
Fixing compilation failure in storage/connect when -DMYSQL_MAINTAINER_MODE=ON:
...
disabling some CXX errors in storage/connect/CMakeLists.txt.
2015-02-10 16:01:03 +04:00
Sergei Golubchik
f007f82881
MDEV-7351 5.5 build fails on Ubuntu Utopic in buildbot
...
include oqgraph into deb packages conditionally, just like we do with tokudb
2015-02-09 20:53:28 +01:00
Jan Lindström
44a9e3f7b4
MDEV-7139: Sporadic failure in innodb.innodb_corrupt_bit on P8
...
The testcase fails randomly due to ibuf merge happening in the background.
Fix not to do any merges with ibuf_debug enabled.
2015-02-09 16:14:27 +02:00
Olivier Bertrand
3c097fd689
- Remove some GCC warnings
...
modified:
storage/connect/ha_connect.cc
2015-02-08 19:47:26 +01:00
Olivier Bertrand
96ba1f1473
- Handle the use of date/time values when making queries for MYSQL or
...
ODBC. Was raised by 7549.
modified:
storage/connect/ha_connect.cc
storage/connect/odbconn.cpp
storage/connect/tabodbc.cpp
2015-02-08 18:17:29 +01:00
Olivier Bertrand
35548d577c
- Modify the connect_type_conv and connect_conv_size variables.
...
They were global (read-only) now they are session (not read-only)
modified:
storage/connect/checklvl.h
storage/connect/ha_connect.cc
storage/connect/myconn.cpp
storage/connect/myutil.cpp
storage/connect/tabutil.cpp
- Suppress the compver variable on Linux compile. Was not
debian reproductible because using __DATE__ and __TIME__ macros.
modified:
storage/connect/ha_connect.cc
- ODBC LONGVARVAR type conversion now uses connect_conv_size.
modified:
storage/connect/odbconn.cpp
2015-02-07 11:33:52 +01:00
Jan Lindström
8cc9751165
MDEV-7538: Wrong constraint (TINYINT or MEDIUMINT and INT)
...
causes server crash
Analysis: If wrong data types used on foreign constraint there
was possibility that foreign->id is NULL when incorrect
foreign constraint was removed from the dictionary cache.
Fix: Add guard foreign->id != NULL before trying to lookup
or remove the foreign constraint from dictionary cache.
Tested using user database where problem was repeatable.
2015-02-04 14:40:46 +02:00
Jan Lindström
f32091532d
MDEV-7055: MySQL#74664 - InnoDB: Failing assertion: len <= col->len || col->mtype == 5 || (col->len == 0 && col->mtype == 1) in file rem0rec.cc line 845
...
Debug assertion maybe too strict.
2015-02-04 10:50:16 +02:00
Jan Lindström
7afbf338aa
MDEV-7513: ib_warn_row_too_big dereferences null thd
...
Analysis: Purge thread does not have thd and no access to
handlerton.
Fix: If thd does not exists we use sql_print_warning instead
of push_warning_printf.
2015-02-04 09:29:54 +02:00