If an upload stream contains insert, update, or delete data for a table that has no upload_insert, upload_update, and upload_delete script in the consolidated database, or if there is no download script (download_cursor and download_delete_cursor scripts) for the table, then the MobiLink server complains about the missed scripts and aborts the synchronization.
The warning messages can be suppressed with the -zwd MobiLink server command option, however, this option suppresses the warning messages for all the synchronization tables.
Now, the MobiLink server treats any connection and table scripts that contain the prefix --{ml_ignore} differently. The MobiLink server recognizes these scripts as intentionally ignored scripts. More precisely, if an upload stream contains insert, update, or delete data for a synchronization table that has an upload_insert, upload_update, or upload_delete script with the prefix --{ml_ignore}, the MobiLink server does not execute these scripts against the consolidated database and continues the synchronization without showing any error or warning messages. The uploaded rows are ignored.
When a table is downloaded, both the download_cursor and download_delete_cursor scripts must be defined. To prevent downloading rows, define either or both of these scripts as --{ml_ignore}, as required.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |