Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
dcdb
dcdb
Commits
ee34526e
Commit
ee34526e
authored
May 05, 2021
by
Alessio Netti
Browse files
Minor changes for ScyllaDB compatibility
parent
46111551
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/src/connection.cpp
View file @
ee34526e
...
@@ -508,7 +508,7 @@ bool ConnectionImpl::initSchema() {
...
@@ -508,7 +508,7 @@ bool ConnectionImpl::initSchema() {
"ttl bigint"
,
/* Time to live in nanoseconds for readings of this sensor */
"ttl bigint"
,
/* Time to live in nanoseconds for readings of this sensor */
"name"
,
/* Make the "name" column the primary key */
"name"
,
/* Make the "name" column the primary key */
"CACHING = {'keys' : '
all
'} "
);
/* Enable compact storage and maximum caching */
"CACHING = {'keys' : '
ALL
'} "
);
/* Enable compact storage and maximum caching */
}
}
/* Creating simple key-value table for misc metadata */
/* Creating simple key-value table for misc metadata */
...
@@ -518,7 +518,7 @@ bool ConnectionImpl::initSchema() {
...
@@ -518,7 +518,7 @@ bool ConnectionImpl::initSchema() {
"name varchar, "
/* Property name */
"name varchar, "
/* Property name */
"value varchar"
,
/* Property value */
"value varchar"
,
/* Property value */
"name"
,
/* Make the "name" column the primary key */
"name"
,
/* Make the "name" column the primary key */
"CACHING = {'keys' : '
all
'} "
);
/* Enable compact storage and maximum caching */
"CACHING = {'keys' : '
ALL
'} "
);
/* Enable compact storage and maximum caching */
}
}
/* Keyspace and column family for raw and virtual sensor data */
/* Keyspace and column family for raw and virtual sensor data */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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