File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- lastmod : 2020-07-01
2
+ lastmod : 2020-07-20
3
3
date : 2017-03-27
4
4
menu :
5
5
main :
@@ -25,6 +25,11 @@ weight: 30
25
25
* Allow rows larger than 1 MiB in ` MySqlBulkCopy ` : [ #834 ] ( https://github.com/mysql-net/MySqlConnector/issues/834 ) .
26
26
* Reduce memory allocations when hashing passwords (during login).
27
27
28
+ ### 0.69.8
29
+
30
+ * Fix ` MySqlBulkLoader ` with Azure Database for MySQL/MariaDB: [ #853 ] ( https://github.com/mysql-net/MySqlConnector/issues/853 ) .
31
+ * Make schema collection names (for ` MySqlConnection.GetSchema(collectionName) ` ) case-insensitive: [ #852 ] ( https://github.com/mysql-net/MySqlConnector/issues/852 ) .
32
+
28
33
### 0.69.7
29
34
30
35
* Support ` ENUM ` columns that use the ` MYSQL_TYPE_ENUM ` type in their column metadata: [ #850 ] ( https://github.com/mysql-net/MySqlConnector/issues/850 ) .
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ internal sealed class SchemaProvider
16
16
public SchemaProvider ( MySqlConnection connection )
17
17
{
18
18
m_connection = connection ;
19
- m_schemaCollections = new ( )
19
+ m_schemaCollections = new ( StringComparer . OrdinalIgnoreCase )
20
20
{
21
21
{ "DataSourceInformation" , FillDataSourceInformation } ,
22
22
{ "MetaDataCollections" , FillMetadataCollections } ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ private static ByteBufferWriter CreateCapabilitiesPayload(ProtocolCapabilities s
20
20
( serverCapabilities & ProtocolCapabilities . PluginAuthLengthEncodedClientData ) |
21
21
ProtocolCapabilities . MultiStatements |
22
22
ProtocolCapabilities . MultiResults |
23
- ( cs . AllowLoadLocalInfile ? ( serverCapabilities & ProtocolCapabilities . LocalFiles ) : 0 ) |
23
+ ( cs . AllowLoadLocalInfile ? ProtocolCapabilities . LocalFiles : 0 ) |
24
24
( string . IsNullOrWhiteSpace ( cs . Database ) ? 0 : ProtocolCapabilities . ConnectWithDatabase ) |
25
25
( cs . UseAffectedRows ? 0 : ProtocolCapabilities . FoundRows ) |
26
26
( useCompression ? ProtocolCapabilities . Compress : ProtocolCapabilities . None ) |
Original file line number Diff line number Diff line change @@ -28,10 +28,13 @@ public void GetDataSourceInformationSchemaCollection()
28
28
Assert . Equal ( m_database . Connection . ServerVersion , dataTable . Rows [ 0 ] [ "DataSourceProductVersion" ] ) ;
29
29
}
30
30
31
- [ Fact ]
32
- public void ReservedWordsSchema ( )
31
+ [ Theory ]
32
+ [ InlineData ( "ReservedWords" ) ]
33
+ [ InlineData ( "RESERVEDWORDS" ) ]
34
+ [ InlineData ( "reservedwords" ) ]
35
+ public void ReservedWordsSchema ( string schemaName )
33
36
{
34
- var table = m_database . Connection . GetSchema ( "ReservedWords" ) ;
37
+ var table = m_database . Connection . GetSchema ( schemaName ) ;
35
38
Assert . NotNull ( table ) ;
36
39
Assert . Single ( table . Columns ) ;
37
40
Assert . Equal ( "ReservedWord" , table . Columns [ 0 ] . ColumnName ) ;
You can’t perform that action at this time.
0 commit comments