Skip to content

Commit

Permalink
backport mono#9800 to 2018-06
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo authored and marek-safar committed Aug 3, 2018
1 parent e59ebf5 commit 093c0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLite3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ internal override CollationSequence GetCollationSequence(SqliteFunction func, In
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;
Expand Down

0 comments on commit 093c0dc

Please sign in to comment.