Added prequery statements to SQLReport and per-dbLink allowed keywords.
This commit is contained in:
parent
929df9cbf9
commit
72b999b0ea
10 changed files with 218 additions and 68 deletions
|
|
@ -26,9 +26,22 @@ addSearchEngine();
|
|||
addEMSTemplates();
|
||||
addEMSTables();
|
||||
updateTemplates();
|
||||
updateDatabaseLinksAndSQLReport();
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
#-------------------------------------------------
|
||||
sub updateDatabaseLinksAndSQLReport {
|
||||
print "\tUpdating the Database link and SQLReport Tables.\n";
|
||||
$session->db->write('alter table databaseLink add column allowedKeywords text');
|
||||
$session->db->write('update databaseLink set allowedKeywords="select\ndecsribe\nshow"');
|
||||
$session->db->write('alter table SQLReport add column prequeryStatements1 text');
|
||||
$session->db->write('alter table SQLReport add column prequeryStatements2 text');
|
||||
$session->db->write('alter table SQLReport add column prequeryStatements3 text');
|
||||
$session->db->write('alter table SQLReport add column prequeryStatements4 text');
|
||||
$session->db->write('alter table SQLReport add column prequeryStatements5 text');
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub updateTemplates {
|
||||
print "\tUpdating base templates for XHTML compliance, and a cleaner look.\n" unless ($quiet);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue