mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48:20 +00:00
make it compile
This commit is contained in:
parent
2d7ffd8269
commit
70a532e898
2 changed files with 1 additions and 2 deletions
|
@ -149,7 +149,6 @@ Value* SQLite::EntryToVal(sqlite3_stmt *st, const threading::Field *field, int p
|
||||||
|
|
||||||
case TYPE_INT:
|
case TYPE_INT:
|
||||||
val->val.int_val = sqlite3_column_int64(st, pos);
|
val->val.int_val = sqlite3_column_int64(st, pos);
|
||||||
printf("Value: %d\n", val->val.int_val);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TYPE_DOUBLE:
|
case TYPE_DOUBLE:
|
||||||
|
|
|
@ -294,7 +294,7 @@ void SQLite::ValToAscii(ODesc* desc, Value* val)
|
||||||
case TYPE_VECTOR:
|
case TYPE_VECTOR:
|
||||||
assert(false);
|
assert(false);
|
||||||
// this would mean that we have a table/vector inside a table/vector.
|
// this would mean that we have a table/vector inside a table/vector.
|
||||||
// that is not possible and shoulr have been caught way earlier.
|
// that is not possible and should have been caught way earlier.
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// there may not be any types that we do not know here.
|
// there may not be any types that we do not know here.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue