Lines Matching refs:add_sql
148 add_sql () function
167 add_sql "delete from pdu where _id>=$TABLE_SMS_START_ID;"
168 add_sql "delete from part where _id>=$TABLE_SMS_START_ID;"
169 add_sql "delete from addr where _id>=$TABLE_SMS_START_ID;"
170 add_sql "delete from sms where _id>=$TABLE_SMS_START_ID;"
171 add_sql "delete from threads where _id>=$TABLE_THREADS_START_ID;"
172 add_sql "delete from canonical_addresses where _id>=$TABLE_CANONICAL_ADDRESSES_START_ID;"
193 add_sql "insert into canonical_addresses (_id,address) values ($addr_id,'$phone');"
196 …add_sql "insert into threads (_id,date,message_count,recipient_ids,snippet,snippet_cs,read,type,er…
207 …add_sql "insert into sms (_id,thread_id,address,person,date,status,type,body,read,seen) values ($m…
230 …add_sql "insert into pdu (_id,thread_id,date,date_sent,msg_box,read,m_id,sub,sub_cs,ct_t,m_cls,m_t…
232 …add_sql "insert into pdu (_id,thread_id,date,msg_box,read,m_id,sub,sub_cs,ct_t,m_cls,m_type,v,m_si…
237 …add_sql "insert into part (_id,mid,seq,ct,cid,cl,text) values ($id_1, $message_id, -1, 'applicatio…
239 …add_sql "insert into part (_id,mid,seq,ct,cid,cl,_data) values ($id_2, $message_id, 0, 'image/jpeg…
241 …add_sql "insert into addr (_id,msg_id,address,type,charset) values ($id_1, $message_id, '$phone', …
242 …add_sql "insert into addr (_id,msg_id,address,type,charset) values ($id_2, $message_id, '$device_p…
244 …add_sql "insert into addr (_id,msg_id,address,type,charset) values ($id_1, $message_id, 'insert-ad…
245 …add_sql "insert into addr (_id,msg_id,address,type,charset) values ($id_2, $message_id, '$phone', …