Ticket #12871: Perl_bindings-set_sql_mode.patch
File Perl_bindings-set_sql_mode.patch, 545 bytes (added by , 7 years ago) |
---|
-
bindings/perl/MythTV.
old new 372 372 $self->{'db_user'}, 373 373 $self->{'db_pass'}) 374 374 or die "Cannot connect to database: $!\n\n"; 375 $self->{'dbh'}->do("SET SESSION sql_mode = ''") 376 or die "Can't set sql_mode: $!\n\n"; 375 377 $self->{'dbh'}->do("SET time_zone = 'Etc/UTC'") 376 378 or die "Can't set timezone: $!\n\n"; 377 379