Skip to content

Commit

Permalink
default init
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd committed Jul 11, 2023
1 parent 8365570 commit 8a3ae65
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions c/driver/sqlite/statement_reader.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,12 @@ AdbcStatusCode AdbcSqliteBinderSetArrayStream(struct AdbcSqliteBinder* binder,
/* caller is responsible for freeing data */
static const char* ArrowTimestampToIsoString(int64_t value, enum ArrowTimeUnit unit) {
int64_t seconds;
int strlen;
int rem;
int scale;
int scale = 1;
int strlen = 20;
int rem = 0;

switch (unit) {
case NANOARROW_TIME_UNIT_SECOND:
scale = 1;
strlen = 20;
break;
case NANOARROW_TIME_UNIT_MILLI:
scale = 1000;
Expand Down

0 comments on commit 8a3ae65

Please sign in to comment.