Use prepared statements instead of string concatenated SQL everywhere - WIP (FINERACT-854)
This commit is contained in:
committed by
Petri Tuomola
parent
f96fc7df39
commit
859ce5af62
+7
-2
@@ -18,5 +18,10 @@
|
||||
--
|
||||
|
||||
-- two tables added: ReportCategoryList and FullReportList (FINERACT-1306)
|
||||
INSERT INTO stretchy_report (report_name, report_type, report_category, report_sql, description, core_report, use_report)VALUES ("ReportCategoryList", 'Table', '(NULL)', '(NULL)', '(NULL)', 1, 1);
|
||||
INSERT INTO stretchy_report (report_name, report_type, report_category, report_sql, description, core_report, use_report)VALUES ("FullReportList", 'Table', '(NULL)', '(NULL)', '(NULL)', 1, 1);
|
||||
INSERT INTO stretchy_report (report_name, report_type, report_category, report_sql, description, core_report, use_report)
|
||||
SELECT "ReportCategoryList", 'Table', '(NULL)', '(NULL)', '(NULL)', 1, 1
|
||||
ON DUPLICATE key UPDATE report_name = 'ReportCategoryList';
|
||||
|
||||
INSERT INTO stretchy_report (report_name, report_type, report_category, report_sql, description, core_report, use_report)
|
||||
SELECT "FullReportList", 'Table', '(NULL)', '(NULL)', '(NULL)', 1, 1
|
||||
ON DUPLICATE key UPDATE report_name = 'FullReportList';
|
||||
|
||||
Reference in New Issue
Block a user