[SCM] Debian packaging of librose-db-perl branch, master, updated. 93ef96723b4e43d3e8b95d00ba2488659c7176d1
Nicholas Bamber
nicholas at periapt.co.uk
Wed Jan 4 23:31:40 UTC 2012
The following commit has been merged in the master branch:
commit 0cc7e0dd8437e990ae1732c6003392fd1e968327
Merge: 44de321036809b10bf444f49d45f5f3e02868237 6d026cac3a069b61ac971d731f579c67474ea557
Author: Nicholas Bamber <nicholas at periapt.co.uk>
Date: Wed Jan 4 23:17:59 2012 +0000
Merge commit 'upstream/0.765'
diff --combined lib/Rose/DB/MySQL.pm
index e24e66d,057cb3e..057cb3e
mode 100644,100755..100644
--- a/lib/Rose/DB/MySQL.pm
+++ b/lib/Rose/DB/MySQL.pm
@@@ -15,7 -15,7 +15,7 @@@ TRY
use Rose::DB;
- our $VERSION = '0.762';
+ our $VERSION = '0.765';
our $Debug = 0;
@@@ -73,6 -73,7 +73,7 @@@ sub mysql_ssl_cipher { shift->d
sub mysql_ssl_client_cert { shift->dbh_attribute('mysql_ssl_client_cert', @_) }
sub mysql_ssl_client_key { shift->dbh_attribute('mysql_ssl_client_key', @_) }
sub mysql_use_result { shift->dbh_attribute_boolean('mysql_use_result', @_) }
+ sub mysql_bind_type_guessing { shift->dbh_attribute_boolean('mysql_bind_type_guessing', @_) }
sub mysql_enable_utf8
{
@@@ -614,6 -615,14 +615,14 @@@ Returns the value of this attribute in
See the L<DBD::mysql|DBD::mysql/mysql_auto_reconnect> documentation to learn more about this attribute.
+ =item B<mysql_bind_type_guessing [BOOL]>
+
+ Get or set the L<mysql_bind_type_guessing|DBD::mysql/mysql_bind_type_guessing> database handle attribute. This is set directly on the L<dbh|Rose::DB/dbh>, if one exists. Otherwise, it will be set when the L<dbh|Rose::DB/dbh> is created. If no value for this attribute is defined (the default) then it will not be set when the L<dbh|Rose::DB/dbh> is created, deferring instead to whatever default value L<DBD::mysql> chooses.
+
+ Returns the value of this attribute in the L<dbh|Rose::DB/dbh>, if one exists, or the value that will be set when the L<dbh|Rose::DB/dbh> is next created.
+
+ See the L<DBD::mysql|DBD::mysql/mysql_bind_type_guessing> documentation to learn more about this attribute.
+
=item B<mysql_client_found_rows [BOOL]>
Get or set the L<mysql_client_found_rows|DBD::mysql/mysql_client_found_rows> database handle attribute. This is set directly on the L<dbh|Rose::DB/dbh>, if one exists. Otherwise, it will be set when the L<dbh|Rose::DB/dbh> is created. If no value for this attribute is defined (the default) then it will not be set when the L<dbh|Rose::DB/dbh> is created, deferring instead to whatever default value L<DBD::mysql> chooses.
diff --combined lib/Rose/DB/SQLite.pm
index 9526cb8,e5941c2..e5941c2
mode 100644,100755..100644
--- a/lib/Rose/DB/SQLite.pm
+++ b/lib/Rose/DB/SQLite.pm
@@@ -7,7 -7,7 +7,7 @@@ use Carp()
use Rose::DB;
use SQL::ReservedWords::SQLite();
- our $VERSION = '0.759';
+ our $VERSION = '0.765';
#our $Debug = 0;
@@@ -37,6 -37,8 +37,8 @@@ sub build_ds
sub dbi_driver { 'SQLite' }
+ sub sqlite_unicode { shift->dbh_attribute_boolean('sqlite_unicode', @_) }
+
sub init_dbh
{
my($self) = shift;
@@@ -582,6 -584,10 +584,10 @@@ Get or set a boolean value indicating w
If false, and if the specified L<database|Rose::DB/database> does not exist, then a fatal error will occur when an attempt is made to L<connect|Rose::DB/connect> to the database.
+ =item B<sqlite_unicode [BOOL]>
+
+ Get or set a boolean value that indicates whether or not Perl's UTF-8 flag will be set for all text strings coming out of the database. See the L<DBD::SQLite|DBD::SQLite/sqlite_unicode> documentation for more information.
+
=back
=head2 Value Parsing and Formatting
--
Debian packaging of librose-db-perl
More information about the Pkg-perl-cvs-commits
mailing list