Permalink
Browse files

Big pass through for standardization and easy generation of a single …

…integration file

* The formatting for all comments has been standardized on -- line comments. C-style /* comments */ have been removed
* Each object has been created within it's own file. No longer do x$ views live with their non-x$ counterparts
* Various formatting issues
  • Loading branch information...
1 parent a871455 commit 9c5c6f8a1c9a486a280c9cc27987206ed6ffad88 @MarkLeith MarkLeith committed Jan 9, 2015
Showing with 5,708 additions and 4,950 deletions.
  1. +14 −14 after_setup.sql
  2. +17 −16 functions/extract_schema_from_file_name.sql
  3. +16 −15 functions/extract_table_from_file_name.sql
  4. +15 −15 functions/format_bytes.sql
  5. +15 −15 functions/format_path.sql
  6. +16 −16 functions/format_statement.sql
  7. +15 −15 functions/format_time.sql
  8. +16 −16 functions/ps_is_account_enabled.sql
  9. +15 −15 functions/ps_is_instrument_default_enabled.sql
  10. +15 −15 functions/ps_is_instrument_default_timed.sql
  11. +24 −19 functions/ps_thread_id.sql
  12. +25 −25 functions/ps_thread_stack.sql
  13. +16 −16 functions/sys_get_config.sql
  14. +17 −17 procedures/create_synonym_db.sql
  15. +14 −14 procedures/ps_setup_disable_background_threads.sql
  16. +15 −15 procedures/ps_setup_disable_consumer.sql
  17. +15 −15 procedures/ps_setup_disable_instrument.sql
  18. +14 −14 procedures/ps_setup_disable_thread.sql
  19. +14 −14 procedures/ps_setup_enable_background_threads.sql
  20. +14 −14 procedures/ps_setup_enable_consumer.sql
  21. +15 −15 procedures/ps_setup_enable_instrument.sql
  22. +14 −14 procedures/ps_setup_enable_thread.sql
  23. +17 −17 procedures/ps_setup_reload_saved.sql
  24. +14 −14 procedures/ps_setup_reset_to_default.sql
  25. +14 −19 procedures/ps_setup_reset_to_default_57.sql
  26. +16 −0 procedures/ps_setup_reset_to_default_57_after.sql
  27. +17 −0 procedures/ps_setup_reset_to_default_57_before.sql
  28. +15 −15 procedures/ps_setup_save.sql
  29. +15 −15 procedures/ps_setup_show_disabled.sql
  30. +14 −14 procedures/ps_setup_show_disabled_consumers.sql
  31. +14 −14 procedures/ps_setup_show_disabled_instruments.sql
  32. +14 −14 procedures/ps_setup_show_enabled.sql
  33. +14 −14 procedures/ps_setup_show_enabled_consumers.sql
  34. +16 −17 procedures/ps_setup_show_enabled_instruments.sql
  35. +14 −14 procedures/ps_statement_avg_latency_histogram.sql
  36. +16 −16 procedures/ps_trace_statement_digest.sql
  37. +34 −34 procedures/ps_trace_thread.sql
  38. +15 −15 procedures/ps_truncate_all_tables.sql
  39. +48 −3 sys_56.sql
  40. +57 −6 sys_57.sql
  41. +1 −47 tables/sys_config.sql
  42. +16 −0 tables/sys_config_data.sql
  43. +35 −0 triggers/sys_config_insert_set_user.sql
  44. +35 −0 triggers/sys_config_update_set_user.sql
  45. +30 −73 views/i_s/innodb_buffer_stats_by_schema.sql
  46. +34 −83 views/i_s/innodb_buffer_stats_by_table.sql
  47. +41 −114 views/i_s/innodb_lock_waits.sql
  48. +37 −38 views/i_s/schema_object_overview.sql
  49. +55 −0 views/i_s/x_innodb_buffer_stats_by_schema.sql
  50. +62 −0 views/i_s/x_innodb_buffer_stats_by_table.sql
  51. +84 −0 views/i_s/x_innodb_lock_waits.sql
  52. +28 −76 views/p_s/host_summary.sql
  53. +29 −83 views/p_s/host_summary_57.sql
  54. +29 −63 views/p_s/host_summary_by_file_io.sql
  55. +44 −98 views/p_s/host_summary_by_file_io_type.sql
  56. +43 −94 views/p_s/host_summary_by_stages.sql
  57. +28 −73 views/p_s/host_summary_by_statement_latency.sql
  58. +33 −85 views/p_s/host_summary_by_statement_type.sql
  59. +36 −94 views/p_s/io_by_thread_by_latency.sql
  60. +30 −76 views/p_s/io_global_by_file_by_bytes.sql
  61. +30 −76 views/p_s/io_global_by_file_by_latency.sql
  62. +41 −103 views/p_s/io_global_by_wait_by_bytes.sql
  63. +41 −111 views/p_s/io_global_by_wait_by_latency.sql
  64. +30 −75 views/p_s/latest_file_io.sql
  65. +0 −92 views/p_s/memory_by_host.sql
  66. +52 −0 views/p_s/memory_by_host_by_current_bytes.sql
  67. +0 −112 views/p_s/memory_by_thread.sql
  68. +62 −0 views/p_s/memory_by_thread_by_current_bytes.sql
  69. +0 −92 views/p_s/memory_by_user.sql
  70. +52 −0 views/p_s/memory_by_user_by_current_bytes.sql
  71. +0 −100 views/p_s/memory_global_by_current_allocated.sql
  72. +56 −0 views/p_s/memory_global_by_current_bytes.sql
  73. +26 −51 views/p_s/memory_global_total.sql
  74. +44 −140 views/p_s/processlist.sql
  75. +47 −145 views/p_s/processlist_57.sql
  76. +28 −29 views/p_s/ps_check_lost_instrumentation.sql
  77. +32 −85 views/p_s/schema_index_statistics.sql
  78. +43 −162 views/p_s/schema_table_statistics.sql
  79. +50 −154 views/p_s/schema_table_statistics_with_buffer.sql
  80. +31 −70 views/p_s/schema_tables_with_full_table_scans.sql
  81. +36 −37 views/p_s/schema_unused_indexes.sql
  82. +47 −138 views/p_s/statement_analysis.sql
  83. +32 −84 views/p_s/statements_with_errors_or_warnings.sql
  84. +41 −111 views/p_s/statements_with_full_table_scans.sql
  85. +30 −153 views/p_s/statements_with_runtimes_in_95th_percentile.sql
  86. +36 −97 views/p_s/statements_with_sorting.sql
  87. +35 −91 views/p_s/statements_with_temp_tables.sql
  88. +28 −76 views/p_s/user_summary.sql
  89. +29 −85 views/p_s/user_summary_57.sql
  90. +29 −63 views/p_s/user_summary_by_file_io.sql
  91. +44 −98 views/p_s/user_summary_by_file_io_type.sql
  92. +43 −94 views/p_s/user_summary_by_stages.sql
  93. +28 −73 views/p_s/user_summary_by_statement_latency.sql
  94. +33 −85 views/p_s/user_summary_by_statement_type.sql
  95. +31 −76 views/p_s/wait_classes_global_by_avg_latency.sql
  96. +31 −75 views/p_s/wait_classes_global_by_latency.sql
  97. +30 −72 views/p_s/waits_by_host_by_latency.sql
  98. +40 −93 views/p_s/waits_by_user_by_latency.sql
  99. +30 −70 views/p_s/waits_global_by_latency.sql
  100. +60 −0 views/p_s/x_host_summary.sql
  101. +66 −0 views/p_s/x_host_summary_57.sql
  102. +46 −0 views/p_s/x_host_summary_by_file_io.sql
  103. +66 −0 views/p_s/x_host_summary_by_file_io_type.sql
  104. +64 −0 views/p_s/x_host_summary_by_stages.sql
  105. +57 −0 views/p_s/x_host_summary_by_statement_latency.sql
  106. +64 −0 views/p_s/x_host_summary_by_statement_type.sql
  107. +70 −0 views/p_s/x_io_by_thread_by_latency.sql
  108. +58 −0 views/p_s/x_io_global_by_file_by_bytes.sql
  109. +58 −0 views/p_s/x_io_global_by_file_by_latency.sql
  110. +74 −0 views/p_s/x_io_global_by_wait_by_bytes.sql
  111. +82 −0 views/p_s/x_io_global_by_wait_by_latency.sql
  112. +57 −0 views/p_s/x_latest_file_io.sql
  113. +52 −0 views/p_s/x_memory_by_host_by_current_bytes.sql
  114. +62 −0 views/p_s/x_memory_by_thread_by_current_bytes.sql
  115. +52 −0 views/p_s/x_memory_by_user_by_current_bytes.sql
  116. +56 −0 views/p_s/x_memory_global_by_current_bytes.sql
  117. +37 −0 views/p_s/x_memory_global_total.sql
  118. +105 −0 views/p_s/x_processlist.sql
  119. +110 −0 views/p_s/x_processlist_57.sql
  120. +46 −0 views/p_s/x_ps_digest_95th_percentile_by_avg_us.sql
  121. +33 −0 views/p_s/x_ps_digest_avg_latency_distribution.sql
  122. +64 −0 views/p_s/x_ps_schema_table_statistics_io.sql
  123. +65 −0 views/p_s/x_schema_index_statistics.sql
  124. +94 −0 views/p_s/x_schema_table_statistics.sql
  125. +116 −0 views/p_s/x_schema_table_statistics_with_buffer.sql
  126. +51 −0 views/p_s/x_schema_tables_with_full_table_scans.sql
  127. +103 −0 views/p_s/x_statement_analysis.sql
  128. +64 −0 views/p_s/x_statements_with_errors_or_warnings.sql
  129. +82 −0 views/p_s/x_statements_with_full_table_scans.sql
  130. +82 −0 views/p_s/x_statements_with_runtimes_in_95th_percentile.sql
  131. +73 −0 views/p_s/x_statements_with_sorting.sql
  132. +68 −0 views/p_s/x_statements_with_temp_tables.sql
  133. +60 −0 views/p_s/x_user_summary.sql
  134. +67 −0 views/p_s/x_user_summary_57.sql
  135. +46 −0 views/p_s/x_user_summary_by_file_io.sql
  136. +66 −0 views/p_s/x_user_summary_by_file_io_type.sql
  137. +64 −0 views/p_s/x_user_summary_by_stages.sql
  138. +57 −0 views/p_s/x_user_summary_by_statement_latency.sql
  139. +64 −0 views/p_s/x_user_summary_by_statement_type.sql
  140. +57 −0 views/p_s/x_wait_classes_global_by_avg_latency.sql
  141. +56 −0 views/p_s/x_wait_classes_global_by_latency.sql
  142. +54 −0 views/p_s/x_waits_by_host_by_latency.sql
  143. +65 −0 views/p_s/x_waits_by_user_by_latency.sql
  144. +52 −0 views/p_s/x_waits_global_by_latency.sql
