[MCOL-135] Can not create stored procedures in ColumnStore Created: 2016-06-12 Updated: 2016-06-12 Resolved: 2016-06-12 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | regression suite |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Justin Swanhart (Inactive) | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Description |
|
{{delimiter ;; – JSON returned from SQ – where to put the rows after decoding the JSON – JSON string extracted from v_json which represents list of columns – the VALUES clause for the insert into v_table – used for finding parts of the JSON – use the SQL default schema if no schema provided – check args set v_args := concat(' {"sql":"', v_sql, '","schema_name":"',v_remote_schema,'"}'); set v_json := gman_do('shard_query_worker', v_args); – Extract the JSON arrays from the document – clean up column list – extract rows – the column json has a very simple structure. The easiest thing to do is simply ',''),',',' text,'),' text)'); – generate the INSERT statement if(@sqdebug is not null) then prepare stmt from @insert; if v_return_result != 0 then if v_drop_table != 0 then end;; delimiter ;}} ERROR 1303 (2F003): Can't create a PROCEDURE from within another stored routine |
| Comments |
| Comment by Dipti Joshi (Inactive) [ 2016-06-12 ] |
|
Duplicate of |