Changeset: 94eccb312131 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/94eccb312131
Modified Files:
sql/scripts/23_skyserver.sql
sql/scripts/81_tracer.sql
Branch: Oct2020
Log Message:
Identation fixes
diffs (88 lines):
diff --git a/sql/scripts/23_skyserver.sql b/sql/scripts/23_skyserver.sql
--- a/sql/scripts/23_skyserver.sql
+++ b/sql/scripts/23_skyserver.sql
@@ -10,15 +10,15 @@ BEGIN
DECLARE res varchar(32), aux varchar(32);
DECLARE ofset int;
- IF ( st < 0 or st > LENGTH(s1))
- THEN RETURN '';
- END IF;
+ IF ( st < 0 or st > LENGTH(s1))
+ THEN RETURN '';
+ END IF;
- SET ofset = 1;
- SET res = SUBSTRING(s1,ofset,st-1);
- SET res = res || s3;
- SET ofset = st + len;
- SET aux = SUBSTRING(s1,ofset,LENGTH(s1)-ofset+1);
+ SET ofset = 1;
+ SET res = SUBSTRING(s1,ofset,st-1);
+ SET res = res || s3;
+ SET ofset = st + len;
+ SET aux = SUBSTRING(s1,ofset,LENGTH(s1)-ofset+1);
SET res = res || aux;
RETURN res;
END;
@@ -45,7 +45,7 @@ grant execute on function MS_ROUND to pu
CREATE FUNCTION MS_STR(num float, prc int, truncat int)
RETURNS string
BEGIN
- RETURN CAST(num as string);
+ RETURN CAST(num as string);
END;
grant execute on function MS_STR to public;
diff --git a/sql/scripts/81_tracer.sql b/sql/scripts/81_tracer.sql
--- a/sql/scripts/81_tracer.sql
+++ b/sql/scripts/81_tracer.sql
@@ -8,39 +8,39 @@ CREATE SCHEMA logging;
-- Flush the buffer
CREATE PROCEDURE logging.flush()
- EXTERNAL NAME logging.flush;
+ EXTERNAL NAME logging.flush;
-- Sets the log level for a specific component
CREATE PROCEDURE logging.setcomplevel(comp_id STRING, lvl_id STRING)
- EXTERNAL NAME logging.setcomplevel;
+ EXTERNAL NAME logging.setcomplevel;
-- Resets the log level for a specific component back to the default
CREATE PROCEDURE logging.resetcomplevel(comp_id STRING)
- EXTERNAL NAME logging.resetcomplevel;
+ EXTERNAL NAME logging.resetcomplevel;
-- Sets the log level for a specific layer
CREATE PROCEDURE logging.setlayerlevel(layer_id STRING, lvl_id STRING)
- EXTERNAL NAME logging.setlayerlevel;
+ EXTERNAL NAME logging.setlayerlevel;
-- Resets the log level for a specific layer back to the default
CREATE PROCEDURE logging.resetlayerlevel(layer_id STRING)
- EXTERNAL NAME logging.resetlayerlevel;
+ EXTERNAL NAME logging.resetlayerlevel;
-- Sets the flush level
CREATE PROCEDURE logging.setflushlevel(lvl_id STRING)
- EXTERNAL NAME logging.setflushlevel;
+ EXTERNAL NAME logging.setflushlevel;
-- Resets the flush level back to the default
CREATE PROCEDURE logging.resetflushlevel()
- EXTERNAL NAME logging.resetflushlevel;
+ EXTERNAL NAME logging.resetflushlevel;
-- Sets the adapter
CREATE PROCEDURE logging.setadapter(adapter_id STRING)
- EXTERNAL NAME logging.setadapter;
+ EXTERNAL NAME logging.setadapter;
-- Resets the adapter back to the default
CREATE PROCEDURE logging.resetadapter()
- EXTERNAL NAME logging.resetadapter;
+ EXTERNAL NAME logging.resetadapter;
-- Returns in the form of a SQL result-set all the
-- components along with their ID and their current
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list