Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
bdc03e2a
Commit
bdc03e2a
authored
Sep 20, 2019
by
Steven Murray
Browse files
MySQL schemas now use 'BIGINT UNSIGNED' instead of just 'BIGINT'
parent
5b4f0621
Changes
1
Hide whitespace changes
Inline
Side-by-side
catalogue/CMakeLists.txt
View file @
bdc03e2a
...
...
@@ -101,7 +101,7 @@ add_custom_command (OUTPUT sqlite_catalogue_schema.sql mysql_catalogue_schema.sq
${
CMAKE_CURRENT_SOURCE_DIR
}
/mysql_catalogue_schema_header.sql
${
CMAKE_CURRENT_SOURCE_DIR
}
/common_catalogue_schema.sql
${
CMAKE_CURRENT_SOURCE_DIR
}
/mysql_catalogue_schema_trailer.sql
| sed 's/NUMERIC\
(
[^\
)
]*\
)
/BIGINT/g'
| sed 's/NUMERIC\
(
[^\
)
]*\
)
/BIGINT
UNSIGNED
/g'
| sed 's/CHECKSUM_BLOB_TYPE/VARBINARY\
(
200\
)
/g'
> mysql_catalogue_schema.sql
COMMAND cat
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment