jhthorsen / mojo-mysql

Mojolicious and Async MySQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mojo::mysql::Results::_expand() issues warnings on NULL columns.

augensalat opened this issue · comments

For a table that contains columns with NULL values a Perl warnings is issued when $results->expand(!0):

Use of uninitialized value $_ in pattern match (m//) at /deps/local/lib/perl5/Mojo/mysql/Results.pm line 85.

The reason this took so long is that the issue had no description on how to reproduce the issue.

This is however fixed now, since I found some spare time to investigate further.