Skip to content

Commit 5cc3a84

Browse files
lawrinlawrin
authored andcommitted
Due to typo in the constructor, False value of the metadataUseInfoSchema connection option had no effect
in database metadata object.
1 parent dd5e852 commit 5cc3a84

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ GA 1.1.3 - 2013-03-22
2828
authentication methods, e.g. PAM. (Bug#16520952)
2929
- getBestRowIdentifier() now considers unique not nullable indexes in case
3030
when primary key does not exist. (Bug#16277170)
31+
- False value of the metadataUseInfoSchema connection option had no effect
32+
in database metadata object.
3133

3234
GA 1.1.2 - 2013-01-16
3335
- Expired password support. Connection options

driver/mysql_metadata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ MySQL_ConnectionMetaData::MySQL_ConnectionMetaData(sql::Statement * const servic
12211221
server_version = proxy->get_server_version();
12221222
lower_case_table_names = connection->getSessionVariable("lower_case_table_names");
12231223

1224-
connection->getClientOption("metadata_use_info_schema", (void *) &use_info_schema);
1224+
connection->getClientOption("metadataUseInfoSchema", (void *) &use_info_schema);
12251225
}
12261226
/* }}} */
12271227

0 commit comments

Comments
 (0)