Duplicated LLVMJitHandle->lljit assignment?

From: Matheus Alcantara <mths(dot)dev(at)pm(dot)me>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Duplicated LLVMJitHandle->lljit assignment?
Date: 2023-07-13 00:22:13
Message-ID: La1Tfi7wirg9uGbCx_y7Qb9kl2T15mYouDXjCKAFuDqzQWnTRwH7KNLGigLLcxRs91V6dp2ySs1j_7mB4btzEZJ9NIMEAyOjUyAS7Jx-ydQ=@pm.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I was reading the jit implementation and I notice that the lljit field of
LLVMJitHandle is being assigned twice on llvm_compile_module function, is this
correct? I'm attaching a supposed fixes that removes the second assignment. I
ran meson test and all tests have pass.

--
Matheus Alcantara

Attachment Content-Type Size
0001-Remove-duplicated-LLVMJitHandle-lljit-assignment.patch text/x-patch 779 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Cramer 2023-07-13 00:57:20 Re: CommandStatus from insert returning when using a portal.
Previous Message Michael Paquier 2023-07-13 00:12:36 Re: Support to define custom wait events for extensions