maria:bb-anel-json-v2

Last commit made on 2019-06-03
Get this branch:
git clone -b bb-anel-json-v2 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-anel-json-v2
Repository:
lp:maria

Recent commits

4f2f95d... by Anel Husakovic <email address hidden> on 2019-06-03

Add support to INT32, UINT64

- Added a test case for ints ->works
- Same analogy should be applied to other int types ->todo with tests
- Analysis done

ad2ec31... by Anel Husakovic <email address hidden> on 2019-05-24

Add summary tests json object only for review

- Test is working for string and int16 data type
- Test is not working for INT32 and UINT64 data type
- Analysis done

e059c52... by Anel Husakovic <email address hidden> on 2019-05-24

Add parsing of of mysql json object with INT values (0x5)

- Used `string::append_longlong()` and is looking as:
```
(gdb) p buffer->Ptr
$1 = 0x7fffe00306e8 "{\"a\":2}"
```
@todo test with big >0 and <0 ints in mysql

- After this step strings are getting double qoutes (mysql has
`double_qoute()`
```
(gdb) p buffer->Ptr
$1 = 0x7fffe004ae48 "{\"key1\":\"val1\",\"key2\":\"val2\"}",
```

fca2de1... by Anel Husakovic <email address hidden> on 2019-05-24

Cosmetic fixes of json object and todo string value

20b1b12... by Anel Husakovic <email address hidden> on 2019-05-23

Add parsing of mysql json object with string values(0xc)

- Added parsing of mysql binary wrt KEY_ENTRY_SIZE and VALUE_ENTRY_SIZE
of json object only (@todo- json array)
- Added parsing of string value (@todo- add new function)
- (todo- add all other types supported by mysql)
- @todos- after review
- Output:
```
(gdb) p buffer->Ptr
$1 = 0x7fffe004ae48 "key1:val1,key2:val2"
```

69ed06a... by Anel Husakovic <email address hidden> on 2019-05-13

Add test2

13f51e2... by Anel Husakovic <email address hidden> on 2019-05-07

Add new file mysql_json instead of everything

511543f... by Anel Husakovic <email address hidden> on 2019-05-07

Add parse_array_or_object()

d95939a... by Anel Husakovic <email address hidden> on 2019-05-07

Drop json_mysql_binary.cc and json_dom.cc 1

eb77a67... by Anel Husakovic <email address hidden> on 2019-04-02

Adding changes to compile

- Enable to compile on fresh installation of `10.3`
- Don't use `auto_ptr`, use `unique_ptr` instead
- Enable to compile for all storage engines