Sybase Rollup EBF 20755


January 30, 2013

Sybase, an SAP Company
One Sybase Drive
Dublin, CA 94568
1-800-8-SYBASE (North America)
Web: http://www.sybase.com


Dear Customer:

Enclosed please find:

EBF 20755

for the following platform:

Windows x86 32-bit

This EBF is part of this release:

Conn 15.7 ESD #7

This EBF contains updates for the following product(s):

Software Developer Kit

We recommend that you install this EBF as soon as possible.

We appreciate your patience while we resolve problems in the product and your 
willingness to install this EBF. Please contact Technical Support if you
encounter any problems using this product and let them know that you are using
this EBF. 

This documentation includes these sections:

Sincerely,

Sybase Engineering



General Information and Technical Notes

This section contains general and technical information about this EBF.


* Use the same ESD level of SDK and Open Server products

  Note that SDK and Open Server are two separate products. The SDK product
  does not include the Open Server components nor does the Open Server
  product include the SDK components. If you use both SDK and Open Server
  applications, it is strongly recommended that you keep their major release
  and ESD levels the same.

  As long as both EBFs are at the same ESD level, the order of installation
  is inconsequential.


* Updating the metadata stored procedures required by ODBC, OLE DB and 
  jConnect Drivers on Adaptive Server Enterprise

  Certain new features and bug fixes in ODBC, OLE DB and jConnect drivers 
  require you to modify the metadata stored procedures in Adaptive Server. 
  These stored procedures may not be up-to-date on your host ASE server due 
  to various reasons.
  If the metadata stored procedures are outdated, you may not be able to use 
  some of the fixes that are implemented in this ESD, so you will need to 
  manually install the updated metadata stored procedures.

  To update the metadata stored procedures in Adaptive Server, first determine 
  the version of the meta-data scripts installed on the ASE. To do so, execute 
  the following command:

  sp_version
  go

  The version number of the ODBC, OLE DB and jConnect meta-data scripts will 
  be displayed.
  Review the version number column and compare it against the version of the  
  driver being used. 

  If the metadata scripts are outdated, the version installed will be older 
  than the driver build number or you will encounter one of the following:
  - stored procedure sp_version is not found
  - the stored procedure output does not print a row for the driver

  The updated scripts are included with the drivers and can be installed as 
  follows:

  For ODBC & OLE DB:

  - Go the "sp" directory under the ODBC/OLE DB installation directory
  - Execute the install_odbc_sprocs script for the ODBC Driver and 
  install_oledb_sprocs script for OLE DB Provider.

  Syntax for using the script is:

        install_[odbc/olebd]_sprocs <ServerName> <username> [<password>]
         where <ServerName> is the name of the Adaptive Server
             <username> is the username to connect to the server
             [<password>] is the password the username
             (don’t supply this for null password)

  For jConnect:

  - Go to the "sp" directory under the jConnect installation directory. Based 
  on your host ASE server version, choose the appropriate SQL script. 
  - Use isql or another tool of your choice to execute the selected script. 
  This will install the current meta-data stored procedures.

* Uninstallation

  If you install this ESD to an existing directory installed with 15.7 GA or   
  earlier ESD, delete ~/.com.zerog.registry.xml on UNIX or
  C:\Program Files\Zero G Registry\.com.zerog.registry.xml on Windows 32-bit
  or C:\Program Files (x86)\Zero G Registry\.com.zerog.registry.xml on 
  Windows 64-bit before executing uninstall. 


Loading Instructions

This section contains instructions for loading the new software onto your system.


For installation instructions, see the "Software Developer's Kit 
and Open Server Installation Guide for Microsoft Windows" documentation at
http://sybooks.sybase.com/. Select "Software Developer Kit" from the 
product list, then the language, and click Go.


General Instructions

     * Before upgrading to this EBF, shut down your ASE Server if it is 
       running on the same installation machine.
     * Before installing this EBF, back up your Sybase installation.
     * A full Sybase installation is not necessary with this release.
       If applicable, rebuild statically linked applications with the
       new libraries. For dynamically linked applications, point the
       path variable to the location of the new libraries. Unless otherwise 
       stated, recompiling with the new header files is recommended but not 
       mandatory.


