[perl5-dbi/dbi] 489e67: allow special table classes in meta

Jens Rehsack <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <5548b48849057_3bef3f8cbbc8b2c063954@hookshot-fe4-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/perl5-dbi/dbi
  Commit: 489e67f58750c7b8b809f90d862ac5b35a00bed8
      https://github.com/perl5-dbi/dbi/commit/489e67f58750c7b8b809f90d862ac5b35a00bed8
  Author: Jens Rehsack <[email protected]>
  Date:   2015-03-23 (Mon, 23 Mar 2015)

  Changed paths:
    M lib/DBI/DBD/SqlEngine.pm

  Log Message:
  -----------
  allow special table classes in meta

This has two use-cases:
1) See dbi-dev@ mail from 2015/01/27 - "Table Capabilities / Data Access API"
2) Allow one $dbh (e.g. a DBD::CSV) can deal with tables from another $dbh
   (e.g. a DBD::DBM) by copying the meta using new_sql_engine_meta and adding
   the table class to use (undocumented until we found a sane test case)


  Commit: db550269e8f1017261af64ef2e64a5f664e9d217
      https://github.com/perl5-dbi/dbi/commit/db550269e8f1017261af64ef2e64a5f664e9d217
  Author: Jens Rehsack <[email protected]>
  Date:   2015-04-13 (Mon, 13 Apr 2015)

  Changed paths:
    M lib/DBI/DBD/SqlEngine.pm
    A t/53sqlengine_adv.t

  Log Message:
  -----------
  add a test-case showing PoC of new_sql_engine_meta

This adds a final fix and a test showing how to mix between different backends of DBI::DBD::SqlEngine


Compare: https://github.com/perl5-dbi/dbi/compare/71dc73bf6cdd...db550269e8f1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.