Home > Archive > SQL Anywhere Mobile > June 2005 > upload only sync









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author upload only sync
Brent Williams

2005-06-16, 11:24 am

I'm running v9.0.2.3044

When doing a upload only sync, what is the last sync event that gets
called? I'm hoping that prepare_for_download
gets called. If that
doesn't get called, is there an event after upload commit that gets called?
Greg Fenton

2005-06-16, 1:25 pm

Brent Williams wrote:
> I'm running v9.0.2.3044
>
> When doing a upload only sync, what is the last sync event that gets
> called? I'm hoping that prepare_for_download
gets called. If that
> doesn't get called, is there an event after upload commit that gets called?



Hmm...good question. I suspect (but don't know for sure) that
prepare_for_download
does not execute in an upload only synch.

One thing you could do is turn on verbose logging in the ML server and
run an upload only sync to see exactly which events get fired. Use
either "-v+" (very verbose) or "-vsu" (name each executed and undefined
table scripts). Then check the ML log to see which events fire.

As for other events outside of the upload transaction, certainly
end_synchronization would meet such a requirement.

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com