[svn:dbi] r14994 - dbi/trunk/ex

[email protected] Thu, 10 Nov 2011 09:22:34 -0800 (PST)
Newsgroups perl.dbi.changes
Message-ID <[email protected]>
Author: hmbrand
Date: Thu Nov 10 09:22:34 2011
New Revision: 14994

Modified:
   dbi/trunk/ex/unicode_test.pl

Log:
one quote -> quote_identifier to many

Modified: dbi/trunk/ex/unicode_test.pl
==============================================================================
--- dbi/trunk/ex/unicode_test.pl	(original)
+++ dbi/trunk/ex/unicode_test.pl	Thu Nov 10 09:22:34 2011
@@ -358,7 +358,7 @@
     $r = $s->fetchall_arrayref;
     is(scalar(@$r), 1, 'select unicode data via parameterised where');
 
-    $s = $h->prepare(qq/select $column from $table where $column = / . $h->quote_identifier($unicode_sample));
+    $s = $h->prepare(qq/select $column from $table where $column = / . $h->quote($unicode_sample));
     $s->execute;
     $r = $s->fetchall_arrayref;
     is(scalar(@$r), 1, 'select unicode data via inline where');