diff options
| author | Heikki Linnakangas | 2014-03-24 06:49:26 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2014-03-24 06:49:26 +0000 |
| commit | e7ca897aa5f92aa1e2e3c62d2aff90ea5fc6a04d (patch) | |
| tree | e16d32efc3b5d678f1ae0066586237fd75a273f3 /test/src/deprecated-test.c | |
| parent | 1a9c12729e7a1adcf065f0accf5d54f017253bd3 (diff) | |
Avoid deprecated SQLAllocStmt/SQLFreeStmt in regression tests.
The deprecated functions have a test case of their own.
Michael Paquier
Diffstat (limited to 'test/src/deprecated-test.c')
| -rw-r--r-- | test/src/deprecated-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/deprecated-test.c b/test/src/deprecated-test.c index 923ac46..0883434 100644 --- a/test/src/deprecated-test.c +++ b/test/src/deprecated-test.c @@ -307,7 +307,7 @@ main(int argc, char **argv) /* Grab new connection and handle for the next tests */ test_connect(); - rc = SQLAllocStmt(conn, &hstmt); + rc = SQLAllocHandle(SQL_HANDLE_STMT, conn, &hstmt); if (!SQL_SUCCEEDED(rc)) { print_diag("failed to allocate stmt handle", SQL_HANDLE_DBC, conn); |
