diff options
| author | Anel Husakovic <anel@mariadb.org> | 2019-05-24 03:27:28 -0700 |
|---|---|---|
| committer | Anel Husakovic <anel@mariadb.org> | 2019-05-24 03:27:31 -0700 |
| commit | e059c522aff30732c9defb1fc50e5a5f8150d89d (patch) | |
| tree | b68cb13a806417f373108d0b921abdea650bdea4 /sql/sql_alter.cc | |
| parent | fca2de1cbb7a509c4031d830f05eb2e4e9829df1 (diff) | |
| download | mariadb-git-e059c522aff30732c9defb1fc50e5a5f8150d89d.tar.gz | |
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\"}",
```
Diffstat (limited to 'sql/sql_alter.cc')
0 files changed, 0 insertions, 0 deletions
