From 061a16256eef2c2df53e2e145d16f17270c2de82 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov NULL
and an
empty string are treated as the same values for all the
string parameters except password
and
- socket
. The client_flags
argument
- allows us to specify various MySQL client library flags. For more
- information on the possible values, refer to the MySQL C API
- documentation. The CLIENT_FOUND_ROWS
flag is always set
- by the MySQL ODB runtime regardless of whether it was passed in the
+ socket
.
The charset
argument allows us to specify the client
+ character set, that is, the character set in which the application
+ will encode its text data. Note that this can be different from
+ the MySQL server character set. If this argument is not specified or
+ is empty, then the default MySQL client character set is used, normally
+ latin1
. Commonly used values for this argument are
+ latin1
(equivalent to Windows cp1252 and similar to
+ ISO-8859-1) and utf8
. For other possible values
+ as well as more information on character set support in MySQL,
+ refer to the MySQL documentation.
The client_flags
argument allows us to specify various
+ MySQL client library flags. For more information on the possible
+ values, refer to the MySQL C API documentation. The
+ CLIENT_FOUND_ROWS
flag is always set by the MySQL ODB
+ runtime regardless of whether it was passed in the
client_flags
argument.
The last constructor extracts the database parameters @@ -8321,8 +8343,8 @@ namespace odb
The --options-file
option allows us to specify some
- or all of the database options in a file with each option appearing
- on a separate line followed by a space and an option value.
If the erase
argument to this constructor is true,
then the above options are removed from the argv
--
cgit v1.1