| Age | Commit message (Collapse) | Author |
|
* Implemented SQLSetDescRec function
- Fixed SQL_DESC_PRECISION field in IPDSetField & IPDGetField functions
- Added support for other fields for bookmark column in ARDSetField
- SQL_DESC_TYPE
- SQL_DESC_DATETIME_INTERVAL_CODE
- SQL_DESC_OCTET_LENGTH
- SQL_DESC_PRECISION
- SQL_DESC_SCALE
* Implemented SQLGetDescRec function
- Handled SQL_NO_DATA case in GetField functions
- Handled 01004 SQLSTATE in GetField functions
- Added support for SQL_DESC_NAME & SQL_DESC_NULLABLE IPDGetField functions
* Implemented SQLGetDescRecW & SQLSetDescRecW functions
- Updated PGAPI_GetFunctions function to get new functions
- Updated psqlodbc.def file for new functions on Windows
- Fixed HY007 error handling
* Added regression test for DescRec functions
|
|
* Fixed bugs, reported in issue #8.
Bunch of memory leaks, occuring in tests.
One heap-buffer-overrun in read operation at convert.c:3162.
Two memory leaks, detected by my unit tests:
password, conn_settings, pqopt fields overwrite if their values
provided by both, system config and connstring.
Restored reference counting lifetime managment of COL_INFO objects.
Some minor cosmetic changes.
Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one>
* Minor cosmetic changes.
Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one>
* Forgot set col_info to NULL in TABLE_INFO object while clearing it.
Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one>
* Fixing comments.
Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one>
---------
Signed-off-by: Alexandr Kuznetsov <progmachine@xenlab.one>
|
|
|
|
it was returning a name from the previous result
|
|
|
|
Add a regression test for SQLColumnPrivileges().
|
|
noninitial refcursor 2. Fix error when fetching NULL refcursor 3. Return empty result if all refcursors are NULL
|
|
|
|
|
|
|
|
change the way how to determine ansi test driver.
|
|
|
|
returned if multiple refcursors are found * Works with both ODBC CALL and PostgreSQL CALL syntaxes * Query must be executed in a transaction to avoid cursors being closed * Now works when output parameters are present * Added fetch-refcursors regression test
|
|
The diff of the result was reported by Patrick Cheung and will be fixed
in the later commit.
|
|
The diff of the result was reported by Mangold Fabian and will be fixed in the later commit.
|
|
and causes compilation errors in some environments.
|
|
|
|
Patch by Paul Wise.
|
|
|
|
|
|
|
|
Unfortunately >> (appending redirected output) doesn't work well with wsl.
|
|
Old param-conversions.out was renamed param-conversions_2.out.
Old param-conversions_1.out was renamed param-conversions_3.out.
Old error-rollback.out was renamed error-rollback_1.out.
|
|
floating point output format.
Old odbc-escapes.out was renamed odbc-escapes_1.out.
|
|
|
|
1. Remove tests for abstime type because the type was removed in PG12.
2. Update results for PG12's new floating point output format.
Results for old floating point output format were moved to result-conversions_2.out and result-conversions_3.out.
|
|
|
|
functions.
Report and patch by Grant Shirreiffs.
|
|
'deferrablity' should be 'DEFERRABILITY'.
Report from Alexander Roskamp.
|
|
|
|
test/reset-db.
|
|
1. Add a new functionality to 'check_dsn'(renamed from 'existCheck').
This option returns 0 when dsn exists,returns -1 when dsn does not exist,
(new) returns -2 when dsn exists but the driver doesn't exist.
2. Add 'reinstall_driver' option. This option is effective when
'check_dsn' option returns -2.
|
|
|
|
before sql....h. Due to this change, sqltypes.h of unixODBC can recognize SIZEOF_LONG_INT used in psqlodbc driver.
|
|
|
|
configure.ac. The variable is used in test/Makefile.in.
|
|
relhassubclass etc.
It would improve the performance of SQLSetPos() or SQLBulkOperations() very much in some cases.
Per report from Takayuki Tsunakawa.
|
|
1. Add a SQLSetPos(.., SQL_REFRESH, ..) call so that the test passes SC_pos_reload().
2. Add a primary key to pos-update-test table(KEYSET-DRIVEN cursor needs non null int4/oid unique key).
3. Add expected/positioned-update-test_1.out for KEYSET-DRIVEN cursors.
|
|
Because there's no "unknown" output column in PG10 servers, it seems meaningless to test "unknown" case.
|
|
|
|
|
|
|
|
along with the change of parse-test.
|
|
|
|
|
|
|
|
source code is.
|
|
test using nmake. It is necessary for update-test and positioned-update-test because they would require administrator privileges without the option.
|
|
Report and patch by Kazuki Uehara.
|
|
It is neccesary because the strings are appended later.
|