The following values can be placed into the cmdhdr.opflags field prior to calling the SQLOP_CONNECT function when using the MySQL native connector, as an alternative to using SQLOP_SET_CONNATR.
Symbol (MySQL) |
Value |
Notes |
---|---|---|
MYCF_COMPRESS |
&h0020 |
Use compress protocol (MySQL) |
MYCF_FOUND_ROWS |
&h0002 |
Return the number of found (matched) rows, not the number of changed rows (MySQL) |
MYCF_IGNORE_SPACE |
&h0100 |
Allow spaces after function names. Makes all function names reserved words. (MySQL) |
MYCF_INTERACTIVE |
&h0400 |
Set the inactivity timeout per an interactive client, as opposed to a normal programmatic client. (MySQL) |
MYCF_LOCAL_FILES |
&h0080 |
Enable LOAD DATA LOCAL handling (MySQL) |