34 #if !defined(MYSQLPP_OPTIONS_H) 
   35 #define MYSQLPP_OPTIONS_H 
   45 #if !defined(DOXYGEN_IGNORE) 
   95 #if !defined(DOXYGEN_IGNORE) 
  108 #if !defined(DOXYGEN_IGNORE) 
  123 #if !defined(DOXYGEN_IGNORE) 
  139 #if !defined(DOXYGEN_IGNORE) 
  152 #if !defined(DOXYGEN_IGNORE) 
  165 #if !defined(DOXYGEN_IGNORE) 
  180 #if !defined(DOXYGEN_IGNORE) 
  193 #if !defined(DOXYGEN_IGNORE) 
  206 #if !defined(DOXYGEN_IGNORE) 
  219 #if !defined(DOXYGEN_IGNORE) 
  232 #if !defined(DOXYGEN_IGNORE) 
  245 #if !defined(DOXYGEN_IGNORE) 
  258 #if !defined(DOXYGEN_IGNORE) 
  268 #if MYSQL_VERSION_ID > 40000             
  270 class MYSQLPP_EXPORT ProtocolOption : public IntegerOption
 
  272 #if !defined(DOXYGEN_IGNORE) 
  277         Error set(DBDriver* dbd);
 
  286 #if !defined(DOXYGEN_IGNORE) 
  299 #if !defined(DOXYGEN_IGNORE) 
  312 #if !defined(DOXYGEN_IGNORE) 
  325 #if !defined(DOXYGEN_IGNORE) 
  338 #if !defined(DOXYGEN_IGNORE) 
  352 #if !defined(DOXYGEN_IGNORE) 
  365 #if !defined(DOXYGEN_IGNORE) 
  378 #if !defined(DOXYGEN_IGNORE) 
  391 #if !defined(DOXYGEN_IGNORE) 
  404 #if !defined(DOXYGEN_IGNORE) 
  431                         const char* ca = 0, 
const char* capath = 0,
 
  432                         const char* cipher = 0)
 
  434                 if (key)        key_.assign(key);
 
  435                 if (cert)       cert_.assign(cert);
 
  436                 if (ca)         ca_.assign(ca);
 
  437                 if (capath)     capath_.assign(capath);
 
  438                 if (cipher)     cipher_.assign(cipher);
 
  442         std::string key_, cert_, ca_, capath_, cipher_;
 
  450 #if !defined(DOXYGEN_IGNORE) 
  463 #if !defined(DOXYGEN_IGNORE) 
  476 #if !defined(DOXYGEN_IGNORE) 
Enable data compression on the connection.
Definition: options.h:94
Change Connection::connect() default timeout.
Definition: options.h:107
Provides a thin abstraction layer over the underlying database client library.
Definition: dbdriver.h:58
Define abstract interface for all *Options that take a lone scalar as an argument.
Definition: options.h:78
T ArgType
Alias for template param.
Definition: options.h:80
DataOption(const T &arg)
Construct object.
Definition: options.h:83
T arg_
The argument value.
Definition: options.h:84
Make Query::affected_rows() return number of matched rows.
Definition: options.h:122
Allow C API to guess what kind of connection to use.
Definition: options.h:138
Allow spaces after function names in queries.
Definition: options.h:151
Give SQL executed on connect.
Definition: options.h:164
Assert that this is an interactive program.
Definition: options.h:179
Enable LOAD DATA LOCAL statement.
Definition: options.h:192
Enable LOAD LOCAL INFILE statement.
Definition: options.h:205
Enable multiple result sets in a reply.
Definition: options.h:218
Enable multiple queries in a request to the server.
Definition: options.h:231
Suggest use of named pipes.
Definition: options.h:244
Disable db.tbl.col syntax in queries.
Definition: options.h:257
Define abstract interface for all *Option subclasses.
Definition: options.h:58
virtual Error set(DBDriver *dbd)=0
Apply option.
virtual ~Option()
Destroy object.
Definition: options.h:69
Error
Types of option setting errors we can diagnose.
Definition: options.h:61
@ err_api_reject
underlying C API returned error when setting option
Definition: options.h:64
@ err_NONE
option was set successfully
Definition: options.h:62
@ err_api_limit
option not supported by underlying C API
Definition: options.h:63
@ err_connected
can't set the given option while connected
Definition: options.h:65
Override use of my.cnf.
Definition: options.h:285
Override use of my.cnf.
Definition: options.h:298
Set timeout for IPC data reads.
Definition: options.h:311
Enable automatic reconnection to server.
Definition: options.h:324
Set reporting of data truncation errors.
Definition: options.h:337
Enforce use of secure authentication, refusing connection if not available.
Definition: options.h:351
Give path to charset definition files.
Definition: options.h:364
Give name of default charset.
Definition: options.h:377
Fake client IP address when connecting to embedded server.
Definition: options.h:390
Set name of shmem segment for IPC.
Definition: options.h:403
Specialized option for handling SSL parameters.
Definition: options.h:416
SslOption(const char *key=0, const char *cert=0, const char *ca=0, const char *capath=0, const char *cipher=0)
Create a set of SSL connection option parameters.
Definition: options.h:430
Connect to embedded server in preference to remote server.
Definition: options.h:449
Connect to remote server in preference to embedded server.
Definition: options.h:462
Set timeout for IPC data reads.
Definition: options.h:475
This file includes top-level definitions for use both internal to the library, and outside it....
std::deque< Option * > OptionList
The data type of the list of connection options.
Definition: options.h:490
OptionList::const_iterator OptionListIt
Primary iterator type into List.
Definition: options.h:493