|
@@ -768,7 +768,7 @@ func TestSmallInt(t *testing.T) {
|
|
|
session := createSession(t)
|
|
session := createSession(t)
|
|
|
defer session.Close()
|
|
defer session.Close()
|
|
|
if err := createTable(session, `CREATE TABLE gocql_test.smallint_table (
|
|
if err := createTable(session, `CREATE TABLE gocql_test.smallint_table (
|
|
|
- testsmallint smallint,
|
|
|
|
|
|
|
+ testsmallint smallint PRIMARY KEY,
|
|
|
)`); err != nil {
|
|
)`); err != nil {
|
|
|
t.Fatal("create table:", err)
|
|
t.Fatal("create table:", err)
|
|
|
}
|
|
}
|