This commit is contained in:
shoopea 2020-06-17 11:48:24 +02:00
parent c12db662ea
commit 3cfbd29cb3

2
sql.go
View File

@ -633,6 +633,8 @@ func initDBViews() {
,(SELECT costx.intl_id FROM code_obj_sub_type costx, obj ox WHERE ox.id = oj.trigger_id AND costx.id = ox.obj_sub_type_id) COLLATE utf8mb4_unicode_ci AS trigger_sub_type ,(SELECT costx.intl_id FROM code_obj_sub_type costx, obj ox WHERE ox.id = oj.trigger_id AND costx.id = ox.obj_sub_type_id) COLLATE utf8mb4_unicode_ci AS trigger_sub_type
,oj.inserted ,oj.inserted
,oj.ended ,oj.ended
,oj.zipped
,CASE oj.zipped WHEN 0 THEN CAST(oj.payload AS CHAR(20000)) ELSE null END COLLATE utf8mb4_unicode_ci AS payload
FROM obj o FROM obj o
,obj_job oj ,obj_job oj
,code_obj_sub_type cost ,code_obj_sub_type cost