mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-11 15:21:02 +00:00
Changing this back again.
This commit is contained in:
parent
2aade5c2a9
commit
88f6317f6e
1 changed files with 4 additions and 5 deletions
|
|
@ -24,13 +24,12 @@ func NewCassStorage() Storage{
|
|||
cluster.Consistency = gocql.Quorum
|
||||
//cluster.ProtoVersion = 1
|
||||
// cluster.CQLVersion = "3.0.0"
|
||||
// session, err := cluster.CreateSession()
|
||||
session := cluster.CreateSession()
|
||||
/* if err != nil {
|
||||
session, err := cluster.CreateSession()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
*/
|
||||
err := session.Query("USE hotbox").Exec()
|
||||
|
||||
err = session.Query("USE hotbox").Exec()
|
||||
if err != nil {
|
||||
}
|
||||
obj.db = session
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue