File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ endif
426426
427427# Detect musl libc (Alpine Linux)
428428ifeq ($(PLATFORM ) ,linux)
429- ifeq ($(shell cat /etc/alpine-release 2>/dev/null && echo yes),yes)
429+ ifeq ($(shell test -f /etc/alpine-release && echo yes),yes)
430430 VECTOR_PLATFORM := linux-musl
431431 endif
432432endif
Original file line number Diff line number Diff line change @@ -134,13 +134,13 @@ TEST(memory_version) {
134134
135135TEST (load_vector ) {
136136 // Strip file extension — load_extension() appends it automatically
137- char path [512 ];
137+ char path [1024 ];
138138 snprintf (path , sizeof (path ), "%s" , vector_lib );
139139 char * dot = strrchr (path , '.' );
140140 char * slash = strrchr (path , '/' );
141141 if (dot && (!slash || dot > slash )) * dot = '\0' ;
142142
143- char sql [512 ];
143+ char sql [1100 ];
144144 snprintf (sql , sizeof (sql ), "SELECT load_extension('%s');" , path );
145145 ASSERT_SQL_OK (db , sql );
146146
You can’t perform that action at this time.
0 commit comments