src/server/plugins/postgresql/vfs.c

changeset 564
f19fd264c69c
parent 464
0a29110b94ec
--- a/src/server/plugins/postgresql/vfs.c	Wed Nov 27 23:00:07 2024 +0100
+++ b/src/server/plugins/postgresql/vfs.c	Fri Nov 29 18:10:26 2024 +0100
@@ -846,7 +846,7 @@
 off_t pg_vfs_io_seek(SYS_FILE fd, off_t offset, int whence) {
     PgVFS *pgvfs = fd->ctx->vfs->instance;
     PgFile *pg = fd->data;
-    if(pg->fd < 0) return-1;
+    if(pg->fd < 0) return-1;  
     return lo_lseek64(pgvfs->connection, pg->fd, offset, whence);
 }
 

mercurial