<!--定义join sql Wrapper过滤条件使用${sqlSegment}替换--><selectid="queryOrderJoinItems"resultType="Order">
select a.*
from (select * from biz_order where deleted = 0
<iftest="null != order">
and ${order.sqlSegment}
</if>
) as a
<iftest="null != item">
join (
select * from biz_order_item where deleted = 0
and ${item.sqlSegment}
) as b
on a.id = b.order_id
</if></select>
问题log
/tmp/ccByifPx.o: In function main:
read.c:(.text0x1a): undefined reference to shm_open
read.c:(.text0xd9): undefined reference to shm_unlink
collect2: error: ld returned 1 exit status
程序代码
#include <stdio.h>
#include <stdlib.h>
#…