CD-ROM Installation Instructions
        
     Follow these steps to install the EBF from the CD-ROM:

        1. Log in as user "sybase".

        2. Insert the EBF CD-ROM into your computer's CD-ROM drive.
           Installer should start automatically.

           If installer does not start automatically, start the setup
           program manually. From the Windows taskbar, click Start, then click
           Run. Type Z:\setup.exe where Z: is your CD-ROM drive. Click OK.
           
        3. In the Introduction window, Click Next.
           The End-user License Agreement window opens.

        4. In the End-user License Agreement Window,
           select a geographic location to see the License Agreement text. 
           Select "I agree to the terms of the Sybase license for the install 
           location specified" radio button and click Next.

        5. Enter the destination directory where you want to install
           Software Developer's Kit or Open Server and click Next.
           You may receive a warning that you are about to overwrite an
           existing SYBASE installation. Ignore the warning if you are
           installing over a 15.7 installation.

           If you specified a destination directory that contains
           Software Developer's Kit or Open Server 15.7, you will be prompted
           to update the product.  If you select Yes, only the installed
           features are selected and updated.  If you select No, or if
           destination directory does not contain Software Developer's
           Kit or Open Server 15.7, you will be prompted to select one of the 
           installation types: Typical, Full, or Custom install.

        6. Review the Pre-Installation Summary Panel, which describes the 
           components to be installed. Click Next.

        7. Wait for the installer to complete the installation. If the
           installer wizard indicates that the installation was successful,
           click Done to complete the installation. If the installer 
           encountered errors, check the log file mentioned in the window and 
           take appropriate steps to correct the errors.

     The instructions provided above are for installation using the GUI mode. 
     You can also perform the installation in console (text-based) mode, or a 
     completely silent installation with no interaction.  For instructions on 
     how to run the installer in console or silent mode, see the "Software 
     Developer's Kit and Open Server Installation Guide for Microsoft  
     Windows".


Web Download Installation Instructions 

     Follow these steps to download and install the EBF:

        1. Log in as user "sybase".
 
        2. Create a directory to which you will download the EBF files. 
           For example, to create a directory named download:

           mkdir \download

        3. Move to the download directory. For example:

           cd \download 

        4. Log in to the Sybase Downloads page.  
           (http://www.sybase.com/downloads) 

        5. In the Customer Downloads section, click "Maintenance Releases 
           and Bug Fixes (EBFs)" link.

        6. Select "Software Developer Kit" or "Open Server" link from the list 
           of products.

        7. Verify that there is adequate disk space on your local hard drive. 
           The compressed file size can be found in the product description 
           page on the Web. Download the compressed file for this EBF.

        8. Uncompress the downloaded file with any ZIP utility. For example:

           pkunzip -d EBF19593.zip
         
           Extract the files into a new directory, for example:

           \download\ebf19593

        9. Go to the install directory created in the previous step. 
           For example:

           cd \download\ebf19593

       10. Run .\setup.exe. The installation program starts.
           The installation program starts. The flow of the installation is 
           identical to installing from a CD. 

       11. To complete, continue from Step 3 in the CD-ROM Installation 
           Instructions section.


New Fixes in this EBF


The following is a list of fixes which are specific to this EBF. The list is sorted
by the component in which the bug was fixed.

For a complete list of fixes in this EBF, see EBF20755_Buglist.txt.

Component Bug ID Description
ADO.NET Data Provider 719996 ADO.NET: Chinese data incorrectly stored in ASE with default character set gb18030.
ADO.NET Data Provider 719947 ADO.NET: AseBulkCopy class does not correctly insert null and default values in the destination table.
JDBC Driver 724039 jConnect: A NullPointerException is encountered when client performs a HA fail-over for ASE Cluster Edition.
JDBC Driver 720585 jConnect: Request to enhance performance of the isClosed(), isReadOnly() and getAutoCommit() methods on java.sql.Connection class.
JDBC Driver 719180 jConnect: Feature request to improve efficiency of getTransactionIsolation() and getCatalog() Connection methods.
JDBC Driver 714081 jConnect: The error code field in SQLException is not populated for the exception raised when password has expired.
ODBC Driver 727379 ODBC Driver by Sybase: ODBC driver throws Data over flow error for numeric value between -1 and +1 (-1 < n < 1).
ODBC Driver 724243 ODBC Driver by Sybase: When the connection property SkipRowCountResults is set to 0, the Driver does not identify the end of a result-set correctly thereby causing some VB applications to produce an error when using conditional statements such as "ADODB.RecordSet is Nothing".
ODBC Driver 723210 ODBC Driver by Sybase: ODBC driver crashes on a call to SQLFreeStmt(StatementHandle, SQL_RESET_PARAMS)
ODBC Driver 723012 ODBC Driver by Sybase: Microsoft Access displays #DELETED if a bigint column is selected as primary key.
ODBC Driver 705572 ODBC Driver by Sybase: Observed some memory leak in SQLDriverConnect function.
ODBC Driver 702467 ODBC Driver by Sybase: Microsoft Access displays #DELETED if a numeric column is selected as primary key.
ODBC Driver 674310 ODBC Driver by Sybase: Visual Basic or Visual C++ application using ADO library and enabling the DynamicPrepare option observe memory leak.
OLE DB Provider 724253 OLE DB Provider by Sybase: The OLE DB provider throws unsupported type exception on DeriveParameters() call.
Security Services 719611 To supply libsybsspiwrapper.dll for Winx64
bcp 725991 The bcp data file is created with permissions 600, not 640 as documented
ctlib 689183 CSLIB: A truncation error may be reported during unichar to char conversion.
ctlib 679678 CTLIB: A new connection property CS_PROP_BRACKETED_IDENT is added to Client-Library. When this property is enabled, object names retrieved by calling Client-Library APIs, such as ct_data_info() and ct_describe() are bracketed.
srvlib 725161 CSLIB: CS_UNICHAR conversions were slow and did not scale.



This document is proprietary and confidential Sybase Inc. property.