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');"
196add_sql "insert into threads (_id,date,message_count,recipient_ids,snippet,snippet_cs,read,type,er…
207add_sql "insert into sms (_id,thread_id,address,person,date,status,type,body,read,seen) values ($m…
230add_sql "insert into pdu (_id,thread_id,date,date_sent,msg_box,read,m_id,sub,sub_cs,ct_t,m_cls,m_t…
232add_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…
237add_sql "insert into part (_id,mid,seq,ct,cid,cl,text) values ($id_1, $message_id, -1, 'applicatio…
239add_sql "insert into part (_id,mid,seq,ct,cid,cl,_data) values ($id_2, $message_id, 0, 'image/jpeg…
241add_sql "insert into addr (_id,msg_id,address,type,charset) values ($id_1, $message_id, '$phone', …
242add_sql "insert into addr (_id,msg_id,address,type,charset) values ($id_2, $message_id, '$device_p…
244add_sql "insert into addr (_id,msg_id,address,type,charset) values ($id_1, $message_id, 'insert-ad…
245add_sql "insert into addr (_id,msg_id,address,type,charset) values ($id_2, $message_id, '$phone', …