[Bps-public-commit] dbix-searchbuilder branch, master, updated. 1.59-34-gfe26ba2

Ruslan Zakirov ruz at bestpractical.com
Fri May 27 19:51:51 EDT 2011


The branch, master has been updated
       via  fe26ba2a075b846db8b79348e02b4928327e1ade (commit)
       via  d3f071a42d7fd1392fe6c9b9ec2e1960f5fb4e7a (commit)
       via  5bdddea48ec055d83d614a7a0057fd94230b14c5 (commit)
       via  36a30ccb020bd5868b1a9b8b08ff95eca7f89583 (commit)
      from  5e8b189eecf10141fb573ca43decb5dadcf4b91e (commit)

Summary of changes:
 lib/DBIx/SearchBuilder.pm |    8 ++++++++
 t/01searches.t            |   30 +++++++++++++++++++++++++++++-
 t/03compatibility.t       |    8 ++------
 3 files changed, 39 insertions(+), 7 deletions(-)

- Log -----------------------------------------------------------------
commit d3f071a42d7fd1392fe6c9b9ec2e1960f5fb4e7a
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Sat May 28 03:45:27 2011 +0400

    use ' as quote char in tests for all DBs

diff --git a/t/03compatibility.t b/t/03compatibility.t
index 0ed7124..14eb382 100644
--- a/t/03compatibility.t
+++ b/t/03compatibility.t
@@ -12,11 +12,7 @@ use constant TESTS_PER_DRIVER => 2;
 my $total = scalar(@AvailableDrivers) * TESTS_PER_DRIVER;
 plan tests => $total;
 
-my %QUOTE_CHAR = (
-    Pg => "'",
-    mysql => "'",
-    SQLite => "'",
-);
+my %QUOTE_CHAR = ();
 
 foreach my $d ( @AvailableDrivers ) {
 SKIP: {
@@ -30,7 +26,7 @@ SKIP: {
 
     my $dbh = $handle->dbh;
 
-    my $q = $QUOTE_CHAR{$d};
+    my $q = $QUOTE_CHAR{$d} || "'";
 
     # was problem in DBD::Pg, fixed in 1.40 back in 2005
     is( $dbh->quote("\x{420}"), "$q\x{420}$q", "->quote don't clobber UTF-8 flag");

commit fe26ba2a075b846db8b79348e02b4928327e1ade
Merge: d3f071a 5bdddea
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Sat May 28 03:51:18 2011 +0400

    Merge branch 'same-column-twice'


-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list