~ubuntu-branches/ubuntu/trusty/psqlodbc/trusty-proposed

« back to all changes in this revision

Viewing changes to odbcapiw.c

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2011-04-05 14:48:23 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110405144823-n77supsa1hjj0ik6
Tags: 1:09.00.0200-1
* New upstream release.
* Fix installing {A,W}/usr/lib/odbc.  Closes: #618210.
* Convert to 3.0 (quilt).
* Remove psqlodbc-580878.diff: implemented upstream.
* Remove psqlodbc-585476.diff: was caused by #519006 which is now closed.
* Update description, suggested by Martin Eberhard Schauer.
  Closes: #565611.
* New maintainer.  Closes: #472818.

Show diffs side-by-side

added added

removed removed

Lines of Context:
395
395
        ENTER_STMT_CS(stmt);
396
396
        SC_clear_error(stmt);
397
397
        StartRollbackState(stmt);
398
 
        ret = PGAPI_Prepare(StatementHandle, stxt, (SQLINTEGER) slen);
 
398
        if (SC_opencheck(stmt, func))
 
399
                ret = SQL_ERROR;
 
400
        else
 
401
                ret = PGAPI_Prepare(StatementHandle, stxt, (SQLINTEGER) slen);
399
402
        ret = DiscardStatementSvp(stmt, ret, FALSE);
400
403
        LEAVE_STMT_CS(stmt);
401
404
        if (stxt)