Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 (中文) » SQL Anywhere 16 - 更改和升级 » 16.0 版中的新功能 » MobiLink 的行为更改

 

MobiLink 服务器更改

以下列出了 16.0 版中引入的 MobiLink 服务器的行为更改。

  • 对于成功的 end_synchronization 脚本,总会发出 COMMIT   向 end_synchronization 脚本传递 synchronization_ok 参数,用以表示同步状态(0 表示同步失败,1 表示同步成功)。更改前,如果 synchronization_ok 参数为零,end_synchronization 脚本会进行回退。现在,如果所有 end_synchronization 脚本均执行成功,则无论 synchronization_ok 参数的值为多少,都会发出 COMMIT。

    如需达到此前的行为效果,可将现有的 end_synchronization 脚本主体包含在 IF 语句中。例如:

    IF {ml s.synchronization_ok} = 1 THEN 
             -- existing script body here
    END IF;

  • 通过 Web 浏览器测试 MobiLink 连接   使用 HTTP 或 HTTPS 时(无论是否含有中继服务器),均可通过 Web 浏览器校验 MobiLink 服务器是否在监听请求。MobiLink 服务器以 404 Not Found 错误做出响应,错误中还会提示 MobiLink 服务器的主版本。 请参见MobiLink 连接

  • Linux 上不再支持 32 位的 MobiLink 服务器   在 Linux 上仅支持 64 位版本的 MobiLink 服务器。

  • 部分统一数据库不再支持 Windows 32 位 MobiLink 服务器   Windows 32 位 MobiLink 服务器不支持以下类型的统一数据库:

    • Sybase Adaptive Server Enterprise
    • SAP HANA
    • SAP Sybase IQ
    • IBM DB2 LUW
    • MySQL

  • 现在同步过程期间总会发送列名称   现在,在 MobiLink 内,同步过程中总会发送列名称。 请参见发送列名