[MDEV-7665] Bug in biblio3.json JSON example file in manual Created: 2015-03-05 Updated: 2015-03-09 Resolved: 2015-03-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation |
| Affects Version/s: | N/A |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Chris Calender (Inactive) | Assignee: | Ian Gilfillan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | verified | ||
| Description |
|
https://mariadb.com/kb/en/mariadb/connect-json-table-type/ biblio3.json has an error - it is missing a { at the end, before last ]. If you use it as-is, the CREATE TABLE works, but the first SELECT fails: {code:sql}mysql> create table jsample ( mysql> select isbn, author, title, publisher from jsample;
|
| Comments |
| Comment by Elena Stepanova [ 2015-03-05 ] | |||||||||||
|
Only I think the bracket is missing in a different place:
See also | |||||||||||
| Comment by Chris Calender (Inactive) [ 2015-03-05 ] | |||||||||||
|
Yes, you are correct! I tested this and now get the same results the manual shows, so that is great. The warning(s) can be ignored. | |||||||||||
| Comment by Ian Gilfillan [ 2015-03-09 ] | |||||||||||
|
Thanks, the missing bracket has been added to the docs. |