jphp icon indicating copy to clipboard operation
jphp copied to clipboard

Bug in trait

Open xavieryang007 opened this issue 6 years ago • 6 comments

At present, I have written an orm ,and I use trait for generating conditions ,like (where 1=1). The condition is the common trait part. When multiple threads execute the generating condition at the same time, the data will be confused. I wonder if the core trait of JPHP has no deep copy

xavieryang007 avatar Dec 19 '19 09:12 xavieryang007

Hi @xavieryang007, thanks for reporting the issue.

Can you share some simple code to reproduce the issue?

nstdio avatar Dec 20 '19 20:12 nstdio

I developed a framework, and I tried to peel it off and reproduce bug

xavieryang007 avatar Dec 21 '19 00:12 xavieryang007

@xavieryang007 Can you give a simple code example? So that we can reproduce the bug.

dim-s avatar Dec 24 '19 07:12 dim-s

sorry ,I will give it to you later. I am busy these a few days

xavieryang007 avatar Dec 24 '19 07:12 xavieryang007

@xavieryang007 Any news? =)

dim-s avatar Jan 22 '20 12:01 dim-s

I will encounter it in the framework. Now I am writing the simplest demo, but it cannot be reproduced, so I am thinking about how to reproduce it

xavieryang007 avatar Jan 31 '20 01:01 xavieryang007