Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix a bug in native string conversions in Mysql example
  • Loading branch information
NotFound committed Jul 14, 2011
1 parent ee44522 commit 6108d36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/Mysql.winxed
Expand Up @@ -102,6 +102,8 @@ function get_encoding_func()
if (found != null) {
return function(p, string encoding[optional])
{
if (encoding == null)
encoding = 'ascii';
var interp = getinterp();
var find_encoding = dlfunc(null, 'Parrot_find_encoding', 'ppp');
var pencoding = str_to_cstring(encoding);
Expand Down

0 comments on commit 6108d36

Please sign in to comment.