You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:hint=>t(:addition_copy_recall_params_hint,:default=>"Copy request parameter to clipboard which allows you to reconstruct/replay this page later\nCall menu 'Spec. additions / Execute with given parameters' and paste this info to reconstruct your page at later time."),
558
558
:icon_class=>'cui-copy',
559
559
show_icon_in_caption: true,
560
-
:action=>"copy_to_clipboard('#{request.parameters.except(:update_area,:browser_tab_id).to_json.gsub("'",''')}'); alert('#{t(:addition_copy_recall_params_answer,:default=>"Current request parameters are copied to clipboard.\nUse menu \"Spec. additions / Execute with given parameters\" to paste this parameters").gsub("\n",'\\n')}');"
560
+
:action=>"copy_to_clipboard('#{request.parameters.except(:update_area,:browser_tab_id).to_json.gsub("'",''').gsub('"',""")}'); show_popup_message('#{t(:addition_copy_recall_params_answer,:default=>"Current request parameters are copied to clipboard.\nUse menu \"Spec. additions / Execute with given parameters\" to paste this parameters").gsub("\n",'\\n').gsub('"',""")}');"
Copy file name to clipboardExpand all lines: test/controllers/dba_controller_test.rb
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,13 @@ class DbaControllerTest < ActionDispatch::IntegrationTest
9
9
#@routes = Engine.routes # Suppress routing error if only routes for dummy application are active
10
10
set_session_test_db_context
11
11
12
+
if !defined?@sga_sql_id
13
+
sql_row=sql_select_first_row"SELECT SQL_ID, Child_Number FROM v$sql WHERE SQL_Text LIKE '%seg$%' AND Object_Status = 'VALID' ORDER BY Executions DESC, First_Load_Time"
14
+
raise"DbaControllerTest.setup: No SQL found for test"ifsql_row.nil?
Copy file name to clipboardExpand all lines: test/controllers/dba_sga_controller_test.rb
+25-24Lines changed: 25 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,12 @@ class DbaSgaControllerTest < ActionDispatch::IntegrationTest
10
10
11
11
initialize_min_max_snap_id_and_times
12
12
13
-
if !defined?@@hist_sql_id
13
+
if !defined?@sga_sql_id
14
14
sql_row=sql_select_first_row"SELECT SQL_ID, Child_Number, Parsing_Schema_Name FROM v$sql WHERE SQL_Text LIKE '%seg$%' AND Object_Status = 'VALID' ORDER BY Executions DESC, First_Load_Time"
0 commit comments