[Koha-bugs] [Bug 14778] DBIC should create/own the DB handler

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 20 17:12:36 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14778

--- Comment #44 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Note about DBIx::Class warnings:

These changes will raise warnings:

DBIx::Class::Storage::DBI::_warn_undetermined_driver(): This version of DBIC
does not yet seem to supply a driver for your particular RDBMS and/or
connection method ('Mock'). While we will attempt to continue anyway, the
results are likely to be underwhelming. Please upgrade DBIC, and if this
message does not go away, file a bugreport including the following info:
{
  DBD => "DBD::Mock",
  DBD_VER => "1.45",
  DBIC_DRIVER => "DBIx::Class::Storage::DBI",
  DBIC_DSN => "DBI:Mock:",
  DBIC_VER => "0.082820",
  DBI_VER => "1.631"
}

They can be hidden creating a package DBIx::Class::Storage::DBI::Mock (in
/usr/share/perl5/DBIx/Class/Storage/DBI/Mock.pm for instance):
===
package DBIx::Class::Storage::DBI::Mock;
use base DBIx::Class::Storage::DBI;
1;
===

We will still get:
DBIx::Class::Storage::DBI::sql_maker(): Your storage class
(DBIx::Class::Storage::DBI::Mock) does not set sql_limit_dialect and you have
not supplied an explicit limit_dialect in your connection_info. DBIC will
attempt to use the GenericSubQ dialect, which works on most databases but can
be (and often is) painfully slow. Please file an RT ticket against
'DBIx::Class::Storage::DBI::Mock'

This could be fixed later with deeper examinations.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list