Imported Upstream version 5.14.0.177

Former-commit-id: cd6e5f34ec073696187c7c38880523de2bac91d5
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-08-04 08:15:03 +00:00
parent c409caf063
commit 0a9828183b
35 changed files with 32 additions and 32 deletions

View File

@@ -804,7 +804,7 @@ namespace Mono.Data.Sqlite
int enc;
IntPtr p = UnsafeNativeMethods.sqlite3_context_collseq(context, out type, out enc, out len);
if (p != null) seq.Name = UTF8ToString(p, len);
if (p != IntPtr.Zero) seq.Name = UTF8ToString(p, len);
seq.Type = (CollationTypeEnum)type;
seq._func = func;
seq.Encoding = (CollationEncodingEnum)enc;