Skip to content

Commit

Permalink
MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS also does not work with linux
Browse files Browse the repository at this point in the history
  • Loading branch information
RockfordWei committed Oct 4, 2016
1 parent 661414b commit c061abd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/MariaDB/MariaDB.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ public enum MySQLOpt {
MYSQL_OPT_SSL_CA, MYSQL_OPT_SSL_CAPATH, MYSQL_OPT_SSL_CIPHER,
MYSQL_OPT_SSL_CRL, MYSQL_OPT_SSL_CRLPATH,
MYSQL_OPT_CONNECT_ATTR_RESET, MYSQL_OPT_CONNECT_ATTR_ADD,
MYSQL_OPT_CONNECT_ATTR_DELETE,
MYSQL_OPT_CONNECT_ATTR_DELETE
/// MYSQL_SERVER_PUBLIC_KEY,
/// MYSQL_ENABLE_CLEARTEXT_PLUGIN
MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS
/// MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS
}
#else
/// enum for mysql options
Expand Down Expand Up @@ -424,8 +424,8 @@ public final class MySQL {
/// return MYSQL_SERVER_PUBLIC_KEY
/// case MySQLOpt.MYSQL_ENABLE_CLEARTEXT_PLUGIN:
/// return MYSQL_ENABLE_CLEARTEXT_PLUGIN
case MySQLOpt.MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS:
return MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS
/// case MySQLOpt.MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS:
/// return MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS
}
}
#else
Expand Down

0 comments on commit c061abd

Please sign in to comment.