10bet网址
MySQL连接器/ Node.js发行说明
下载这些发行说明

MySQL连接器/ Node.js发行说明/MySQL连接器/ node.js 8.0的更改/ mysql连接器/ node.js 8.0.14(2019-01-21,普通可用性)的更改

MySQL Connector / Node.js 8.0.14(2019-01-21,普通可用性)的更改

功能添加或更改

  • 从count()方法中删除了弃额通知。

  • 通过连接设置默认架构现在在服务器上设置默认架构;含义,使用session.sql()执行的后续查询无需指定架构。

错误固定

  • Setting the default schema with the connection URI using a schema name that contained special characters (that would need to be percent-encoded) would result in the percent-encoded name being used instead of the original one (e.g. "%25%26%5E*%5E_" instead of "%&^*^_"). (Bug #28990682)

  • 如果SSLOPTION的“CA”与用于签署服务器证书的证书颁发机构或已撤消服务器证书,则会再次抛出错误。(bug#28977649)

  • 尝试使用错误的值,例如0,false,null,并且在表中更新或插入表中的行中的文档时会发出错误。此外,现在布尔值为数值(true = 1,false = 0),而null和未定义将转换为mysql的null类型。(bug#28970727,bug#93315)

  • collection.existrindatabase()如果数据库中存在任何其他集合,则始终返回true。(bug#28745240)

  • 配置从连接字符串中的默认架构将创建架构如果它不存在。现在,抛出“未知数据库”错误。

  • 意外的通知可能导致客户意外停止。