View
@@ -1,16 +1,16 @@
-/* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+-- Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; version 2 of the License.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
SET @@sql_log_bin = @sql_log_bin;
@@ -1,17 +1,17 @@
-/* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+-- Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; version 2 of the License.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
DROP FUNCTION IF EXISTS extract_schema_from_file_name;
@@ -59,7 +59,8 @@ CREATE DEFINER='root'@'localhost' FUNCTION extract_schema_from_file_name (
SQL SECURITY INVOKER
DETERMINISTIC
NO SQL
+BEGIN
RETURN LEFT(SUBSTRING_INDEX(SUBSTRING_INDEX(REPLACE(path, '\\', '/'), '/', -2), '/', 1), 64);
-$$
+END$$
-DELIMITER ;
+DELIMITER ;
@@ -1,17 +1,17 @@
-/* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+-- Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; version 2 of the License.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
DROP FUNCTION IF EXISTS extract_table_from_file_name;
@@ -55,7 +55,8 @@ CREATE DEFINER='root'@'localhost' FUNCTION extract_table_from_file_name (
SQL SECURITY INVOKER
DETERMINISTIC
NO SQL
+BEGIN
RETURN LEFT(SUBSTRING_INDEX(REPLACE(SUBSTRING_INDEX(REPLACE(path, '\\', '/'), '/', -1), '@0024', '$'), '.', 1), 64);
-$$
+END$$
DELIMITER ;
@@ -1,17 +1,17 @@
-/* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+-- Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; version 2 of the License.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
DROP FUNCTION IF EXISTS format_bytes;
@@ -77,6 +77,6 @@ BEGIN
ELSEIF bytes >= 1024 THEN RETURN CONCAT(ROUND(bytes / 1024, 2), ' KiB');
ELSE RETURN CONCAT(bytes, ' bytes');
END IF;
-END $$
+END$$
DELIMITER ;
@@ -1,17 +1,17 @@
-/* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+-- Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; version 2 of the License.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
DROP FUNCTION IF EXISTS format_path;
@@ -67,7 +67,7 @@ CREATE DEFINER='root'@'localhost' FUNCTION format_path (
BEGIN
DECLARE v_path VARCHAR(260);
- /* OSX hides /private/ in variables, but Performance Schema does not */
+ -- OSX hides /private/ in variables, but Performance Schema does not
IF path LIKE '/private/%'
THEN SET v_path = REPLACE(path, '/private', '');
ELSE SET v_path = path;
@@ -1,17 +1,17 @@
-/* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+-- Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; version 2 of the License.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
DROP FUNCTION IF EXISTS format_statement;
@@ -66,7 +66,7 @@ CREATE DEFINER='root'@'localhost' FUNCTION format_statement (
DETERMINISTIC
NO SQL
BEGIN
- /* Check if we have the configured length, if not, init it */
+ -- Check if we have the configured length, if not, init it
IF @sys.statement_truncate_len IS NULL THEN
SET @sys.statement_truncate_len = sys_get_config('statement_truncate_len', 64);
END IF;
@@ -76,6 +76,6 @@ BEGIN
ELSE
RETURN REPLACE(statement, '\n', ' ');
END IF;
-END $$
+END$$
DELIMITER ;
@@ -1,17 +1,17 @@
-/* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+-- Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; version 2 of the License.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
DROP FUNCTION IF EXISTS format_time;
@@ -82,6 +82,6 @@ BEGIN
ELSEIF picoseconds >= 1000 THEN RETURN CONCAT(ROUND(picoseconds / 1000, 2), ' ns');
ELSE RETURN CONCAT(picoseconds, ' ps');
END IF;
-END $$
+END$$
DELIMITER ;
@@ -1,17 +1,17 @@
-/* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+-- Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; version 2 of the License.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
DROP FUNCTION IF EXISTS ps_is_account_enabled;
@@ -64,6 +64,6 @@ BEGIN
),
'YES', 'NO'
);
-END $$
+END$$
-DELIMITER ;
+DELIMITER ;
@@ -1,17 +1,17 @@
-/* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; version 2 of the License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+-- Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; version 2 of the License.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
DROP FUNCTION IF EXISTS ps_is_instrument_default_enabled;
@@ -67,4 +67,4 @@ BEGIN
RETURN v_enabled;
END$$
-DELIMITER ;
+DELIMITER ;
Oops, something went wrong.

0 comments on commit 9c5c6f8

Please sign in to comment.