Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0e968ee

Browse files
committed
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: 24 January 2001 16:51 > To: Dave Page > Subject: Re: [PATCHES] ODBC Patch for OJs/Large Querys & Rows > > > > SQL_OJ_LEFT = Left outer joins are supported. > > Yes. <snip> In addition to my earlier patch, this one adds support for SQLGetInfo SQL_OJ_CAPABILITIES to the ODBC driver. Dave Page
1 parent be12768 commit 0e968ee

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/interfaces/odbc/info.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,17 @@ RETCODE result;
417417
p = "N";
418418
break;
419419

420+
case SQL_OJ_CAPABILITIES: /* ODBC 2.01 */
421+
len = 4;
422+
value = (SQL_OJ_LEFT |
423+
SQL_OJ_RIGHT |
424+
SQL_OJ_FULL |
425+
SQL_OJ_NESTED |
426+
SQL_OJ_NOT_ORDERED |
427+
SQL_OJ_INNER |
428+
SQL_OJ_ALL_COMPARISON_OPS);
429+
break;
430+
420431
case SQL_ORDER_BY_COLUMNS_IN_SELECT: /* ODBC 2.0 */
421432
p = (PROTOCOL_62(ci) || PROTOCOL_63(ci)) ? "Y" : "N";
422433
break;

0 commit comments

Comments
 (0)