projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Wrap DBI->connnect and ->sth calls in eval to properly throw an exception.
[dbsrgits/DBIx-Class-Historic.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
mysql.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/mysql.pm
b/lib/DBIx/Class/Storage/DBI/mysql.pm
index
dcd124f
..
8c14b1b
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/mysql.pm
+++ b/
lib/DBIx/Class/Storage/DBI/mysql.pm
@@
-11,9
+11,13
@@
sub last_insert_id {
return $_[0]->_dbh->{mysql_insertid};
}
+sub sqlt_type {
+ return 'MySQL';
+}
+
1;
-=head1 NAME
+=head1 NAME
DBIx::Class::Storage::DBI::mysql - Automatic primary key class for MySQL