Skip to content

Commit bf6a0db

Browse files
authored
remove wrong pointer dereference for 64-bit SQLSetXxx
SQLSetDescField/SQLSetStmtAttr/SQLSetStmtOption pass the value by value, not by reference, so the description must say "ValuePtr" instead of "*ValuePtr". For values that are pointers (SQL_xxx_PTR), the description could be interpreted as the pointed-to value having a 64-bit type.
1 parent df38209 commit bf6a0db

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/odbc/reference/odbc-64-bit-information.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ typedef SQLULEN BOOKMARK;
392392

393393
**SQLSetDescField**
394394

395-
When the *FieldIdentifier* parameter has one of the following values, a 64-bit value is passed in **ValuePtr*:
395+
When the *FieldIdentifier* parameter has one of the following values, a 64-bit value is passed in *ValuePtr*:
396396

397397
SQL_DESC_ARRAY_SIZE
398398

@@ -416,7 +416,7 @@ typedef SQLULEN BOOKMARK;
416416

417417
**SQLSetStmtAttr**
418418

419-
When the *Attribute* parameter has one of the following values, a 64-bit value is passed in **ValuePtr*:
419+
When the *Attribute* parameter has one of the following values, a 64-bit value is passed in *ValuePtr*:
420420

421421
SQL_ATTR_APP_PARAM_DESC
422422

@@ -484,7 +484,7 @@ typedef SQLULEN BOOKMARK;
484484

485485
**SQLSetStmtOption**
486486

487-
When the *Option* parameter has one of the following values, a 64-bit value is passed in **Value*:
487+
When the *Option* parameter has one of the following values, a 64-bit value is passed in *Value*:
488488

489489
SQL_KEYSET_SIZE
490490

0 commit comments

Comments
 (0)