Skip to content

Commit b78e0b5

Browse files
committed
Fix SQL comment
1 parent f07176f commit b78e0b5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

sql/init_data/init.sql

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,13 @@ CREATE TABLE "type_VARBIT" (i int, b bit);
4141
CREATE VIEW "type_VARBIT+" AS SELECT *, typeof(b) t, length(b) l FROM "type_VARBIT";
4242
CREATE TABLE "type_UUIDpk" (col uuid primary key);
4343
CREATE TABLE "type_UUID" (i int, u uuid);
44-
CREATE VIEW "type_UUID+" AS SELECT *, typeof(u) t, length(u) l FROM "type_UUID";
45-
-- blob affinity normalization form for "type_UUID+" view for better visual comparing during uuid test output, will be used later
46-
-- case when typeof(u) = 'blob' then substr(lower(hex(u)),1,8) || '-' || substr(lower(hex(u)),9,4) || '-' || substr(lower(hex(u)),13,4) || '-' || substr(lower(hex(u)),17,4) || '-' || substr(lower(hex(u)),21,12) else null end uuid_blob_canon
44+
CREATE VIEW "type_UUID+" AS SELECT
45+
*,
46+
typeof(u) t,
47+
length(u) l
48+
-- blob affinity normalization form for "type_UUID+" view for better visual comparing during uuid test output, will be used later
49+
-- case when typeof(u) = 'blob' then substr(lower(hex(u)),1,8) || '-' || substr(lower(hex(u)),9,4) || '-' || substr(lower(hex(u)),13,4) || '-' || substr(lower(hex(u)),17,4) || '-' || substr(lower(hex(u)),21,12) else null end uuid_blob_canon
50+
FROM "type_UUID";
4751
CREATE TABLE "type_MACADDRpk" (col macaddr primary key);
4852
CREATE TABLE "type_MACADDR" (i int, m macaddr);
4953
CREATE VIEW "type_MACADDR+" AS SELECT *, typeof("m") t, length("m") l, cast("m" as text) tx FROM "type_macaddr";

0 commit comments

Comments
 (0)