Olivier Bertrand
2ce0043bf3
- Copy error message from G to g when using temporary storage for parsing.
...
modified: storage/connect/tabjson.cpp
2015-12-13 18:43:37 +01:00
Olivier Bertrand
a18a3fbdd1
- Serialize: Protect again eventual longjmp's.
...
Always return NULL on error.
Adding also the file length.
modified: storage/connect/json.cpp
modified: storage/connect/jsonudf.cpp
- JSONCOL::WriteColumn Add types SHORT and BIGINT as accepted
modified: storage/connect/tabjson.cpp
- TDBJSN: Make this type use a separate storage for Json parsing
and retrieve this memory between each rows. This is necessary
to be able to handle big tables. See MDEV-9228.
modified: storage/connect/tabjson.cpp
modified: storage/connect/tabjson.h
2015-12-09 00:00:08 +01:00
Olivier Bertrand
1d239d8c94
Make changes required by version 10.1.9 (see Sergei's mmail):
...
Use PlgDBSuballoc in JbinAlloc to avoid unsupported longjmp's.
modified: storage/connect/ha_connect.cc
modified: storage/connect/jsonudf.cpp
modified: storage/connect/jsonudf.h
modified: storage/connect/mysql-test/connect/r/json_udf.result
modified: storage/connect/mysql-test/connect/t/json_udf.inc
modified: storage/connect/tabjson.cpp
modified: storage/connect/value.cpp
Add new UDF functions jsoncontains, jsoncontains_path, json_set_item,
json_insert_item, json_update_item, jbin_set_item, jbin_insert_item,
jbin_update_item
modified: storage/connect/json.cpp
modified: storage/connect/json.h
modified: storage/connect/jsonudf.cpp
modified: storage/connect/jsonudf.h
2015-11-22 14:49:51 +01:00
Olivier Bertrand
100be0b6ee
Update JSON UDFs to version 1.04.0004
...
modified: storage/connect/json.cpp
modified: storage/connect/json.h
modified: storage/connect/jsonudf.cpp
modified: storage/connect/mysql-test/connect/r/json_udf.result
modified: storage/connect/mysql-test/connect/std_data/biblio.json
modified: storage/connect/mysql-test/connect/t/json_udf.inc
modified: storage/connect/mysql-test/connect/t/json_udf.test
modified: storage/connect/tabjson.cpp
2015-10-17 17:23:11 +02:00
Olivier Bertrand
55cb3d8b44
Add new json UDFs and make possible to use a json file name as json item.
...
modified: storage/connect/json.cpp
modified: storage/connect/json.h
modified: storage/connect/jsonudf.cpp
modified: storage/connect/mysql-test/connect/r/json_udf.result
modified: storage/connect/mysql-test/connect/t/json.test
modified: storage/connect/tabjson.cpp
Fix wrong calculation of Estimated Length when the table has virtual or special columns
modified: storage/connect/reldef.h
modified: storage/connect/tabdos.cpp
Fix wrong handling of null values in ODBCCOL::ReadColumn
modified: storage/connect/tabodbc.cpp
Fix crash when SetValue_char is called with a negative length value.
This can happen in odbconn.cpp when SQLFetch returns SQL_NO_TOTAL (-4) as length.
modified: storage/connect/odbconn.cpp
modified: storage/connect/value.cpp
2015-08-14 17:07:50 +02:00
Olivier Bertrand
7482f073ae
Commit od last modifications made for version 10.0
2015-06-06 19:23:06 +02:00
Olivier Bertrand
1c756512b0
Commit win and CONNECT resolved files
2015-06-05 23:54:19 +02:00
Olivier Bertrand
e8ea671c25
Commit changes pulled from ob-10.0
2015-06-02 10:34:51 +02:00
Olivier Bertrand
893631a8c1
All the last changes made in the ob-10.0 branch including also changes of line endings of some test files
2015-05-20 12:39:17 +02:00
Olivier Bertrand
83ca074c75
Last commit was done with wrong files
2015-05-10 12:52:28 +02:00
Olivier Bertrand
9dee994d99
Get rid of GCC warnings about unused parameters
...
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
2015-05-10 11:58:23 +02:00
Olivier Bertrand
6dda9e04fa
Same as last 10.0 commit
2015-05-01 18:53:50 +02:00
Olivier Bertrand
b3f9838f5b
Update 10.1 with changes from 10.0
2015-04-19 12:15:58 +02:00
Olivier Bertrand
464947e632
- 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:31:10 +01:00
Olivier Bertrand
7733b247e1
Same changes than in version 10.0.17
2015-03-19 12:21:08 +01:00
Olivier Bertrand
8fc6956430
- Fix compile errors and warnings of LINUX G++
...
added:
storage/connect/json.cpp
storage/connect/json.h
storage/connect/mysql-test/connect/r/json.result
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
storage/connect/mysql-test/connect/t/json.test
storage/connect/tabjson.cpp
storage/connect/tabjson.h
modified:
storage/connect/CMakeLists.txt
storage/connect/engmsg.h
storage/connect/filamtxt.h
storage/connect/ha_connect.cc
storage/connect/msgid.h
storage/connect/mycat.cc
storage/connect/plgdbsem.h
storage/connect/tabdos.cpp
storage/connect/value.cpp
storage/connect/value.h
2015-01-20 01:21:56 +01:00
Olivier Bertrand
2d2e110bce
- Adding the JSON table type
...
added:
storage/connect/json.cpp
storage/connect/json.h
storage/connect/mysql-test/connect/r/json.result
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
storage/connect/mysql-test/connect/t/json.test
storage/connect/tabjson.cpp
storage/connect/tabjson.h
modified:
storage/connect/CMakeLists.txt
storage/connect/engmsg.h
storage/connect/filamtxt.h
storage/connect/ha_connect.cc
storage/connect/msgid.h
storage/connect/mycat.cc
storage/connect/plgdbsem.h
storage/connect/tabdos.cpp
storage/connect/value.cpp
storage/connect/value.h
2015-01-19 18:55:25 +01:00