Skip to content

Commit 8370e74

Browse files
committed
Updated CD
1 parent 3d7ff6e commit 8370e74

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,17 @@ jobs:
103103
steps:
104104
- name: install Alpine dependencies
105105
if: matrix.container
106-
run: apk add --no-cache build-base sqlite git
106+
run: apk add --no-cache build-base sqlite git zlib-dev
107+
108+
- name: install Ubuntu dependencies
109+
if: runner.os == 'Linux' && !matrix.container
110+
run: sudo apt-get update && sudo apt-get install -y sqlite3 zlib1g-dev
111+
112+
- name: install macOS dependencies
113+
if: runner.os == 'macOS'
114+
run: |
115+
brew install sqlite
116+
echo "$(brew --prefix sqlite)/bin" >> "$GITHUB_PATH"
107117
108118
- uses: actions/checkout@v4.2.2
109119

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ else
1919
UNAME_S := $(shell uname -s)
2020
PIC_FLAGS := -fPIC
2121
EXE_EXT :=
22-
LDLIBS ?= -ldl -lpthread -lz
22+
LDLIBS ?= -ldl -lpthread
2323
ifeq ($(UNAME_S),Darwin)
2424
SHLIB_EXT := dylib
2525
SHLIB_FLAGS := -dynamiclib -undefined dynamic_lookup

columnar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ static int columnarUpdate(sqlite3_vtab *pVtab, int argc, sqlite3_value **argv, s
973973
ColumnarVtab *p = (ColumnarVtab*)pVtab;
974974
ColumnarTableRef sRef = {p->zDb, p->zName};
975975
sqlite3_int64 oldRowid = 0;
976-
sqlite3_int64 newRowid;
976+
sqlite3_int64 newRowid = 0;
977977
int bExists = 0;
978978
int bInsert = 0;
979979
int bReplaceExisting = 0;

0 commit comments

Comments
 (0)